mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 02:49:05 +07:00
03a1f49f26
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>
13 lines
306 B
C
13 lines
306 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#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);
|
|
extern void force_pager(const char *);
|
|
|
|
#endif /* __SUBCMD_PAGER_H */
|