perf: Make -f the default for perf record
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 14 Apr 2010 17:42:07 +0000 (19:42 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Thu, 15 Apr 2010 02:12:51 +0000 (04:12 +0200)
commit7865e817e9b4b378ac57ab7f16183100b95466ce
treeb3fd7772abc44491b884b780f5cac364a2ace563
parenta1e2f60e3efc812bf66a2be0d8530ee175003f6d
perf: Make -f the default for perf record

Force the overwriting mode by default if append mode is not explicit.
Adding -f every time one uses perf on a daily basis quickly becomes a
burden.

Keep the -f among the options though to avoid breaking some random
users scripts.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
tools/perf/Documentation/perf-record.txt
tools/perf/builtin-record.c