Searched refs:sysctl__read_int (Results 1 – 6 of 6) sorted by relevance
/linux/tools/perf/util/ |
H A D | util.c | 52 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 D | record.c | 147 return sysctl__read_int("kernel/perf_event_max_sample_rate", (int *)rate); in get_max_rate()
|
H A D | evlist.c | 833 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 D | fs.h | 54 int sysctl__read_int(const char *sysctl, int *value);
|
H A D | fs.c | 483 int sysctl__read_int(const char *sysctl, int *value) in sysctl__read_int() function
|
/linux/tools/perf/ |
H A D | builtin-sched.c | 447 if (sysctl__read_int("kernel/pid_max", &pid_max) < 0) in register_pid()
|