Skip to content

Commit

Permalink
Remove unused struct
Browse files Browse the repository at this point in the history
Test Plan
=========

CI
  • Loading branch information
javierhonduco committed Nov 4, 2024
1 parent c3218a0 commit d5a5da1
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/bpf/profiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,6 @@ const volatile struct lightswitch_config_t lightswitch_config = {
} \
})

// The addresses of a native stack trace.
typedef struct {
u64 len;
u64 addresses[MAX_STACK_DEPTH];
} stack_trace_t;

// Represents an executable mapping.
typedef struct {
u64 executable_id;
Expand Down Expand Up @@ -164,9 +158,10 @@ typedef struct __attribute__((packed)) {
_Static_assert(sizeof(stack_unwind_row_t) == 8,
"unwind row has the expected size");

// The addresses of a native stack trace.
typedef struct {
unsigned long long addresses[MAX_STACK_DEPTH];
unsigned long long len;
u64 len;
u64 addresses[MAX_STACK_DEPTH];
} native_stack_t;

typedef struct {
Expand Down

0 comments on commit d5a5da1

Please sign in to comment.