Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit d531729

Browse files
author
Zhao Ni
committed
Added KBUILD_MODNAME to support RHEL8.3 build.
1 parent 293898b commit d531729

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bcc_sensor.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
#define randomized_struct_fields_end };
1919
#endif
2020

21+
#ifndef KBUILD_MODNAME
22+
#define KBUILD_MODNAME "vmw_bcc_bpfsensor"
23+
#endif
24+
2125
#include <uapi/linux/limits.h>
2226
#include <uapi/linux/in.h>
2327
#include <uapi/linux/ip.h>

0 commit comments

Comments
 (0)