summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2016-04-11 13:18:11 (GMT)
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-04-12 01:18:14 (GMT)
commit6186de9a491af030889b372193fc9f38c248e69a (patch)
treec747688cdb6e840ff65ecb582d217c273b33b952 /tools/perf/builtin-script.c
parent72c0809856b9174e71eab4e293089f6a114e0d41 (diff)
downloadlinux-6186de9a491af030889b372193fc9f38c248e69a.tar.xz
perf evsel: Allow specifying a file to output in perf_evsel__print_ip
As this function will be used in 'perf trace'. Cc: Jiri Olsa <jolsa@kernel.org> Link: http://lkml.kernel.org/n/tip-8x297v9utnxq77onikevvlse@git.kernel.org [ Split from a larger patch ] Signed-off-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r--tools/perf/builtin-script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
index 8f6ab2a..dbf208f 100644
--- a/tools/perf/builtin-script.c
+++ b/tools/perf/builtin-script.c
@@ -580,7 +580,7 @@ static void print_sample_bts(struct perf_sample *sample,
}
}
perf_evsel__print_ip(evsel, sample, al, print_opts,
- scripting_max_stack);
+ scripting_max_stack, stdout);
}
/* print branch_to information */
@@ -790,7 +790,7 @@ static void process_event(struct perf_script *script,
perf_evsel__print_ip(evsel, sample, al,
output[attr->type].print_ip_opts,
- scripting_max_stack);
+ scripting_max_stack, stdout);
}
if (PRINT_FIELD(IREGS))