Skip to content

Commit

Permalink
Remove unused relative timestamp config option
Browse files Browse the repository at this point in the history
The option setting it was superseded by --timestamp=relative and is thus
unused since commit 93fee0a ("Make timestamp optional").

Signed-off-by: Tobias Klauser <tobias@cilium.io>
  • Loading branch information
tklauser committed Jan 10, 2024
1 parent 05cc882 commit af9ed1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion bpf/kprobe_pwru.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ struct config {
u32 netns;
u32 mark;
u32 ifindex;
u8 output_timestamp;
u8 output_meta;
u8 output_tuple;
u8 output_skb;
Expand Down
9 changes: 4 additions & 5 deletions internal/pwru/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ type FilterCfg struct {
FilterIfindex uint32

// TODO: if there are more options later, then you can consider using a bit map
OutputRelativeTS uint8
OutputMeta uint8
OutputTuple uint8
OutputSkb uint8
OutputStack uint8
OutputMeta uint8
OutputTuple uint8
OutputSkb uint8
OutputStack uint8

IsSet byte
TrackSkb byte
Expand Down

0 comments on commit af9ed1c

Please sign in to comment.