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>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
72c0809856
commit
6186de9a49
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user