summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-lock.c
diff options
context:
space:
mode:
authorStephane Eranian <eranian@google.com>2010-04-21 18:06:01 +0200
committerFrederic Weisbecker <fweisbec@gmail.com>2010-04-24 03:24:09 +0200
commit5710fcad7c367adefe5634dc998f1f88780a8457 (patch)
tree43b0658fa9eacad178bbcbd57705b70e9fbd0951 /tools/perf/builtin-lock.c
parente4cef1f65061429c3e8b356233e87dc6653a9da5 (diff)
perf: Fix initialization bug in parse_single_tracepoint_event()
The parse_single_tracepoint_event() was setting some attributes before it validated the event was indeed a tracepoint event. This caused problems with other initialization routines like in the builtin-top.c module whereby sample_period is not set if not 0. Signed-off-by: Stephane Eranian <eranian@google.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu> LKML-Reference: <4bcf232b.698fd80a.6fbe.ffffb737@mx.google.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'tools/perf/builtin-lock.c')
0 files changed, 0 insertions, 0 deletions