mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
perf probe: Fix need_dwarf flag if lazy matching is used
Set need_dwarf if lazy matching pattern is specified, because lazy matching requires real source path for which we must use debuginfo. Signed-off-by: Masami Hiramatsu <[email protected]> Cc: systemtap <[email protected]> Cc: DLE <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
594087a04e
commit
fc6ceea045
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ void parse_perf_probe_event(const char *str, struct probe_point *pp,
|
|||
|
||||
/* Parse probe point */
|
||||
parse_perf_probe_probepoint(argv[0], pp);
|
||||
if (pp->file || pp->line)
|
||||
if (pp->file || pp->line || pp->lazy_line)
|
||||
*need_dwarf = true;
|
||||
|
||||
/* Copy arguments and ensure return probe has no C argument */
|
||||
|
|
|
|||
Loading…
Reference in a new issue