kprobes.c (fb610f2a2006322bebeb30408fefce6a01df09ea) | kprobes.c (453b7740ebfda2d84be7fb583c54f0c91c592869) |
---|---|
1/* 2 * arch/arm64/kernel/probes/kprobes.c 3 * 4 * Kprobes support for ARM64 5 * 6 * Copyright (C) 2013 Linaro Limited. 7 * Author: Sandeepa Prabhu <sandeepa.prabhu@linaro.org> 8 * --- 456 unchanged lines hidden (view full) --- 465static int __kprobes 466kprobe_breakpoint_handler(struct pt_regs *regs, unsigned int esr) 467{ 468 kprobe_handler(regs); 469 return DBG_HOOK_HANDLED; 470} 471 472static struct break_hook kprobes_break_hook = { | 1/* 2 * arch/arm64/kernel/probes/kprobes.c 3 * 4 * Kprobes support for ARM64 5 * 6 * Copyright (C) 2013 Linaro Limited. 7 * Author: Sandeepa Prabhu <sandeepa.prabhu@linaro.org> 8 * --- 456 unchanged lines hidden (view full) --- 465static int __kprobes 466kprobe_breakpoint_handler(struct pt_regs *regs, unsigned int esr) 467{ 468 kprobe_handler(regs); 469 return DBG_HOOK_HANDLED; 470} 471 472static struct break_hook kprobes_break_hook = { |
473 .imm = BRK64_ESR_KPROBES, | 473 .imm = KPROBES_BRK_IMM, |
474 .fn = kprobe_breakpoint_handler, 475}; 476 477/* 478 * Provide a blacklist of symbols identifying ranges which cannot be kprobed. 479 * This blacklist is exposed to userspace via debugfs (kprobes/blacklist). 480 */ 481int __init arch_populate_kprobe_blacklist(void) --- 128 unchanged lines hidden --- | 474 .fn = kprobe_breakpoint_handler, 475}; 476 477/* 478 * Provide a blacklist of symbols identifying ranges which cannot be kprobed. 479 * This blacklist is exposed to userspace via debugfs (kprobes/blacklist). 480 */ 481int __init arch_populate_kprobe_blacklist(void) --- 128 unchanged lines hidden --- |