| /tools/perf/ |
| D | builtin-kwork.c | 314 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/ |
| D | test_klp_callbacks_busy.c | 17 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()
|
| D | test_klp_callbacks_demo.c | 55 static void patched_work_func(struct work_struct *work) in patched_work_func() argument
|
| /tools/testing/selftests/bpf/progs/ |
| D | exhandler_kern.c | 22 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()
|
| D | wq.c | 16 struct bpf_wq work; member 106 wq = &val->work; in test_hmap_elem_callback()
|
| /tools/perf/util/ |
| D | bpf_kwork_top.c | 217 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 …]
|
| D | bpf_kwork.c | 267 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 …]
|
| D | kwork.h | 157 struct kwork_work *work, 163 void (*work_name)(struct kwork_work *work,
|
| /tools/perf/tests/ |
| D | tests.h | 192 #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, \
|
| D | builtin-test.c | 505 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/ |
| D | fp-stress.c | 146 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/ |
| D | vmlinux.h | 139 void *work; member 146 void *work; member 153 void *work; member
|
| /tools/usb/usbip/ |
| D | COPYING | 62 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/ |
| D | kwork_trace.bpf.c | 330 .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/ |
| D | perf-kwork.txt | 6 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,
|
| D | db-export.txt | 34 script will continue to work with new versions of perf) by accepting a variable
|
| /tools/testing/ktest/examples/ |
| D | snowball.conf | 12 THIS_DIR := /home/rostedt/work/demo/ktest-embed
|
| D | README | 29 options and variables that will make the included config work for the
|
| /tools/testing/selftests/hid/progs/ |
| D | hid.c | 448 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/ |
| D | functions | 177 # "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/ |
| D | netdev-times.py | 261 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/ |
| D | README | 136 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/ |
| D | README | 43 and target pages in the memory so it needs enough memory to work.
|
| /tools/perf/tests/shell/ |
| D | test_intel_pt.sh | 68 void work(void) { 80 work(); 88 work();
|
| /tools/memory-model/ |
| D | README | 33 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,
|