Home
last modified time | relevance | path

Searched refs:sysctl__read_int (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/tools/perf/util/
Dutil.c49 if (sysctl__read_int("kernel/perf_event_max_stack", &value) == 0) in sysctl__max_stack()
52 if (sysctl__read_int("kernel/perf_event_max_contexts_per_stack", &value) == 0) in sysctl__max_stack()
67 if (sysctl__read_int("kernel/nmi_watchdog", &value) < 0) in sysctl__nmi_watchdog_enabled()
284 if (sysctl__read_int("kernel/perf_event_paranoid", &value)) in perf_event_paranoid()
Drecord.c152 return sysctl__read_int("kernel/perf_event_max_sample_rate", (int *)rate); in get_max_rate()
Devlist.c754 if (sysctl__read_int("kernel/perf_event_mlock_kb", &max) < 0) { in perf_event_mlock_kb_in_pages()
1503 if (sysctl__read_int("kernel/perf_event_max_sample_rate", &max_freq) < 0) in evlist__strerror_open()
1532 sysctl__read_int("kernel/perf_event_mlock_kb", &pages_max_per_user); in evlist__strerror_mmap()
/Linux-v5.10/tools/perf/arch/x86/util/
Dtopdown.c15 if (sysctl__read_int("kernel/nmi_watchdog", &n) < 0) in arch_topdown_check_group()
/Linux-v5.10/tools/lib/api/fs/
Dfs.h54 int sysctl__read_int(const char *sysctl, int *value);
Dfs.c533 int sysctl__read_int(const char *sysctl, int *value) in sysctl__read_int() function
/Linux-v5.10/tools/perf/
Dbuiltin-sched.c453 if (sysctl__read_int("kernel/pid_max", &pid_max) < 0) in register_pid()