Home
last modified time | relevance | path

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

/Linux-v5.4/samples/kprobes/
Dkretprobe_example.c76 .maxactive = 20,
/Linux-v5.4/kernel/trace/
Dtrace_kprobe.c261 int maxactive, in alloc_trace_kprobe() argument
289 tk->rp.maxactive = maxactive; in alloc_trace_kprobe()
720 int maxactive = 0; in trace_kprobe_create() local
760 ret = kstrtouint(buf, 0, &maxactive); in trace_kprobe_create()
761 if (ret || !maxactive) { in trace_kprobe_create()
768 if (maxactive > KRETPROBE_MAXACTIVE_MAX) { in trace_kprobe_create()
820 tk = alloc_trace_kprobe(group, event, addr, symbol, offset, maxactive, in trace_kprobe_create()
/Linux-v5.4/include/linux/
Dkprobes.h151 int maxactive; member
/Linux-v5.4/Documentation/
Dkprobes.txt56 a post_handler, and how to use the maxactive and nmissed fields of
124 register_kretprobe(), the user sets the maxactive field of the
130 spinlock held, maxactive = 1 should be enough. If the function is
132 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
438 You must set rp->maxactive appropriately before you call
/Linux-v5.4/kernel/
Dkprobes.c1933 if (rp->maxactive <= 0) { in register_kretprobe()
1935 rp->maxactive = max_t(unsigned int, 10, 2*num_possible_cpus()); in register_kretprobe()
1937 rp->maxactive = num_possible_cpus(); in register_kretprobe()
1942 for (i = 0; i < rp->maxactive; i++) { in register_kretprobe()