aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorDon Zickus <[email protected]>2014-02-26 03:43:45 +0000
committerArnaldo Carvalho de Melo <[email protected]>2014-03-10 14:19:36 +0000
commitfdf57dd052d5cbd415533ae98f4d423286a85220 (patch)
tree5f336f09ade55c6c0caf445619396775df7b4570 /fs/jbd2/commit.c
parentperf symbols: Fix crash in elf_section_by_name (diff)
downloadkernel-fdf57dd052d5cbd415533ae98f4d423286a85220.tar.gz
kernel-fdf57dd052d5cbd415533ae98f4d423286a85220.zip
perf machine: Use map as success in ip__resolve_ams
When trying to map a bunch of instruction addresses to their respective threads, I kept getting a lot of bogus entries [I forget the exact reason as I patched my code months ago]. Looking through ip__resolve_ams, I noticed the check for if (al.sym) and realized, most times I have an al.map definition but sometimes an al.sym is undefined. In the cases where al.sym is undefined, the loop keeps going even though a valid al.map exists. Modify this check to use the more reliable al.map. This fixed my bogus entries. Signed-off-by: Don Zickus <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions