Using the volatile variable jiffies in a bpftrace program - getting ERROR: Unknown identifier #2633
Answered
by
chengshuyi
tariromukute
asked this question in
Q&A
-
Hi. I am trying to calculate the RTT from an SCTP heartbeat packet on the kprobe
Is it possible for me to reference the kernel jiffies variable, if so what am I missing, if not, are there any workarounds? |
Beta Was this translation helpful? Give feedback.
Answered by
chengshuyi
Jun 5, 2023
Replies: 1 comment 3 replies
-
eBPF already has the bpf_jiffies64 helper function, but it seems that bpftrace does not support it yet |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
tariromukute
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
eBPF already has the bpf_jiffies64 helper function, but it seems that bpftrace does not support it yet