]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
perf_counter tools: Add built-in pager support
authorIngo Molnar <mingo@elte.hu>
Wed, 27 May 2009 07:50:13 +0000 (09:50 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 27 May 2009 07:59:00 +0000 (09:59 +0200)
commita930d2c0d0a685ab955472b08baad041cc5edb4a
tree988e0da70e64ef72437058828974d946328280af
parent23ac9cbed82b00ca3520bb81dbe9ea3b7a936a1b
perf_counter tools: Add built-in pager support

Add Git's pager.c (and sigchain) code. A command only
has to call setup_pager() to get paged interactive
output.

Non-interactive (redirected, command-piped, etc.) uses
are not affected.

Update perf-report to make use of this.

[ Impact: new feature ]

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/Makefile
Documentation/perf_counter/builtin-report.c
Documentation/perf_counter/util/environment.c [new file with mode: 0644]
Documentation/perf_counter/util/pager.c [new file with mode: 0644]
Documentation/perf_counter/util/sigchain.c [new file with mode: 0644]
Documentation/perf_counter/util/sigchain.h [new file with mode: 0644]