]> git.baikalelectronics.ru Git - kernel.git/commit
perf top: Stop using globals for tool state
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Nov 2011 11:37:05 +0000 (09:37 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Nov 2011 12:39:44 +0000 (10:39 -0200)
commit5b9503875f506f801f385aee553f7dd4c51ce261
tree782ee9c4ee5589081b52d3894f4728f4e692cf86
parent4e8c570778f7e0dc4d1b5f5e396c3bb035cb3b4d
perf top: Stop using globals for tool state

Use its 'perf_tool' base class instead.

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-i33q40wwvk2zna8fd36ex6sm@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c
tools/perf/util/top.h