aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2019-10-24 18:12:45 +0900
committerArnaldo Carvalho de Melo <[email protected]>2019-11-06 15:43:06 -0300
commitacb6a7047ac2146b723fef69ee1ab6b7143546bf (patch)
treeae1966257ce06171c08ed05bbaecb720b8180847 /net/lapb/lapb_iface.c
parentb77afa1f810f37bd8a36cb1318178dfe2d7af6b6 (diff)
perf probe: Walk function lines in lexical blocks
Since some inlined functions are in lexical blocks of given function, we have to recursively walk through the DIE tree. Without this fix, perf-probe -L can miss the inlined functions which is in a lexical block (like if (..) { func() } case.) However, even though, to walk the lines in a given function, we don't need to follow the children DIE of inlined functions because those do not have any lines in the specified function. We need to walk though whole trees only if we walk all lines in a given file, because an inlined function can include another inlined function in the same file. Fixes: b0e9cb2802d4 ("perf probe: Fix to search nested inlined functions in CU") Signed-off-by: Masami Hiramatsu <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: http://lore.kernel.org/lkml/157190836514.1859.15996864849678136353.stgit@devnote2 Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions