-
- Downloads
perf session: Remove sample_type_check from event_ops
This is really something tools need to do before asking for the events to be processed, leaving perf_session__process_events to do just that, process events. Also add a msg parameter to perf_session__has_traces() so that the right message can be printed, fixing a regression added by me in the previous cset (right timechart message) and also fixing 'perf kmem', that was not asking if 'perf kmem record' was ran. Signed-off-by:Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1261957026-15580-6-git-send-email-acme@infradead.org> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- tools/perf/builtin-kmem.c 4 additions, 2 deletionstools/perf/builtin-kmem.c
- tools/perf/builtin-report.c 9 additions, 7 deletionstools/perf/builtin-report.c
- tools/perf/builtin-sched.c 4 additions, 3 deletionstools/perf/builtin-sched.c
- tools/perf/builtin-timechart.c 4 additions, 2 deletionstools/perf/builtin-timechart.c
- tools/perf/builtin-trace.c 3 additions, 1 deletiontools/perf/builtin-trace.c
- tools/perf/util/session.c 6 additions, 10 deletionstools/perf/util/session.c
- tools/perf/util/session.h 1 addition, 2 deletionstools/perf/util/session.h
Loading
Please register or sign in to comment