perf session: Simplify tool stubs
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 7 Mar 2016 19:44:39 +0000 (16:44 -0300)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 1 Jun 2016 21:41:10 +0000 (15:41 -0600)
commit279b3b64ec953fc6eb20900134f163e831d1eb13
tree7bda3f58c07087c92ed618ad9ba77513dd986f96
parentb020f5b0ad1d29376a56ba181a6c4839a5a448a1
perf session: Simplify tool stubs

Some of the stubs are identical so just have one function for them.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1457005856-6143-3-git-send-email-adrian.hunter@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
(cherry picked from commit 5fb0ac16c5091f48eecf1a77e461f6957a463d61)
tools/perf/util/session.c