Searched refs:maxactive (Results 1 – 6 of 6) sorted by relevance
| /linux/kernel/trace/ |
| H A D | trace_kprobe.c | 271 int maxactive, in alloc_trace_kprobe() argument 299 tk->rp.maxactive = maxactive; in alloc_trace_kprobe() 874 int maxactive = 0; in trace_kprobe_create_internal() local 914 ret = kstrtouint(buf, 0, &maxactive); in trace_kprobe_create_internal() 915 if (ret || !maxactive) { in trace_kprobe_create_internal() 922 if (maxactive > KRETPROBE_MAXACTIVE_MAX) { in trace_kprobe_create_internal() 1031 tk = alloc_trace_kprobe(group, event, addr, symbol, offset, maxactive, in trace_kprobe_create_internal() 1296 if (trace_kprobe_is_return(tk) && tk->rp.maxactive) in trace_kprobe_show() 1297 seq_printf(m, "%d", tk->rp.maxactive); in trace_kprobe_show()
|
| /linux/samples/kprobes/ |
| H A D | kretprobe_example.c | 77 .maxactive = 20,
|
| /linux/Documentation/trace/ |
| H A D | kprobes.rst | 57 a post_handler, and how to use the maxactive and nmissed fields of 125 register_kretprobe(), the user sets the maxactive field of the 131 spinlock held, maxactive = 1 should be enough. If the function is 133 or preemption), NR_CPUS should be enough. If maxactive <= 0, it is 136 It's not a disaster if you set maxactive too low; you'll just miss 425 You must set rp->maxactive appropriately before you call
|
| /linux/include/linux/ |
| H A D | kprobes.h | 150 int maxactive; member
|
| /linux/kernel/ |
| H A D | kprobes.c | 2206 if (rp->maxactive <= 0) in register_kretprobe() 2207 rp->maxactive = max_t(unsigned int, 10, 2*num_possible_cpus()); in register_kretprobe() 2212 rp->data_size, rp->maxactive); in register_kretprobe() 2228 if (objpool_init(&rp->rph->pool, rp->maxactive, rp->data_size + in register_kretprobe()
|
| /linux/arch/s390/lib/ |
| H A D | test_unwind.c | 201 my_kretprobe.maxactive = 1; in test_unwind_kretprobe()
|