Skip to content

Commit

Permalink
libbpf-tools/opensnoop: remove unused variable and macro
Browse files Browse the repository at this point in the history
The variable min_us and macro TASK_RUNNING are not used, remove them.

Signed-off-by: Yuntao Wang <[email protected]>
  • Loading branch information
ytcoode committed Feb 21, 2022
1 parent f96fed0 commit 9467ca4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libbpf-tools/opensnoop.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
#include <bpf/bpf_helpers.h>
#include "opensnoop.h"

#define TASK_RUNNING 0

const volatile __u64 min_us = 0;
const volatile pid_t targ_pid = 0;
const volatile pid_t targ_tgid = 0;
const volatile uid_t targ_uid = 0;
Expand Down

0 comments on commit 9467ca4

Please sign in to comment.