Re: [PATCH 1/2] perf test: Silence tracepoint event failures

From: David Ahern
Date: Mon Oct 19 2015 - 12:08:49 EST


On 10/19/15 9:23 AM, Namhyung Kim wrote:
Currently, when perf test is run by a normal user, it'll fail to access
tracepoint events. However the output is somewhat messy since it tries
to be nice with long error messages and hints. IMHO it's not needed
for 'perf test' by default and AFAIK the perf test uses pr_debug()
rather than pr_err() for such messages so that one can use -v option to
see further details on failed testcases if needed.

-----8<-----

Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
---
tools/perf/tests/openat-syscall-all-cpus.c | 2 +-
tools/perf/tests/openat-syscall-tp-fields.c | 2 +-
tools/perf/tests/openat-syscall.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)


Acked-by: David Ahern <dsahern@xxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/