|
@@ -30,4 +30,7 @@ struct bpf_map {
|
|
char _license[] SEC("license") = #name; \
|
|
char _license[] SEC("license") = #name; \
|
|
int _version SEC("version") = LINUX_VERSION_CODE;
|
|
int _version SEC("version") = LINUX_VERSION_CODE;
|
|
|
|
|
|
|
|
+static int (*probe_read)(void *dst, int size, const void *unsafe_addr) = (void *)BPF_FUNC_probe_read;
|
|
|
|
+static int (*probe_read_str)(void *dst, int size, const void *unsafe_addr) = (void *)BPF_FUNC_probe_read_str;
|
|
|
|
+
|
|
#endif /* _PERF_BPF_H */
|
|
#endif /* _PERF_BPF_H */
|