Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
tzussman committed May 22, 2024
1 parent e2e2faa commit f3adec4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/core_fixes.bpf.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ enum mod_mem_type___x {
MOD_INVALID___x = -1,
};

#define MODULE_NAME_LEN 56 /* /include/linux/module.h */

struct module_memory___x {
void *base;
unsigned int size;
Expand Down
1 change: 1 addition & 0 deletions src/kmodleak.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#define ALLOCS_MAX_ENTRIES 1000000

#define MODULE_NAME_LEN 56 /* /include/linux/module.h */
#define PERF_MAX_STACK_DEPTH 127 /* /include/uapi/linux/perf_event.h */

struct alloc_info {
Expand Down

0 comments on commit f3adec4

Please sign in to comment.