Searched refs:maxactive (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/samples/kprobes/
H A Dkretprobe_example.c75 .maxactive = 20,
100 /* nmissed > 0 suggests that maxactive was set too low. */ kretprobe_exit()
/linux-4.1.27/include/linux/
H A Dkprobes.h177 * User needs to provide a handler function, and initialize maxactive.
178 * maxactive - The maximum number of instances of the probed function that
181 * ignored, due to maxactive being too low.
188 int maxactive; member in struct:kretprobe
/linux-4.1.27/kernel/
H A Dkprobes.c1861 if (rp->maxactive <= 0) { register_kretprobe()
1863 rp->maxactive = max_t(unsigned int, 10, 2*num_possible_cpus()); register_kretprobe()
1865 rp->maxactive = num_possible_cpus(); register_kretprobe()
1870 for (i = 0; i < rp->maxactive; i++) { register_kretprobe()

Completed in 112 milliseconds