Home
last modified time | relevance | path

Searched refs:maxactive (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/kernel/trace/
H A Dtrace_fprobe.c388 int maxactive, in alloc_trace_fprobe() argument
408 tf->fp.nr_maxactive = maxactive; in alloc_trace_fprobe()
992 int maxactive = 0; in __trace_fprobe_create() local
1028 ret = kstrtouint(buf, 0, &maxactive); in __trace_fprobe_create()
1029 if (ret || !maxactive) { in __trace_fprobe_create()
1036 if (maxactive > RETHOOK_MAXACTIVE_MAX) { in __trace_fprobe_create()
1049 if (!is_return && maxactive) { in __trace_fprobe_create()
1112 tf = alloc_trace_fprobe(group, event, symbol, tpoint, maxactive, in __trace_fprobe_create()
H A Dtrace_kprobe.c261 int maxactive, in alloc_trace_kprobe() argument
289 tk->rp.maxactive = maxactive; in alloc_trace_kprobe()
779 int maxactive = 0; in __trace_kprobe_create() local
820 ret = kstrtouint(buf, 0, &maxactive); in __trace_kprobe_create()
821 if (ret || !maxactive) { in __trace_kprobe_create()
828 if (maxactive > KRETPROBE_MAXACTIVE_MAX) { in __trace_kprobe_create()
941 tk = alloc_trace_kprobe(group, event, addr, symbol, offset, maxactive, in __trace_kprobe_create()
1194 if (trace_kprobe_is_return(tk) && tk->rp.maxactive) in trace_kprobe_show()
1195 seq_printf(m, "%d", tk->rp.maxactive); in trace_kprobe_show()
/openbmc/linux/samples/kprobes/
H A Dkretprobe_example.c77 .maxactive = 20,
/openbmc/linux/Documentation/trace/
H A Dkprobes.rst57 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
424 You must set rp->maxactive appropriately before you call
/openbmc/linux/include/linux/
H A Dkprobes.h151 int maxactive; member
/openbmc/linux/kernel/
H A Dkprobes.c2238 if (rp->maxactive <= 0) in register_kretprobe()
2239 rp->maxactive = max_t(unsigned int, 10, 2*num_possible_cpus()); in register_kretprobe()
2246 for (i = 0; i < rp->maxactive; i++) { in register_kretprobe()
2269 for (i = 0; i < rp->maxactive; i++) { in register_kretprobe()
/openbmc/linux/arch/s390/lib/
H A Dtest_unwind.c201 my_kretprobe.maxactive = 1; in test_unwind_kretprobe()