aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2013-07-03 15:08:23 -0700
committerLinus Torvalds <[email protected]>2013-07-03 16:08:02 -0700
commit888ffc5923e4343a78575918ab781e85fa22d244 (patch)
treef90eb6f4266d1450bf23bfe45b5c322cbb38710a /tools/perf/scripts/python
parent3ceadcf6d489650ade673b7197c11c521aecb038 (diff)
coredump: '% at the end' shouldn't bypass core_uses_pid logic
"goto end" should not bypass the "Backward compatibility with core_uses_pid" code, move this label up. While at it, - It is ugly to copy '|' into cn->corename and then inc the pointer for argv_split(). Change format_corename() to increment pat_ptr instead. - Remove the dead "if (*pat_ptr == 0)" in format_corename(), we already checked it is not zero. Signed-off-by: Oleg Nesterov <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Colin Walters <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: Lennart Poettering <[email protected]> Cc: Lucas De Marchi <[email protected]> Acked-by: Neil Horman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions