perf util: Add more debug message on failure path
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 18 Apr 2013 12:24:16 +0000 (21:24 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Jan 2017 14:43:00 +0000 (11:43 -0300)
commita7619aef6dca913d830675dd914ca6fe7241a730
tree2490aac9e21e07197f2ce79a2be45d6b33148f5d
parentcd4ceb63438e9e28299f4352ae7b75d2967a772d
perf util: Add more debug message on failure path

It's helpful for debugging on tracing features.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Tested-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jeremy Eder <jeder@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>,
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/n/tip-rjysr9ljiesymgk4qblteaty@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/header.c
tools/perf/util/trace-event-read.c