Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasberlin committed Nov 6, 2024
1 parent 2a93bf7 commit e608192
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GPL/Events/File/Probe.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ static int vfs_unlink__exit(int ret)
goto out;
}

event->hdr.type = EBPF_EVENT_FILE_DELETE;
event->hdr.type = EBPF_EVENT_FILE_DELETE;
event->hdr.ts = bpf_ktime_get_ns();
event->hdr.ts_boot = bpf_ktime_get_boot_ns_helper();
ebpf_pid_info__fill(&event->pids, task);
Expand Down
4 changes: 2 additions & 2 deletions GPL/Events/Process/Probe.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ int BPF_PROG(sched_process_fork, const struct task_struct *parent, const struct
if (!event)
goto out;

event->hdr.type = EBPF_EVENT_PROCESS_FORK;
event->hdr.type = EBPF_EVENT_PROCESS_FORK;
event->hdr.ts = bpf_ktime_get_ns();
event->hdr.ts_boot = bpf_ktime_get_boot_ns_helper();
ebpf_pid_info__fill(&event->parent_pids, parent);
Expand Down Expand Up @@ -440,7 +440,7 @@ int tracepoint_syscalls_sys_enter_memfd_create(struct syscall_trace_enter *ctx)
event->hdr.type = EBPF_EVENT_PROCESS_MEMFD_CREATE;
event->hdr.ts = bpf_ktime_get_ns();
event->hdr.ts_boot = bpf_ktime_get_boot_ns_helper();
event->flags = ex_args->flags;
event->flags = ex_args->flags;

ebpf_pid_info__fill(&event->pids, task);

Expand Down

0 comments on commit e608192

Please sign in to comment.