/linux-master/tools/perf/util/ |
H A D | pmu.c | 7 #include <sys/types.h> 9 #include <sys/stat.h> 233 * /sys/bus/event_source/devices/<dev>/format as sysfs group attributes. 597 * /sys/bus/event_source/devices/<dev>/events as sysfs group attributes. 1893 * /sys/bus/event_source/devices/<dev>/caps as sysfs group attributes. 2050 * "/sys/bus/event_source/devices/cs_etm/format"
|
H A D | pmus.c | 7 #include <sys/types.h>
|
H A D | parse-events.y | 106 %destructor { free ($$.sys); free ($$.event); } <tracepoint_name> 119 char *sys; 540 err = parse_events_add_tracepoint(list, &parse_state->idx, $1.sys, $1.event, 544 free($1.sys);
|
H A D | parse-events.c | 8 #include <sys/ioctl.h> 9 #include <sys/param.h> 492 const char *sys, const char *name, int column) 518 tracing_path__strerror_open_tp(err, help, sizeof(help), sys, name); 1270 const char *sys, const char *event, 1284 if (strpbrk(sys, "*?")) 1285 return add_tracepoint_multi_sys(list, idx, sys, event, 1288 return add_tracepoint_event(list, idx, sys, event, 1293 (void)sys; 491 tracepoint_error(struct parse_events_error *e, int err, const char *sys, const char *name, int column) argument 1269 parse_events_add_tracepoint(struct list_head *list, int *idx, const char *sys, const char *event, struct parse_events_error *err, struct parse_events_terms *head_config, void *loc_) argument
|
H A D | parse-events.h | 193 const char *sys, const char *event,
|
H A D | mem-events.c | 6 #include <sys/types.h> 7 #include <sys/stat.h>
|
H A D | machine.h | 5 #include <sys/types.h>
|
H A D | machine.c | 29 #include <sys/types.h> 30 #include <sys/stat.h> 1755 * time /proc/sys/kernel/kptr_restrict was non zero.
|
H A D | evsel.h | 7 #include <sys/types.h> 237 struct evsel *evsel__newtp_idx(const char *sys, const char *name, int idx); 242 static inline struct evsel *evsel__newtp(const char *sys, const char *name) argument 244 return evsel__newtp_idx(sys, name, 0); 249 struct tep_event *event_format__new(const char *sys, const char *name);
|
H A D | evsel.c | 20 #include <sys/ioctl.h> 21 #include <sys/resource.h> 22 #include <sys/types.h> 53 #include "../perf-sys.h" 455 struct evsel *evsel__newtp_idx(const char *sys, const char *name, int idx) argument 469 if (asprintf(&evsel->name, "%s:%s", sys, name) < 0) 472 evsel->tp_format = trace_event__tp_format(sys, name); 3015 "Consider adjusting /proc/sys/kernel/perf_event_paranoid setting to open\n" 3039 access("/proc/sys/kernel/perf_event_max_stack", F_OK) == 0) 3042 "Hint: Try tweaking /proc/sys/kerne [all...] |
H A D | event.c | 7 #include <sys/types.h> 8 #include <sys/stat.h>
|
H A D | debug.c | 9 #include <sys/wait.h> 13 #include <sys/time.h>
|
H A D | data.c | 7 #include <sys/types.h> 8 #include <sys/stat.h>
|
H A D | data-convert-json.c | 12 #include <sys/stat.h>
|
/linux-master/tools/perf/tests/ |
H A D | symbols.c | 4 #include <sys/mman.h>
|
H A D | tests-scripts.c | 11 #include <sys/types.h> 15 #include <sys/wait.h> 16 #include <sys/stat.h>
|
H A D | parse-events.c | 13 #include <sys/types.h> 14 #include <sys/stat.h> 1855 TEST_ASSERT_VAL("Can't get sys path", sys_path); 1858 TEST_ASSERT_VAL("Can't open sys dir", sys_dir);
|
H A D | builtin-test.c | 13 #include <sys/types.h> 15 #include <sys/wait.h> 16 #include <sys/stat.h>
|
/linux-master/tools/perf/tests/shell/lib/ |
H A D | perf_metric_validation.py | 82 sys.exit() 449 sys.exit() 590 import sys namespace 591 sys.exit(main())
|
H A D | perf_json_output_lint.py | 6 import sys namespace 22 ap.add_argument('--file', type=argparse.FileType('r'), default=sys.stdin)
|
/linux-master/tools/perf/tests/shell/base_probe/ |
H A D | settings.sh | 30 test -e /sys/kernel/debug/tracing/kprobe_events 35 test -e /sys/kernel/debug/tracing/uprobe_events 40 echo 0 > /sys/kernel/debug/tracing/events/enable 41 check_kprobes_available && echo > /sys/kernel/debug/tracing/kprobe_events 42 check_uprobes_available && echo > /sys/kernel/debug/tracing/uprobe_events
|
/linux-master/tools/perf/pmu-events/ |
H A D | jevents.py | 10 import sys namespace 18 # List of event tables generated from "/sys" directories. 22 # List of metric tables generated from "/sys" directories. 24 # Mapping between sys event table names and sys metric table names. 649 if item.name == 'sys': 765 """C struct mapping table array for tables from /sys directories.""" 1255 'output_file', type=argparse.FileType('w', encoding='utf-8'), nargs='?', default=sys.stdout)
|
/linux-master/tools/perf/ |
H A D | builtin-trace.c | 83 #include <sys/sysmacros.h> 1644 "Check /proc/sys/kernel/kptr_restrict and /proc/sys/kernel/perf_event_paranoid.\n\n" 1764 * /sys/kernel/tracing/events/syscalls/sys_enter* 3869 * a cgroup (on the root cgroup, sys wide, etc).
|
H A D | builtin-top.c | 73 #include <sys/syscall.h> 74 #include <sys/ioctl.h> 76 #include <sys/prctl.h> 77 #include <sys/wait.h> 78 #include <sys/uio.h> 79 #include <sys/utsname.h> 80 #include <sys/mman.h> 788 "Check /proc/sys/kernel/kptr_restrict and /proc/sys/kernel/perf_event_paranoid.\n\n"
|
H A D | builtin-stat.c | 81 #include <sys/prctl.h> 85 #include <sys/types.h> 86 #include <sys/stat.h> 87 #include <sys/wait.h> 89 #include <sys/time.h> 90 #include <sys/resource.h> 1309 * /sys/devices/system/cpu/cpuX/cache/indexY/shared_cpu_list 1336 * /sys/devices/system/cpu/cpuX/cache/indexY/level where as cache instance ID 1338 * /sys/devices/system/cpu/cpuX/cache/indexY/shared_cpu_list 2897 * due to /proc/sys/kerne [all...] |