mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
perf evsel: Remove need for symbol_conf in evsel_fprintf.c
So that we an later link it to the python binding without having to drag the symbol object files. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-8823tveyasocnuoelq4qopwf@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
32ff3fec07
commit
9620bc361a
5 changed files with 16 additions and 15 deletions
|
@ -1325,7 +1325,8 @@ static int perf_sample__fprintf_bts(struct perf_sample *sample,
|
|||
} else
|
||||
printed += fprintf(fp, "\n");
|
||||
|
||||
printed += sample__fprintf_sym(sample, al, 0, print_opts, cursor, fp);
|
||||
printed += sample__fprintf_sym(sample, al, 0, print_opts, cursor,
|
||||
symbol_conf.bt_stop_list, fp);
|
||||
}
|
||||
|
||||
/* print branch_to information */
|
||||
|
@ -1867,7 +1868,8 @@ static void process_event(struct perf_script *script,
|
|||
cursor = &callchain_cursor;
|
||||
|
||||
fputc(cursor ? '\n' : ' ', fp);
|
||||
sample__fprintf_sym(sample, al, 0, output[type].print_ip_opts, cursor, fp);
|
||||
sample__fprintf_sym(sample, al, 0, output[type].print_ip_opts, cursor,
|
||||
symbol_conf.bt_stop_list, fp);
|
||||
}
|
||||
|
||||
if (PRINT_FIELD(IREGS))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue