Searched refs:kwork (Results 1 – 6 of 6) sorted by relevance
/tools/perf/ |
D | builtin-kwork.c | 134 static int sort_dimension__add(struct perf_kwork *kwork __maybe_unused, in sort_dimension__add() 166 if (kwork->report == KWORK_REPORT_LATENCY) in sort_dimension__add() 179 static void setup_sorting(struct perf_kwork *kwork, in setup_sorting() argument 183 char *tmp, *tok, *str = strdup(kwork->sort_order); in setup_sorting() 187 if (sort_dimension__add(kwork, tok, &kwork->sort_list) < 0) in setup_sorting() 192 pr_debug("Sort order: %s\n", kwork->sort_order); in setup_sorting() 196 static struct kwork_atom *atom_new(struct perf_kwork *kwork, in atom_new() argument 203 list_for_each_entry(page, &kwork->atom_page_list, list) { in atom_new() 223 list_add_tail(&page->list, &kwork->atom_page_list); in atom_new() 351 static void profile_update_timespan(struct perf_kwork *kwork, in profile_update_timespan() argument [all …]
|
D | command-list.txt | 21 perf-kwork mainporcelain traceevent
|
D | Build | 26 perf-$(CONFIG_LIBTRACEEVENT) += builtin-kwork.o
|
/tools/perf/util/ |
D | bpf_kwork.c | 47 void (*load_prepare)(struct perf_kwork *kwork); 91 static void irq_load_prepare(struct perf_kwork *kwork) in irq_load_prepare() argument 93 if (kwork->report == KWORK_REPORT_RUNTIME) { in irq_load_prepare() 104 static void softirq_load_prepare(struct perf_kwork *kwork) in softirq_load_prepare() argument 106 if (kwork->report == KWORK_REPORT_RUNTIME) { in softirq_load_prepare() 109 } else if (kwork->report == KWORK_REPORT_LATENCY) { in softirq_load_prepare() 120 static void workqueue_load_prepare(struct perf_kwork *kwork) in workqueue_load_prepare() argument 122 if (kwork->report == KWORK_REPORT_RUNTIME) { in workqueue_load_prepare() 125 } else if (kwork->report == KWORK_REPORT_LATENCY) { in workqueue_load_prepare() 148 static int setup_filters(struct perf_kwork *kwork) in setup_filters() argument [all …]
|
D | kwork.h | 157 int (*raise_event)(struct perf_kwork *kwork, 161 int (*entry_event)(struct perf_kwork *kwork, 165 int (*exit_event)(struct perf_kwork *kwork, 223 struct kwork_work *perf_kwork_add_work(struct perf_kwork *kwork, 229 int perf_kwork__trace_prepare_bpf(struct perf_kwork *kwork); 230 int perf_kwork__report_read_bpf(struct perf_kwork *kwork); 239 perf_kwork__trace_prepare_bpf(struct perf_kwork *kwork __maybe_unused) in perf_kwork__trace_prepare_bpf() 245 perf_kwork__report_read_bpf(struct perf_kwork *kwork __maybe_unused) in perf_kwork__report_read_bpf()
|
/tools/perf/Documentation/ |
D | perf-kwork.txt | 6 perf-kwork - Tool to trace/measure kernel work properties (latencies) 11 'perf kwork' {record|report|latency|timehist} 15 There are several variants of 'perf kwork': 17 'perf kwork record <command>' to record the kernel work 20 'perf kwork report' to report the per kwork runtime. 22 'perf kwork latency' to report the per kwork latencies. 24 'perf kwork timehist' provides an analysis of kernel work events. 27 perf kwork record -- sleep 1 28 perf kwork report 29 perf kwork report -b [all …]
|