Home
last modified time | relevance | path

Searched refs:consumer (Results 1 – 3 of 3) sorted by relevance

/kernel/trace/
Dring_buffer_benchmark.c34 static struct task_struct *consumer; variable
267 if (consumer && !(cnt % wakeup_interval)) in ring_buffer_producer()
268 wake_up_process(consumer); in ring_buffer_producer()
286 if (consumer) { in ring_buffer_producer()
293 wake_up_process(consumer); in ring_buffer_producer()
406 if (consumer) { in ring_buffer_producer_thread()
407 wake_up_process(consumer); in ring_buffer_producer_thread()
440 consumer = kthread_create(ring_buffer_consumer_thread, in ring_buffer_benchmark_init()
442 ret = PTR_ERR(consumer); in ring_buffer_benchmark_init()
443 if (IS_ERR(consumer)) in ring_buffer_benchmark_init()
[all …]
Dtrace_uprobe.c59 struct uprobe_consumer consumer; member
274 return tu->consumer.ret_handler != NULL; in is_ret_probe()
353 tu->consumer.handler = uprobe_dispatcher; in alloc_trace_uprobe()
355 tu->consumer.ret_handler = uretprobe_dispatcher; in alloc_trace_uprobe()
1062 tu->consumer.filter = filter; in trace_uprobe_enable()
1067 tu->ref_ctr_offset, &tu->consumer); in trace_uprobe_enable()
1069 ret = uprobe_register(tu->inode, tu->offset, &tu->consumer); in trace_uprobe_enable()
1088 uprobe_unregister(tu->inode, tu->offset, &tu->consumer); in __probe_event_disable()
1289 ret = uprobe_apply(tu->inode, tu->offset, &tu->consumer, false); in uprobe_perf_close()
1313 err = uprobe_apply(tu->inode, tu->offset, &tu->consumer, true); in uprobe_perf_open()
[all …]
DKconfig860 a producer and consumer that will run for 10 seconds and sleep for