diff --git a/scheds/include/scx/sdt_task_impl.bpf.h b/scheds/include/scx/sdt_task_impl.bpf.h index e6ce0b71..1e820191 100644 --- a/scheds/include/scx/sdt_task_impl.bpf.h +++ b/scheds/include/scx/sdt_task_impl.bpf.h @@ -8,7 +8,11 @@ struct { __uint(type, BPF_MAP_TYPE_ARENA); __uint(map_flags, BPF_F_MMAPABLE); __uint(max_entries, 1 << 15); /* number of pages */ +#ifdef __TARGET_ARCH_arm64 + __ulong(map_extra, (1ull << 32)); /* start of mmap() region */ +#else __ulong(map_extra, (1ull << 44)); /* start of mmap() region */ +#endif } arena __weak SEC(".maps"); /*