aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2010-04-21 02:01:05 +0200
committerIngo Molnar <[email protected]>2010-04-21 09:39:52 +0200
commit6eca8cc35b50af1037bc919106dd6dd332c959c2 (patch)
tree1f6faa855d1ed0f344562fc59c6c3c745fcb8c5d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentdcf46b9443ad48a227a61713adea001228925adf (diff)
perf: Fix perf probe build error
When we run into dry run mode, we want to make write_kprobe_trace_event to succeed on writing the event. Let's initialize it to 0. Fixes the following build error: util/probe-event.c:1266: attention : «ret» may be used uninitialized in this function util/probe-event.c:1266: note: «ret» was declared here Signed-off-by: Frederic Weisbecker <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions