perf test: Clarify some error reports in the open syscall test
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Jan 2011 12:40:08 +0000 (10:40 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Jan 2011 16:52:01 +0000 (14:52 -0200)
commit454a3bbe9b75eb8cbddffcf383fbb8e97ea78f52
treed10cbe4a83a625908abf35581922b8ed3d6df2eb
parent74d91e3c6a66359bb754fb5d8a5b54fb6ba2f9a6
perf test: Clarify some error reports in the open syscall test

Rebooted my devel machine, first thing I ran was perf test, that expects
debugfs to be mounted, test fails. Be more clear about it.

Also add missing newlines and add more informative message when
sys_perf_event_open fails.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-test.c