]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
tools lib subcmd: Support overwriting the pager
authorAndi Kleen <ak@linux.intel.com>
Tue, 18 Sep 2018 12:32:07 +0000 (05:32 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Sep 2018 18:16:19 +0000 (15:16 -0300)
commit03a1f49f26482cf832e7f0157ae5da716d927701
tree1fea29677b382df9bdc75af292fe9bf5c9ab673b
parentc12e039d1233f24ab2726945f883037f47b26f1d
tools lib subcmd: Support overwriting the pager

Add an interface to the auto pager code that allows callers to overwrite
the pager.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Kim Phillips <kim.phillips@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20180918123214.26728-3-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/subcmd/pager.c
tools/lib/subcmd/pager.h