perf tool: Simplify options to perf_evsel__print_ip
authorDavid Ahern <dsahern@gmail.com>
Thu, 8 Aug 2013 02:50:51 +0000 (22:50 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 12 Aug 2013 13:31:07 +0000 (10:31 -0300)
commita6ffaf91302dc1689fc72da0068b87226747fbe0
treed18e038d5122813b00f3a8cd5faaff54982a9a96
parentcb627505ae028a0cd88cc29ed72a4c168a08751d
perf tool: Simplify options to perf_evsel__print_ip

Make print options based on flags. Simplifies addition of more print
options which is the subject of upcoming patches.

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1375930261-77273-10-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c
tools/perf/util/session.c
tools/perf/util/session.h