Skip to content

Commit

Permalink
bpf: fix the process parameter order to match the c and go code (#1479)
Browse files Browse the repository at this point in the history
Signed-off-by: marceloamaral <marcelo.amaral1@ibm.com>
  • Loading branch information
marceloamaral authored May 30, 2024
1 parent 747e7eb commit bdd44b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/bpf/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bdd44b1

Please sign in to comment.