]> 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)
commitb35b1c88dd1e9ab4c0e4ed14a91a280d35746408
tree782ee9c4ee5589081b52d3894f4728f4e692cf86
parent152a820285a4e660ca64b48a312adc85072dff2a
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