[PATCH 08/29] perf evsel: Add a debug print if perf_event_open fails

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter There is a debug print (at verbose level 2) for each call to perf_event_open. Add another debug print if the call fails, and print the error number. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Mike Galbraith

[PATCH 08/29] perf evsel: Add a debug print if perf_event_open fails

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com There is a debug print (at verbose level 2) for each call to perf_event_open. Add another debug print if the call fails, and print the error number. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic