trace-bpfcc cannot trace the function in ./src directory? #798
Replies: 2 comments
-
This is probably because the modules don't inherit the kbuild flags properly. There is a patch in #675 that you can try. I hope we can add a simpler makefile switch to include these flags in the future. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you very much, it works after apply the patch. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I build the nvidia.ko with flag
NV_BUILD_TYPE=debug DEBUG=1
,but trace-bpfcc report error:The function
nvGpuOpsFreeDupedHandle
exist in/proc/kallsym
.The function
nvUvmInterfaceFreeDupedHandle nv_dma_unmap_pages
can be traceed. Seem list the functions defined insrc
directory cannot be traced , defined inkernel-open/nvidia
can be traced. Someone know the reson?Beta Was this translation helpful? Give feedback.
All reactions