Skip to content

Commit

Permalink
fix(bpf): restore command label in process metrics
Browse files Browse the repository at this point in the history
Process metrics was missing `command` label (command="") because of the
`pad` that got added to the bpf process_metrics_t in #1481.

Fixes #1519

Signed-off-by: Sunil Thaha <sthaha@redhat.com>
  • Loading branch information
sthaha committed Jun 12, 2024
1 parent f807bc5 commit 330a531
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bpfassets/libbpf/src/kepler.bpf.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ typedef struct process_metrics_t {
u64 cache_miss;
u64 page_cache_hit;
u16 vec_nr[10];
u32 pad;
char comm[16];
} process_metrics_t;

Expand Down

0 comments on commit 330a531

Please sign in to comment.