Home
last modified time | relevance | path

Searched refs:kprobe_status (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/arch/sh/kernel/
Dkprobes.c124 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
130 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
233 if (kcb->kprobe_status == KPROBE_HIT_SS && in kprobe_handler()
247 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler()
271 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
281 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
321 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
322 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler()
347 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler()
366 switch (kcb->kprobe_status) { in kprobe_fault_handler()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dkprobes.c187 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
194 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
321 if (kcb->kprobe_status == KPROBE_HIT_SS && is_trap(insn)) { in kprobe_handler()
337 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler()
351 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
367 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler()
374 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
448 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in kprobe_post_handler()
449 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_post_handler()
458 if (kcb->kprobe_status == KPROBE_REENTER) { in kprobe_post_handler()
[all …]
Dkprobes-ftrace.c37 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler()
45 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dkprobes.c80 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
88 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
133 if (kcb->kprobe_status == KPROBE_HIT_SS) { in kprobe_handler()
147 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler()
177 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
185 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
301 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
302 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler()
309 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler()
326 switch(kcb->kprobe_status) { in kprobe_fault_handler()
[all …]
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dkprobes.c57 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
63 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
108 kcb->kprobe_status = KPROBE_REENTER; in parisc_kprobe_break_handler()
113 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in parisc_kprobe_break_handler()
123 kcb->kprobe_status = KPROBE_HIT_SS; in parisc_kprobe_break_handler()
143 if (kcb->kprobe_status == KPROBE_REENTER) { in parisc_kprobe_ss_handler()
173 kcb->kprobe_status = KPROBE_HIT_SSDONE; in parisc_kprobe_ss_handler()
Dftrace.c223 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler()
233 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
/kernel/linux/linux-5.10/arch/arc/kernel/
Dkprobes.c82 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
88 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
216 kcb->kprobe_status = KPROBE_REENTER; in arc_kprobe_handler()
221 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in arc_kprobe_handler()
230 kcb->kprobe_status = KPROBE_HIT_SS; in arc_kprobe_handler()
265 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in arc_post_kprobe_handler()
266 kcb->kprobe_status = KPROBE_HIT_SSDONE; in arc_post_kprobe_handler()
270 if (kcb->kprobe_status == KPROBE_REENTER) { in arc_post_kprobe_handler()
294 switch (kcb->kprobe_status) { in kprobe_fault_handler()
305 if (kcb->kprobe_status == KPROBE_REENTER) in kprobe_fault_handler()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dkprobes.c158 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
167 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
293 if (kcb->kprobe_status == KPROBE_HIT_SS && in kprobe_handler()
310 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler()
345 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
356 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler()
362 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
380 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
381 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler()
390 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/probes/
Dkprobes.c147 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
153 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
202 kcb->kprobe_status = KPROBE_REENTER; in setup_singlestep()
204 kcb->kprobe_status = KPROBE_HIT_SS; in setup_singlestep()
225 switch (kcb->kprobe_status) { in reenter_kprobe()
258 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler()
263 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler()
275 switch (kcb->kprobe_status) { in kprobe_fault_handler()
289 if (kcb->kprobe_status == KPROBE_REENTER) { in kprobe_fault_handler()
344 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
/kernel/linux/linux-5.10/arch/csky/kernel/probes/
Dkprobes.c132 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
138 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
195 kcb->kprobe_status = KPROBE_REENTER; in setup_singlestep()
197 kcb->kprobe_status = KPROBE_HIT_SS; in setup_singlestep()
220 switch (kcb->kprobe_status) { in reenter_kprobe()
253 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler()
259 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler()
275 switch (kcb->kprobe_status) { in kprobe_fault_handler()
289 if (kcb->kprobe_status == KPROBE_REENTER) in kprobe_fault_handler()
343 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_breakpoint_handler()
Dftrace.c39 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler()
48 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/
Dcore.c193 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
199 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
267 switch (kcb->kprobe_status) { in kprobe_handler()
275 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler()
291 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
301 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
304 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler()
334 switch (kcb->kprobe_status) { in kprobe_fault_handler()
345 if (kcb->kprobe_status == KPROBE_REENTER) { in kprobe_fault_handler()
/kernel/linux/linux-5.10/arch/x86/kernel/kprobes/
Dcore.c548 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
557 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
628 kcb->kprobe_status = KPROBE_REENTER; in setup_singlestep()
630 kcb->kprobe_status = KPROBE_HIT_SS; in setup_singlestep()
651 switch (kcb->kprobe_status) { in reenter_kprobe()
707 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_int3_handler()
900 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in kprobe_debug_handler()
901 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_debug_handler()
906 if (kcb->kprobe_status == KPROBE_REENTER) { in kprobe_debug_handler()
931 WARN_ON(kcb->kprobe_status != KPROBE_HIT_SS && in kprobe_fault_handler()
[all …]
Dftrace.c36 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler()
44 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dkprobes.c230 kcb->prev_kprobe.status = kcb->kprobe_status; in push_kprobe()
243 kcb->kprobe_status = kcb->prev_kprobe.status; in pop_kprobe()
259 switch (kcb->kprobe_status) { in kprobe_reenter_check()
306 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler()
316 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
322 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
405 if (kcb->kprobe_status != KPROBE_REENTER && p->post_handler) { in post_kprobe_handler()
406 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler()
432 switch(kcb->kprobe_status) { in kprobe_trap_handler()
Dftrace.c219 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler()
228 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_ftrace_handler()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dkprobes.c377 kcb->prev_kprobe[i-1].status = kcb->kprobe_status; in save_previous_kprobe()
385 kcb->kprobe_status = kcb->prev_kprobe[i-1].status; in restore_previous_kprobe()
715 if ((kcb->kprobe_status == KPROBE_HIT_SS) && in pre_kprobes_handler()
730 kcb->kprobe_status = KPROBE_REENTER; in pre_kprobes_handler()
764 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in pre_kprobes_handler()
786 kcb->kprobe_status = KPROBE_HIT_SS; in pre_kprobes_handler()
802 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobes_handler()
803 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobes_handler()
810 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobes_handler()
827 switch(kcb->kprobe_status) { in kprobe_fault_handler()
[all …]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkprobes.h39 unsigned int kprobe_status; member
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dkprobes.h34 unsigned int kprobe_status; member
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dkprobes.h46 unsigned int kprobe_status; member
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dkprobes.h44 unsigned int kprobe_status; member
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dkprobes.h44 unsigned long kprobe_status; member
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dkprobes.h44 unsigned long kprobe_status; member
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dkprobes.h64 unsigned long kprobe_status; member
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dkprobes.h66 unsigned long kprobe_status; member

12