Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alignchecker: refactor into single gotest #1588

Merged
merged 4 commits into from
Oct 13, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bpf/alignchecker: give structs names that match their types
This should make it easier to add new structs going forward without worrying about
changing numbering.

Signed-off-by: William Findlay <will@isovalent.com>
willfindlay committed Oct 12, 2023

Verified

This commit was signed with the committer’s verified signature.
willfindlay William Findlay
commit ffe4b9a22e1557967eef75357598b810635e86f3
27 changes: 14 additions & 13 deletions bpf/alignchecker/bpf_alignchecker.c
Original file line number Diff line number Diff line change
@@ -7,18 +7,19 @@
#include "process/retprobe_map.h"
#include "process/types/basic.h"

struct msg_generic_kprobe _1;
struct msg_execve_event _2;
struct msg_exit _3;
struct msg_test _4;
struct msg_cgroup_event _5;
struct msg_cred _6;
struct msg_cred_minimal _7;
// event messages
struct msg_generic_kprobe _msg_generic_kprobe;
struct msg_execve_event _msg_execve_event;
struct msg_exit _msg_exit;
struct msg_test _msg_test;
struct msg_cgroup_event _msg_cgroup_event;
struct msg_cred _msg_cred;
struct msg_cred_minimal _msg_cred_minimal;

// from maps
struct event _8;
struct msg_execve_key _9;
struct execve_map_value _10;
struct event_config _11;
struct tetragon_conf _12;
struct cgroup_tracking_value _13;
struct event _event;
struct msg_execve_key _msg_execve_key;
struct execve_map_value _execve_map_value;
struct event_config _event_config;
struct tetragon_conf _tetragon_conf;
struct cgroup_tracking_value _cgroup_tracking_value;