summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browser.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2013-01-24 22:34:33 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-01-25 12:49:29 -0300
commit2caa48a24061b1f8e8dab43ea3292a608a15e3c9 (patch)
treef0abc1e2d2b309ad06f21cb5203771f6faace6f7 /tools/perf/ui/browser.c
parent8d9233f205e8855dc762665e28012354cd46af45 (diff)
downloadlinux-stable-2caa48a24061b1f8e8dab43ea3292a608a15e3c9.tar.gz
linux-stable-2caa48a24061b1f8e8dab43ea3292a608a15e3c9.tar.bz2
linux-stable-2caa48a24061b1f8e8dab43ea3292a608a15e3c9.zip
perf header: Stop using die() calls when processing tracing data
The callers of this function (perf_event__process_tracing_data) already handles a negative value return as error, so just use pr_err() to log the problem and return -1 instead of panic'ing. Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-eeeljnecpi0zi5s7ux1mzdv9@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/browser.c')
0 files changed, 0 insertions, 0 deletions