Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dutil.c52 if (sysctl__read_int("kernel/perf_event_max_stack", &value) == 0) in sysctl__max_stack()
55 if (sysctl__read_int("kernel/perf_event_max_contexts_per_stack", &value) == 0) in sysctl__max_stack()
70 if (sysctl__read_int("kernel/nmi_watchdog", &value) < 0) in sysctl__nmi_watchdog_enabled()
326 if (sysctl__read_int("kernel/perf_event_paranoid", &value)) in perf_event_paranoid_check()
H A Drecord.c147 return sysctl__read_int("kernel/perf_event_max_sample_rate", (int *)rate); in get_max_rate()
H A Devlist.c833 if (sysctl__read_int("kernel/perf_event_mlock_kb", &max) < 0) { in evlist__alloc_mmap()
1635 if (sysctl__read_int("kernel/perf_event_max_sample_rate", &max_freq) < 0) in evlist__parse_sample()
1664 sysctl__read_int("kernel/perf_event_mlock_kb", &pages_max_per_user); in evlist__strerror_open()
/linux/tools/lib/api/fs/
H A Dfs.h54 int sysctl__read_int(const char *sysctl, int *value);
H A Dfs.c483 int sysctl__read_int(const char *sysctl, int *value) in sysctl__read_int() function
/linux/tools/perf/
H A Dbuiltin-sched.c447 if (sysctl__read_int("kernel/pid_max", &pid_max) < 0) in register_pid()