perf annotate: Group options in a struct
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Nov 2011 14:33:21 +0000 (12:33 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Nov 2011 12:38:40 +0000 (10:38 -0200)
commit7009cc34b964939815160d7de64cf0215cdbf8bb
tree34d5ba9b52aed3f2990ffeefaa3424f4ad38fa2e
parentfa372aae335c6dfbe808d5a728fe10cd202dde45
perf annotate: 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_annotate 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-xduzibqrdg3h5cttmk6p5wwc@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-annotate.c