Searched refs:switch_tracking (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | switch-tracking.c | 63 struct switch_tracking { struct 74 static int check_comm(struct switch_tracking *switch_tracking, in check_comm() argument 81 if (switch_tracking->comm_seen[nr]) { in check_comm() 85 switch_tracking->comm_seen[nr] = 1; in check_comm() 92 static int check_cpu(struct switch_tracking *switch_tracking, int cpu) in check_cpu() argument 99 if (!switch_tracking->tids) { in check_cpu() 100 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu() 101 if (!switch_tracking in check_cpu() 125 process_sample_event(struct evlist *evlist, union perf_event *event, struct switch_tracking *switch_tracking) process_sample_event() argument 175 process_event(struct evlist *evlist, union perf_event *event, struct switch_tracking *switch_tracking) process_event() argument 264 process_events(struct evlist *evlist, struct switch_tracking *switch_tracking) process_events() argument 330 struct switch_tracking switch_tracking = { .tids = NULL, }; test__switch_tracking() local [all...] |
H A D | tests.h | 111 DECLARE_SUITE(switch_tracking); variable
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | switch-tracking.c | 60 struct switch_tracking { struct 71 static int check_comm(struct switch_tracking *switch_tracking, in check_comm() argument 78 if (switch_tracking->comm_seen[nr]) { in check_comm() 82 switch_tracking->comm_seen[nr] = 1; in check_comm() 89 static int check_cpu(struct switch_tracking *switch_tracking, int cpu) in check_cpu() argument 96 if (!switch_tracking->tids) { in check_cpu() 97 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu() 98 if (!switch_tracking in check_cpu() 122 process_sample_event(struct evlist *evlist, union perf_event *event, struct switch_tracking *switch_tracking) process_sample_event() argument 172 process_event(struct evlist *evlist, union perf_event *event, struct switch_tracking *switch_tracking) process_event() argument 261 process_events(struct evlist *evlist, struct switch_tracking *switch_tracking) process_events() argument 326 struct switch_tracking switch_tracking = { .tids = NULL, }; test__switch_tracking() local [all...] |
Completed in 3 milliseconds