Home
last modified time | relevance | path

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

123

/tools/perf/
Dbuiltin-kwork.c314 struct kwork_work *work; in work_search() local
318 work = container_of(node, struct kwork_work, node); in work_search()
319 cmp = work_cmp(sort_list, key, work); in work_search()
325 if (work->name == NULL) in work_search()
326 work->name = key->name; in work_search()
327 return work; in work_search()
361 struct kwork_work *work = zalloc(sizeof(*work)); in work_new() local
363 if (work == NULL) { in work_new()
369 INIT_LIST_HEAD(&work->atom_list[i]); in work_new()
371 work->id = key->id; in work_new()
[all …]
/tools/testing/selftests/livepatch/test_modules/
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()
Dtest_klp_callbacks_demo.c55 static void patched_work_func(struct work_struct *work) in patched_work_func() argument
/tools/testing/selftests/bpf/progs/
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()
Dwq.c16 struct bpf_wq work; member
106 wq = &val->work; in test_hmap_elem_callback()
/tools/perf/util/
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 = perf_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 …]
Dbpf_kwork.c267 struct kwork_work *work; in add_work() local
288 work = perf_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()
296 work->max_runtime_start = data->max_time_start; 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()
[all …]
Dkwork.h157 struct kwork_work *work,
163 void (*work_name)(struct kwork_work *work,
/tools/perf/tests/
Dtests.h192 #define DECLARE_WORKLOAD(work) \ argument
193 extern struct test_workload workload__##work
195 #define DEFINE_WORKLOAD(work) \ argument
196 struct test_workload workload__##work = { \
197 .name = #work, \
198 .func = work, \
Dbuiltin-test.c505 static int run_workload(const char *work, int argc, const char **argv) in run_workload() argument
512 if (!strcmp(twl->name, work)) in run_workload()
516 pr_info("No workload found: %s\n", work); in run_workload()
/tools/testing/selftests/arm64/fp/
Dfp-stress.c146 char work[1024]; in child_output_read() local
165 strncpy(work, child->output, sizeof(work) - 1); in child_output_read()
166 cur_work = strnlen(work, sizeof(work)); in child_output_read()
175 work[cur_work] = read_data[cur_read++]; in child_output_read()
177 if (work[cur_work] == '\n') { in child_output_read()
178 work[cur_work] = '\0'; in child_output_read()
179 ksft_print_msg("%s: %s\n", child->name, work); in child_output_read()
187 work[cur_work] = '\0'; in child_output_read()
188 ret = asprintf(&child->output, "%s", work); in child_output_read()
/tools/perf/util/bpf_skel/vmlinux/
Dvmlinux.h139 void *work; member
146 void *work; member
153 void *work; member
/tools/usb/usbip/
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
98 b) You must cause any work that you distribute or publish, that in
111 does not normally print such an announcement, your work based on
114 These requirements apply to the modified work as a whole. If
[all …]
/tools/perf/util/bpf_skel/
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/
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,
Ddb-export.txt34 script will continue to work with new versions of perf) by accepting a variable
/tools/testing/ktest/examples/
Dsnowball.conf12 THIS_DIR := /home/rostedt/work/demo/ktest-embed
DREADME29 options and variables that will make the included config work for the
/tools/testing/selftests/hid/progs/
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/
Dfunctions177 # "kernel_fork". As older tests should still work with older kernels
201 # If stat -c '%m' does not work (e.g. busybox) or failed, try to use the
207 # If PWD doesn't work, that is an environmental problem.
/tools/perf/scripts/python/
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/
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/
DREADME43 and target pages in the memory so it needs enough memory to work.
/tools/perf/tests/shell/
Dtest_intel_pt.sh68 void work(void) {
80 work();
88 work();
/tools/memory-model/
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,

123