Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1363969 > unrolled thread

[tip:perf/urgent] perf tests: Forward the perf_sample in the dwarf unwind test

Started bytip-bot for Arnaldo Carvalho de Melo <tipbot@zytor.com>
First post2016-03-24 08:40 +0100
Last post2016-03-24 08:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [tip:perf/urgent] perf tests: Forward the perf_sample in the dwarf  unwind test tip-bot for Arnaldo Carvalho de Melo <tipbot@zytor.com> - 2016-03-24 08:40 +0100

#1363969 — [tip:perf/urgent] perf tests: Forward the perf_sample in the dwarf unwind test

Fromtip-bot for Arnaldo Carvalho de Melo <tipbot@zytor.com>
Date2016-03-24 08:40 +0100
Subject[tip:perf/urgent] perf tests: Forward the perf_sample in the dwarf unwind test
Message-ID<rg826-7Ko-9@gated-at.bofh.it>
Commit-ID:  eb9f03231b7a27999abe22d3c5f71700338630c6
Gitweb:     http://git.kernel.org/tip/eb9f03231b7a27999abe22d3c5f71700338630c6
Author:     Arnaldo Carvalho de Melo <acme@redhat.com>
AuthorDate: Tue, 22 Mar 2016 19:00:43 -0300
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Wed, 23 Mar 2016 12:03:07 -0300

perf tests: Forward the perf_sample in the dwarf unwind test

It _will_ be used, no sense in receiving it and nor fowarding it along.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Cc: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-ht8v5et209wuoh5o6nh9pzyq@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/tests/dwarf-unwind.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/tests/dwarf-unwind.c b/tools/perf/tests/dwarf-unwind.c
index 1c5c022..8f6eb85 100644
--- a/tools/perf/tests/dwarf-unwind.c
+++ b/tools/perf/tests/dwarf-unwind.c
@@ -20,10 +20,10 @@
 
 static int mmap_handler(struct perf_tool *tool __maybe_unused,
 			union perf_event *event,
-			struct perf_sample *sample __maybe_unused,
+			struct perf_sample *sample,
 			struct machine *machine)
 {
-	return machine__process_mmap2_event(machine, event, NULL);
+	return machine__process_mmap2_event(machine, event, sample);
 }
 
 static int init_live_machine(struct machine *machine)

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web