perf record: Rename perf.data to perf.data.old if --force/-f is used
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 14 Dec 2009 22:09:30 +0000 (20:09 -0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 15 Dec 2009 07:50:29 +0000 (08:50 +0100)
commitb38d34645cc52136b6c99623fef7ded26742e573
treec395ed3bcda85d49f5a842f91ccca2d33a1efa5c
parentc8829c7a31c7e0156b230fa8d5a14be9881d7677
perf record: Rename perf.data to perf.data.old if --force/-f is used

Suggested-by: Steven Rostedt <rostedt@goodmis.org>
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: <1260828571-3613-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c