perf session: flush_sample_queue needs to handle errors from handlers
authorDavid Ahern <dsahern@gmail.com>
Sun, 26 Aug 2012 18:24:41 +0000 (12:24 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Sep 2012 20:17:30 +0000 (17:17 -0300)
commitd25380cd3be38baff4ab31935b9d19b7f58ba7ac
treeee24361e1aa8f92df785e760dff71801ed7f3432
parentff1a70e75fd005821ab5f2211312a8aa13bbf959
perf session: flush_sample_queue needs to handle errors from handlers

Allows errors to propogate through event processing code and back to
commands.

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1346005487-62961-2-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/session.c