]> Git Repo - linux.git/commit - tools/perf/builtin-trace.c
perf session: Remove sample_type_check from event_ops
authorArnaldo Carvalho de Melo <[email protected]>
Sun, 27 Dec 2009 23:37:02 +0000 (21:37 -0200)
committerIngo Molnar <[email protected]>
Mon, 28 Dec 2009 08:03:34 +0000 (09:03 +0100)
commitd549c7690190d9739005e19604faad6da4b802ac
tree1a03376ecc41ecd9495298ed3ad34f72da7ecea0
parent27295592c22e71bbd38110c302da8dbb43912a60
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 <[email protected]>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
LKML-Reference: <1261957026[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
tools/perf/builtin-kmem.c
tools/perf/builtin-report.c
tools/perf/builtin-sched.c
tools/perf/builtin-timechart.c
tools/perf/builtin-trace.c
tools/perf/util/session.c
tools/perf/util/session.h
This page took 0.058365 seconds and 4 git commands to generate.