Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/util/
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()
320 if (sysctl__read_int("kernel/perf_event_paranoid", &value)) in perf_event_paranoid()
Drecord.c147 return sysctl__read_int("kernel/perf_event_max_sample_rate", (int *)rate); in get_max_rate()
Devlist.c888 if (sysctl__read_int("kernel/perf_event_mlock_kb", &max) < 0) { in perf_event_mlock_kb_in_pages()
1681 if (sysctl__read_int("kernel/perf_event_max_sample_rate", &max_freq) < 0) in evlist__strerror_open()
1710 sysctl__read_int("kernel/perf_event_mlock_kb", &pages_max_per_user); in evlist__strerror_mmap()
/linux-6.12.1/tools/lib/api/fs/
Dfs.h54 int sysctl__read_int(const char *sysctl, int *value);
Dfs.c483 int sysctl__read_int(const char *sysctl, int *value) in sysctl__read_int() function
/linux-6.12.1/tools/perf/
Dbuiltin-sched.c447 if (sysctl__read_int("kernel/pid_max", &pid_max) < 0) in register_pid()