Skip to content

Commit

Permalink
Add support for JUMP_LABEL batch-mode feature for ARM64
Browse files Browse the repository at this point in the history
ARM64 added support for JUMP_LABEL batch-mode feature. This commit
adds support for it and addresses #351
  • Loading branch information
Adam-pi3 authored and solardiz committed Aug 26, 2024
1 parent 948d551 commit 2368380
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ char p_arch_jump_label_transform_kretprobe_state = 0;
p_lkrg_counter_lock p_jl_lock;

static struct kretprobe p_arch_jump_label_transform_kretprobe = {
#if defined(CONFIG_ARM64) && defined(HAVE_JUMP_LABEL_BATCH)
.kp.symbol_name = "arch_jump_label_transform_queue",
#else
.kp.symbol_name = "arch_jump_label_transform",
#endif
.handler = p_arch_jump_label_transform_ret,
.entry_handler = p_arch_jump_label_transform_entry,
.data_size = sizeof(struct p_arch_jump_label_transform_data),
Expand Down

0 comments on commit 2368380

Please sign in to comment.