I am trying to build a kernel module for profiling application. My source code is trying to access tracepoints_ptr in struct module. But it is not available and throws an error.
“error: struct module has no member named num_tracepoints”
OS:Debian GNU/Linux buster/sid
Kernel: Linux linaro-alip 4.11.0-qcomlt #1 SMP PREEMPT Mon Nov 6 23:24:36 UTC 2017 aarch64 GNU/Linux
How can I fix this issue?