diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2013-08-08 07:32:27 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-08-12 09:31:12 -0400 |
commit | 326f59bf645ea6c99709c67d9712df46019fa7a8 (patch) | |
tree | 462e4956f64ce38fb123bf253c6da35c2f21dddb /tools/perf/builtin-script.c | |
parent | 61710bdee324aab1c148c8573ee49cea59d05874 (diff) |
perf tools: Remove filter parameter of thread__find_addr_map()
Now that the symbol filter is recorded on the machine there is no need
to pass it to thread__find_addr_map(). So remove it.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1375961547-30267-9-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r-- | tools/perf/builtin-script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index a7d623f39c46..2ad9d5b6fb3c 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
@@ -361,10 +361,10 @@ static void print_sample_addr(union perf_event *event, | |||
361 | return; | 361 | return; |
362 | 362 | ||
363 | thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, | 363 | thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, |
364 | sample->addr, &al, NULL); | 364 | sample->addr, &al); |
365 | if (!al.map) | 365 | if (!al.map) |
366 | thread__find_addr_map(thread, machine, cpumode, MAP__VARIABLE, | 366 | thread__find_addr_map(thread, machine, cpumode, MAP__VARIABLE, |
367 | sample->addr, &al, NULL); | 367 | sample->addr, &al); |
368 | 368 | ||
369 | al.cpu = sample->cpu; | 369 | al.cpu = sample->cpu; |
370 | al.sym = NULL; | 370 | al.sym = NULL; |