perf tool: Simplify options to perf_evsel__print_ip
authorDavid Ahern <[email protected]>
Thu, 8 Aug 2013 02:50:51 +0000 (22:50 -0400)
committerArnaldo Carvalho de Melo <[email protected]>
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 <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-script.c
tools/perf/util/session.c
tools/perf/util/session.h