mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
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 <[email protected]> Signed-off-by: Sukadev Bhattiprolu <[email protected]> Acked-by: Ingo Molnar <[email protected]> Acked-by: Jiri Olsa <[email protected]> Acked-by: Namhyung Kim <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Madhavan Srinivasan <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
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 */
|