You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good day, this bug is related to the linux kernel, but the problem was found when sysdig is running with bpf driver. So maybe you will help me to understand how to resolve it faster, as there is no reaction from kernel team.
This bug was created for kernel team: https://bugzilla.kernel.org/show_bug.cgi?id=218298
Have found next issue on my arm64 machine.
If I run next bpf tracepoint code with bpftrace on x64 machine:
So as I understand this child tracepoint call - is some special case.
So the question is what behaviour is correct for tracepoints - to get both calls (parent and child) or only parent. For our application logic we need both.
Have checked this issue on kernel 6.7 - rc6.
The text was updated successfully, but these errors were encountered:
Good day, this bug is related to the linux kernel, but the problem was found when sysdig is running with bpf driver. So maybe you will help me to understand how to resolve it faster, as there is no reaction from kernel team.
This bug was created for kernel team: https://bugzilla.kernel.org/show_bug.cgi?id=218298
Have found next issue on my arm64 machine.
If I run next bpf tracepoint code with bpftrace on x64 machine:
bpftrace -e 'tracepoint:syscalls:sys_exit_clone { printf("clone %d %d\n", pid, args->ret);}'
and run any program, for example 'ls -la'
I will get 2 logs (tracepoint calls):
clone 2266 2267
clone 2267 0
One for parent process, second for child process.
But if I run this code on arm64 machine (checked on AWS and M2 Mac processors) I get only parent syscall.
I have also checked kprobes by running this code on x64 machine:
bpftrace -e 'kretprobe:__x64_sys_clone { printf("clone %d %d\n", pid, retval);}'
And in this case I also get only parent syscall.
So as I understand this child tracepoint call - is some special case.
So the question is what behaviour is correct for tracepoints - to get both calls (parent and child) or only parent. For our application logic we need both.
Have checked this issue on kernel 6.7 - rc6.
The text was updated successfully, but these errors were encountered: