Searched refs:maxactive (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/kernel/trace/ |
D | trace_fprobe.c | 390 int maxactive, in alloc_trace_fprobe() argument 411 tf->fp.nr_maxactive = maxactive; in alloc_trace_fprobe() 1069 int maxactive = 0; in __trace_fprobe_create() local 1107 ret = kstrtouint(buf, 0, &maxactive); in __trace_fprobe_create() 1108 if (ret || !maxactive) { in __trace_fprobe_create() 1115 if (maxactive > RETHOOK_MAXACTIVE_MAX) { in __trace_fprobe_create() 1128 if (!is_return && maxactive) { in __trace_fprobe_create() 1201 maxactive, argc, is_return); in __trace_fprobe_create()
|
D | trace_kprobe.c | 268 int maxactive, in alloc_trace_kprobe() argument 296 tk->rp.maxactive = maxactive; in alloc_trace_kprobe() 876 int maxactive = 0; in __trace_kprobe_create() local 918 ret = kstrtouint(buf, 0, &maxactive); in __trace_kprobe_create() 919 if (ret || !maxactive) { in __trace_kprobe_create() 926 if (maxactive > KRETPROBE_MAXACTIVE_MAX) { in __trace_kprobe_create() 1026 tk = alloc_trace_kprobe(group, event, addr, symbol, offset, maxactive, in __trace_kprobe_create() 1280 if (trace_kprobe_is_return(tk) && tk->rp.maxactive) in trace_kprobe_show() 1281 seq_printf(m, "%d", tk->rp.maxactive); in trace_kprobe_show()
|
/linux-6.12.1/samples/kprobes/ |
D | kretprobe_example.c | 77 .maxactive = 20,
|
/linux-6.12.1/Documentation/trace/ |
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-6.12.1/include/linux/ |
D | kprobes.h | 150 int maxactive; member
|
/linux-6.12.1/kernel/ |
D | kprobes.c | 2238 if (rp->maxactive <= 0) in register_kretprobe() 2239 rp->maxactive = max_t(unsigned int, 10, 2*num_possible_cpus()); in register_kretprobe() 2244 rp->data_size, rp->maxactive); in register_kretprobe() 2260 if (objpool_init(&rp->rph->pool, rp->maxactive, rp->data_size + in register_kretprobe()
|
/linux-6.12.1/arch/s390/lib/ |
D | test_unwind.c | 201 my_kretprobe.maxactive = 1; in test_unwind_kretprobe()
|