Skip to content

Commit 325ef4f

Browse files
committed
fix(perf-profiler): undeclared function 'div_u64' on arm64 kernel >v6.8
Signed-off-by: Moleus <fafufuburr@gmail.com>
1 parent c674687 commit 325ef4f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/stirling/bpf_tools/bcc_bpf/task_struct_utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#pragma once
2525

2626
#include <linux/sched.h>
27+
#include <linux/math64.h>
2728

2829
// Between linux v6.1 and v6.8, NSEC_PER_SEC is no longer defined by including
2930
// linux/sched.h. This ifndef covers newer kernels that won't have it defined.

0 commit comments

Comments
 (0)