From c3e16021bf542090d4bdb86f1a54493965e775d0 Mon Sep 17 00:00:00 2001 From: marceloamaral Date: Thu, 30 May 2024 20:02:35 +0900 Subject: [PATCH] bpf: fix the process parameter order to match the c and go code Signed-off-by: marceloamaral --- pkg/bpf/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bpf/types.go b/pkg/bpf/types.go index a5be755f71..f2fbf98c09 100644 --- a/pkg/bpf/types.go +++ b/pkg/bpf/types.go @@ -46,8 +46,8 @@ type SupportedMetrics struct { // must be in sync with bpf program type ProcessBPFMetrics struct { CGroupID uint64 - ThreadPID uint64 /* thread id */ PID uint64 /* TGID of the threads, i.e. user space pid */ + ThreadPID uint64 /* thread id */ ProcessRunTime uint64 /* in ms */ TaskClockTime uint64 /* in ms */ CPUCycles uint64