Skip to content

Commit

Permalink
add header
Browse files Browse the repository at this point in the history
  • Loading branch information
sunya-ch committed Jul 11, 2023
1 parent 0d99614 commit ca28d16
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bpfassets/libbpf/src/kepler.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ limitations under the License.
*/

// +build ignore

#include <linux/version.h>

#if (LINUX_KERNEL_VERSION >= KERNEL_VERSION(5, 12, 0))
#define BPF_PERF_EVENT_READ_VALUE_AVAILABLE 1
#endif

#include "kepler.bpf.h"

// processes and pid time
Expand Down

0 comments on commit ca28d16

Please sign in to comment.