Skip to content

Commit

Permalink
WIP: Work version
Browse files Browse the repository at this point in the history
  • Loading branch information
afek854 committed Oct 30, 2024
1 parent 9000fe8 commit b5c3d72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Binary file modified support/ebpf/tracer.ebpf.release.amd64
Binary file not shown.
5 changes: 2 additions & 3 deletions support/ebpf/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,8 @@ typedef struct __attribute__((packed)) ApmCorrelationBuf {

// Container for a stack trace
typedef struct Trace {
// Pt Regs
struct pt_regs registers;
// The process ID
// NOTE: Confusingly, this is what Linux calls "tgid"
u32 pid;
Expand All @@ -535,9 +537,6 @@ typedef struct Trace {
u32 stack_len;
// The frames of the stack trace.
Frame frames[MAX_FRAME_UNWINDS];

struct pt_regs registers;

// NOTE: both send_trace in BPF and loadBpfTrace in UM code require `frames`
// to be the last item in the struct. Do not add new members here without also
// adjusting the UM code.
Expand Down

0 comments on commit b5c3d72

Please sign in to comment.