Skip to content

Commit

Permalink
md detail
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzihengya committed Dec 22, 2023
1 parent b628ffb commit c69f820
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions eBPF_Supermarket/CPU_Subsystem/eBPF_proc_image/proc_image.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,12 @@ static void sig_handler(int signo)

int main(int argc, char **argv)
{
struct resource_image_bpf *resource_skel;
struct syscall_image_bpf *syscall_skel;
struct resource_image_bpf *resource_skel = NULL;
struct syscall_image_bpf *syscall_skel = NULL;
struct ring_buffer *syscall_rb = NULL;
struct lock_image_bpf *lock_skel;
struct lock_image_bpf *lock_skel = NULL;
struct ring_buffer *lock_rb = NULL;
struct keytime_image_bpf *keytime_skel;
struct keytime_image_bpf *keytime_skel = NULL;
struct ring_buffer *keytime_rb = NULL;
pthread_t thread_enable;
int err;
Expand Down Expand Up @@ -489,7 +489,6 @@ int main(int argc, char **argv)

}


if(env.enable_syscall){
syscall_skel = syscall_image_bpf__open();
if(!syscall_skel) {
Expand Down

0 comments on commit c69f820

Please sign in to comment.