Home
last modified time | relevance | path

Searched refs:work (Results 1 – 25 of 51) sorted by relevance

123

/tools/perf/
A Dbuiltin-kwork.c362 struct kwork_work *work = zalloc(sizeof(*work)); in work_new() local
389 if (work) in work_findnew()
769 if (work->class && work->class->work_name) { in timehist_print_event()
770 work->class->work_name(work, kwork_name, in timehist_print_event()
921 if (!work) in top_exit_event()
928 work->id, work->cpu); in top_exit_event()
950 if (!work) in top_sched_switch_event()
1360 if (work->class && work->class->work_name) { in report_print_work()
1361 work->class->work_name(work, kwork_name, in report_print_work()
2058 work->id, work->cpu); in top_subtract_irq_runtime()
[all …]
/tools/testing/selftests/livepatch/test_modules/
A Dtest_klp_callbacks_busy.c17 static void busymod_work_func(struct work_struct *work);
18 static DECLARE_WORK(work, busymod_work_func);
21 static void busymod_work_func(struct work_struct *work) in busymod_work_func() argument
40 schedule_work(&work); in test_klp_callbacks_busy_init()
53 flush_work(&work); in test_klp_callbacks_busy_init()
62 flush_work(&work); in test_klp_callbacks_busy_exit()
A Dtest_klp_callbacks_demo.c55 static void patched_work_func(struct work_struct *work) in patched_work_func() argument
/tools/testing/selftests/bpf/progs/
A Dexhandler_kern.c22 struct callback_head *work; in BPF_PROG() local
38 work = task->task_works; in BPF_PROG()
39 func = work->func; in BPF_PROG()
44 barrier_var(work); in BPF_PROG()
45 if (work) in BPF_PROG()
A Dwq.c16 struct bpf_wq work; member
106 wq = &val->work; in test_hmap_elem_callback()
/tools/perf/util/
A Dbpf_kwork_top.c217 static void read_task_info(struct kwork_work *work) in read_task_info() argument
222 .pid = work->id, in read_task_info()
223 .cpu = work->cpu, in read_task_info()
233 work->tgid = data.tgid; in read_task_info()
234 work->is_kthread = data.is_kthread; in read_task_info()
235 work->name = strdup(data.comm); in read_task_info()
242 struct kwork_work *work; in add_work() local
258 work = kwork->add_work(kwork, tmp.class, &tmp); in add_work()
259 if (!work) in add_work()
262 work->total_runtime = data->runtime; in add_work()
[all …]
A Dbpf_kwork.c267 struct kwork_work *work; in add_work() local
288 work = kwork->add_work(kwork, tmp.class, &tmp); in add_work()
289 if (work == NULL) in add_work()
293 work->nr_atoms = data->nr; in add_work()
294 work->total_runtime = data->total_time; in add_work()
295 work->max_runtime = data->max_time; in add_work()
297 work->max_runtime_end = data->max_time_end; in add_work()
299 work->nr_atoms = data->nr; in add_work()
300 work->total_latency = data->total_time; in add_work()
301 work->max_latency = data->max_time; in add_work()
[all …]
A Dkwork.h158 struct kwork_work *work,
164 void (*work_name)(struct kwork_work *work,
/tools/testing/selftests/arm64/gcs/
A Dgcs-stress.c153 char work[1024]; in child_output_read() local
172 strncpy(work, child->output, sizeof(work) - 1); in child_output_read()
173 cur_work = strnlen(work, sizeof(work)); in child_output_read()
182 work[cur_work] = read_data[cur_read++]; in child_output_read()
184 if (work[cur_work] == '\n') { in child_output_read()
185 work[cur_work] = '\0'; in child_output_read()
186 ksft_print_msg("%s: %s\n", child->name, work); in child_output_read()
194 work[cur_work] = '\0'; in child_output_read()
195 ret = asprintf(&child->output, "%s", work); in child_output_read()
/tools/perf/tests/
A Dtests.h225 #define DECLARE_WORKLOAD(work) \ argument
226 extern struct test_workload workload__##work
228 #define DEFINE_WORKLOAD(work) \ argument
229 struct test_workload workload__##work = { \
230 .name = #work, \
231 .func = work, \
/tools/testing/selftests/arm64/fp/
A Dfp-stress.c149 char work[1024]; in child_output_read() local
168 strncpy(work, child->output, sizeof(work) - 1); in child_output_read()
169 cur_work = strnlen(work, sizeof(work)); in child_output_read()
178 work[cur_work] = read_data[cur_read++]; in child_output_read()
180 if (work[cur_work] == '\n') { in child_output_read()
181 work[cur_work] = '\0'; in child_output_read()
182 ksft_print_msg("%s: %s\n", child->name, work); in child_output_read()
190 work[cur_work] = '\0'; in child_output_read()
191 ret = asprintf(&child->output, "%s", work); in child_output_read()
/tools/perf/util/bpf_skel/vmlinux/
A Dvmlinux.h139 void *work; member
146 void *work; member
153 void *work; member
/tools/usb/usbip/
A DCOPYING62 0. This License applies to any program or other work which contains
65 refers to any such program or work, and a "work based on the Program"
66 means either the Program or any derivative work under copyright law:
67 that is to say, a work containing the Program or a portion of it,
75 is covered only if its contents constitute a work based on the
91 of it, thus forming a work based on the Program, and copy and
92 distribute such modifications or work under the terms of Section 1
111 does not normally print such an announcement, your work based on
114 These requirements apply to the modified work as a whole. If
155 The source code for a work means the preferred form of the work for
[all …]
/tools/perf/util/bpf_skel/
A Dkwork_trace.bpf.c330 .id = (__u64)ctx->work, in report_workqueue_execute_start()
343 .id = (__u64)ctx->work, in report_workqueue_execute_end()
360 .id = (__u64)ctx->work, in latency_workqueue_activate_work()
373 .id = (__u64)ctx->work, in latency_workqueue_execute_start()
/tools/perf/Documentation/
A Dperf-kwork.txt6 perf-kwork - Tool to trace/measure kernel work properties (latencies)
17 'perf kwork record <command>' to record the kernel work
24 'perf kwork timehist' provides an analysis of kernel work events.
38 By default it shows the individual work events such as irq, workqueue,
A Ddb-export.txt34 script will continue to work with new versions of perf) by accepting a variable
/tools/testing/ktest/examples/
A Dsnowball.conf12 THIS_DIR := /home/rostedt/work/demo/ktest-embed
A DREADME29 options and variables that will make the included config work for the
/tools/testing/selftests/hid/progs/
A Dhid.c448 struct bpf_wq work; member
458 static int wq_cb_sleepable(void *map, int *key, void *work) in wq_cb_sleepable() argument
486 wq = &val->work; in test_inject_input_report_callback()
/tools/testing/selftests/ftrace/test.d/
A Dfunctions183 # "kernel_fork". As older tests should still work with older kernels
207 # If stat -c '%m' does not work (e.g. busybox) or failed, try to use the
213 # If PWD doesn't work, that is an environmental problem.
/tools/perf/scripts/python/
A Dnetdev-times.py261 dev_name, work=None, budget=None): argument
263 napi, dev_name, work, budget)
365 work, budget) = event_info
370 'work':work, 'budget':budget}
/tools/testing/selftests/tc-testing/
A DREADME136 necessary if a test case being run requires a specific plugin to work.
140 bjb@bee:~/work/tc-testing$ ls -l plugins
196 (This one is a preliminary version, it may not work quite right yet,
207 first version of the tc testing suite. This work was presented at
/tools/testing/selftests/powerpc/nx-gzip/
A DREADME43 and target pages in the memory so it needs enough memory to work.
/tools/perf/tests/shell/
A Dtest_intel_pt.sh68 void work(void) {
80 work();
88 work();
/tools/memory-model/
A DREADME33 For example, a future version of herd7 might not work with the model
115 people who work on the memory model itself, that is, people making changes
155 is intended for people who work on the memory model itself, that is,

Completed in 39 milliseconds

123