perf tests: Handle throttle events in 'object code reading' test
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 12 Nov 2013 07:59:33 +0000 (09:59 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Nov 2013 19:37:54 +0000 (16:37 -0300)
commit48095b721ca54ffa70427185c00473530f4aef06
treeb817384f2fcf4895c052dc612ad4f62d4ac07798
parent33c2dcfdfe7f114cc656bcb4c839f5939d5e60ba
perf tests: Handle throttle events in 'object code reading' test

Unhandled events cause an error that fails the test, fix it.

Reported-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
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@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/5281DFE5.3000909@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/code-reading.c