perf ordered_events: Allow tools to specify a deliver method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 3 Mar 2015 15:20:38 +0000 (12:20 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 12 Mar 2015 15:39:46 +0000 (12:39 -0300)
commitd10eb1eb76a86266354ecab6e42c1606e3b8bc4c
treee16a15de7df6ff556375effce15d5ece48c809bd
parentb7b61cbebd789a3dbca522e3fdb727fe5c95593f
perf ordered_events: Allow tools to specify a deliver method

So that we can simplify the deliver method to pass just:

 (ordered_events, ordered_event, sample);

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-j0s4bpxs5qza5tnkvjwom9rw@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/ordered-events.c
tools/perf/util/ordered-events.h
tools/perf/util/session.c
tools/perf/util/session.h