perf report: Group options in a struct
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Nov 2011 14:19:04 +0000 (12:19 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Nov 2011 12:38:26 +0000 (10:38 -0200)
commitfa372aae335c6dfbe808d5a728fe10cd202dde45
treea7df295553134ab719ac4ae1680b9e1d3d593b8c
parente3f42609628a20da92ecbc2d81053cc82c90a071
perf report: Group options in a struct

Paving the way to remove these globals when we change the perf_event_ops
to receive as a first parameter a pointer to a perf_event_ops that will
then provide access to perf_report via container_of.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-2eh2vi2nb5z3tg1lvoxv09xu@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c