forked from Minki/linux
61eb2eb434
Automatically adapt the now wider and word wrapped perf list output to wider terminals. This requires querying the terminal before the auto pager takes over, and exporting this information from the pager subsystem. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Acked-by: Ingo Molnar <mingo@kernel.org> Acked-by: Jiri Olsa <jolsa@redhat.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: linuxppc-dev@lists.ozlabs.org Link: http://lkml.kernel.org/r/1473978296-20712-8-git-send-email-sukadev@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
11 lines
228 B
C
11 lines
228 B
C
#ifndef __SUBCMD_PAGER_H
|
|
#define __SUBCMD_PAGER_H
|
|
|
|
extern void pager_init(const char *pager_env);
|
|
|
|
extern void setup_pager(void);
|
|
extern int pager_in_use(void);
|
|
extern int pager_get_columns(void);
|
|
|
|
#endif /* __SUBCMD_PAGER_H */
|