]> git.baikalelectronics.ru Git - kernel.git/commit
perf trace: Fix error reporting for evsel pgfault constructor
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Jan 2015 14:08:04 +0000 (11:08 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Jan 2015 14:16:34 +0000 (11:16 -0300)
commitc001e8d47dfba9d3ea3fa6937cefd8c56302dde9
tree3a847cc43d412e1343b4058e45aca9291cb6d972
parent7f7aa218fd46352b8c36253ffc36f46969a08050
perf trace: Fix error reporting for evsel pgfault constructor

In that case the only failure possible is not to have enough memory, as
we are just creating the evsels, not trying to access any system
facility such as debugfs files or syscalls.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-7k6asvfhiwiu2zs6o2oknchk@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c