aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2014-04-01 13:47:57 +0900
committerJiri Olsa <[email protected]>2014-04-14 12:55:39 +0200
commit202c7c123c96a1c193149b7fa2718d7fb143efb2 (patch)
treecb851ce23ae95871a5f3601f80cf1bd67cae7dfe /tools/perf/util/trace-event-scripting.c
parent2c529e4e6aab405aa52e8627cbd691ed28b56a0b (diff)
perf probe: Fix --line option behavior
The commit 5a62257a3ddd1 ("perf probe: Replace line_list with intlist") replaced line_list to intlist but it has a problem that if a same line was added again, it'd return -EEXIST rather than 1. Since line_range_walk_cb() only checks the result being negative, it resulted in failure or segfault sometimes. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Cc: Masami Hiramatsu <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jiri Olsa <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions