Home
last modified time | relevance | path

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

12

/arch/powerpc/kernel/
Dkprobes.c116 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
123 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
162 if (kcb->kprobe_status == KPROBE_HIT_SS && in kprobe_handler()
180 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler()
227 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
250 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler()
267 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
375 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
376 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler()
385 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler()
[all …]
/arch/sh/kernel/
Dkprobes.c127 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
133 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
235 if (kcb->kprobe_status == KPROBE_HIT_SS && in kprobe_handler()
249 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler()
278 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
286 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
381 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
382 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler()
407 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler()
426 switch (kcb->kprobe_status) { in kprobe_fault_handler()
[all …]
/arch/arc/kernel/
Dkprobes.c85 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
91 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
219 kcb->kprobe_status = KPROBE_REENTER; in arc_kprobe_handler()
224 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in arc_kprobe_handler()
235 kcb->kprobe_status = KPROBE_HIT_SS; in arc_kprobe_handler()
243 kcb->kprobe_status = KPROBE_HIT_SS; in arc_kprobe_handler()
274 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in arc_post_kprobe_handler()
275 kcb->kprobe_status = KPROBE_HIT_SSDONE; in arc_post_kprobe_handler()
279 if (kcb->kprobe_status == KPROBE_REENTER) { in arc_post_kprobe_handler()
303 switch (kcb->kprobe_status) { in kprobe_fault_handler()
[all …]
/arch/tile/kernel/
Dkprobes.c155 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
162 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
203 if (kcb->kprobe_status == KPROBE_HIT_SS && in kprobe_handler()
218 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler()
254 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
263 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
297 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
298 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler()
305 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler()
324 if (kcb->kprobe_status & KPROBE_HIT_SS) { in kprobe_fault_handler()
/arch/avr32/kernel/
Dkprobes.c22 static unsigned long kprobe_status; variable
129 if (kprobe_status == KPROBE_HIT_SS) { in kprobe_handler()
149 kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
157 kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
175 kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler()
195 if (kprobe_status & KPROBE_HIT_SS) { in kprobe_fault_handler()
/arch/arm/probes/kprobes/
Dcore.c204 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
210 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
270 switch (kcb->kprobe_status) { in kprobe_handler()
278 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler()
294 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
304 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
307 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler()
323 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
326 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler()
355 switch (kcb->kprobe_status) { in kprobe_fault_handler()
[all …]
Dopt-arm.c181 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in optimized_callback()
/arch/sparc/kernel/
Dkprobes.c79 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
87 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
132 if (kcb->kprobe_status == KPROBE_HIT_SS) { in kprobe_handler()
146 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler()
182 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
188 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
304 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
305 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler()
312 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler()
329 switch(kcb->kprobe_status) { in kprobe_fault_handler()
[all …]
/arch/mips/kernel/
Dkprobes.c219 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
228 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
354 if (kcb->kprobe_status == KPROBE_HIT_SS && in kprobe_handler()
371 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler()
412 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
422 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_handler()
428 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
446 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobe_handler()
447 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobe_handler()
456 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobe_handler()
[all …]
/arch/s390/kernel/
Dkprobes.c157 unsigned long status = kcb->kprobe_status; in swap_instruction()
180 kcb->kprobe_status = KPROBE_SWAP_INST; in swap_instruction()
182 kcb->kprobe_status = status; in swap_instruction()
253 kcb->prev_kprobe.status = kcb->kprobe_status; in push_kprobe()
266 kcb->kprobe_status = kcb->prev_kprobe.status; in pop_kprobe()
281 switch (kcb->kprobe_status) { in kprobe_reenter_check()
328 kcb->kprobe_status = KPROBE_REENTER; in kprobe_handler()
339 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
342 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
356 kcb->kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
[all …]
/arch/x86/kernel/kprobes/
Dcore.c499 kcb->prev_kprobe.status = kcb->kprobe_status; in save_previous_kprobe()
508 kcb->kprobe_status = kcb->prev_kprobe.status; in restore_previous_kprobe()
580 kcb->kprobe_status = KPROBE_REENTER; in setup_singlestep()
582 kcb->kprobe_status = KPROBE_HIT_SS; in setup_singlestep()
603 switch (kcb->kprobe_status) { in reenter_kprobe()
661 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_int3_handler()
969 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in kprobe_debug_handler()
970 kcb->kprobe_status = KPROBE_HIT_SSDONE; in kprobe_debug_handler()
975 if (kcb->kprobe_status == KPROBE_REENTER) { in kprobe_debug_handler()
1002 WARN_ON(kcb->kprobe_status != KPROBE_HIT_SS && in kprobe_fault_handler()
[all …]
Dftrace.c38 kcb->kprobe_status = KPROBE_HIT_SSDONE; in __skip_singlestep()
84 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_ftrace_handler()
/arch/ia64/kernel/
Dkprobes.c392 kcb->prev_kprobe[i-1].status = kcb->kprobe_status; in save_previous_kprobe()
400 kcb->kprobe_status = kcb->prev_kprobe[i-1].status; in restore_previous_kprobe()
805 if ((kcb->kprobe_status == KPROBE_HIT_SS) && in pre_kprobes_handler()
820 kcb->kprobe_status = KPROBE_REENTER; in pre_kprobes_handler()
862 kcb->kprobe_status = KPROBE_HIT_ACTIVE; in pre_kprobes_handler()
887 kcb->kprobe_status = KPROBE_HIT_SS; in pre_kprobes_handler()
903 if ((kcb->kprobe_status != KPROBE_REENTER) && cur->post_handler) { in post_kprobes_handler()
904 kcb->kprobe_status = KPROBE_HIT_SSDONE; in post_kprobes_handler()
911 if (kcb->kprobe_status == KPROBE_REENTER) { in post_kprobes_handler()
928 switch(kcb->kprobe_status) { in kprobe_fault_handler()
[all …]
/arch/avr32/include/asm/
Dkprobes.h37 unsigned int kprobe_status; member
/arch/sparc/include/asm/
Dkprobes.h39 unsigned long kprobe_status; member
/arch/arc/include/asm/
Dkprobes.h45 unsigned int kprobe_status; member
/arch/tile/include/asm/
Dkprobes.h63 unsigned long kprobe_status; member
/arch/sh/include/asm/
Dkprobes.h41 unsigned long kprobe_status; member
/arch/mips/include/asm/
Dkprobes.h82 unsigned long kprobe_status; member
/arch/s390/include/asm/
Dkprobes.h73 unsigned long kprobe_status; member
/arch/arm/include/asm/
Dkprobes.h42 unsigned int kprobe_status; member
/arch/x86/include/asm/
Dkprobes.h106 unsigned long kprobe_status; member
/arch/ia64/include/asm/
Dkprobes.h79 unsigned long kprobe_status; member
/arch/powerpc/include/asm/
Dkprobes.h124 unsigned long kprobe_status; member
/arch/mn10300/kernel/
Dkprobes.c38 static unsigned long kprobe_status; variable
469 kprobe_status = KPROBE_HIT_ACTIVE; in kprobe_handler()
478 kprobe_status = KPROBE_HIT_SS; in kprobe_handler()
555 if (kprobe_status & KPROBE_HIT_SS) { in kprobe_fault_handler()

12