perf record: Add missing -C option support for specifying profile cpu
authorJens Axboe <jens.axboe@oracle.com>
Wed, 12 Aug 2009 09:18:01 +0000 (11:18 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 12 Aug 2009 12:10:51 +0000 (14:10 +0200)
commit0a5ac84650fb7a7f226814103d95724e34b012ae
tree8fb0ec43e619a8aca91791d113663e68f220d30a
parent1340e6bbaff7ff7f6f75eb4a5c34933efce84a84
perf record: Add missing -C option support for specifying profile cpu

perf top supports a -C for setting the profile CPU, but perf
record does not. This adds the same option for perf record,
allowing the user to specify a specific target profile CPU.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20090812091801.GC12579@kernel.dk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c