Searched refs:sysctl__read_int (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/tools/perf/util/ |
D | util.c | 49 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()
|
D | record.c | 152 return sysctl__read_int("kernel/perf_event_max_sample_rate", (int *)rate); in get_max_rate()
|
D | evlist.c | 754 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/ |
D | topdown.c | 15 if (sysctl__read_int("kernel/nmi_watchdog", &n) < 0) in arch_topdown_check_group()
|
/Linux-v5.10/tools/lib/api/fs/ |
D | fs.h | 54 int sysctl__read_int(const char *sysctl, int *value);
|
D | fs.c | 533 int sysctl__read_int(const char *sysctl, int *value) in sysctl__read_int() function
|
/Linux-v5.10/tools/perf/ |
D | builtin-sched.c | 453 if (sysctl__read_int("kernel/pid_max", &pid_max) < 0) in register_pid()
|