perf record: Don't exit in live mode when no tracepoints are enabled
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 2 May 2010 16:37:24 +0000 (13:37 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 2 May 2010 16:37:24 +0000 (13:37 -0300)
commit2c9faa060064343a4a0b16f5b77f3c61d1d17e23
treea777f00991bca2a82fc2dcff3f7335890fd0abc2
parent454c407ec17a0c63e4023ac0877d687945a7df4a
perf record: Don't exit in live mode when no tracepoints are enabled

With this I was able to actually test Tom Zanussi's two previous patches
in my usual perf testing ways, i.e. without any tracepoints activated.

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c