Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ The host agent code is tested with three test suites:
tests. This works great for the user-land portion of the agent, but is unable
to test any of the unwinding logic and BPF interaction.
- **coredump test suite**\
The coredump test suite (`utils/coredump`) we compile the whole BPF unwinder
The coredump test suite (`tools/coredump`) we compile the whole BPF unwinder
code into a user-mode executable, then use the information from a coredump to
simulate a realistic environment to test the unwinder code in. The coredump
suite essentially implements all required BPF helper functions in user-space,
Expand Down
2 changes: 1 addition & 1 deletion processmanager/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

package processmanager

// See also utils/coredump/coredump_test.go for core dump based testing.
// See also tools/coredump/coredump_test.go for core dump based testing.

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion processmanager/processinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package processmanager // import "go.opentelemetry.io/ebpf-profiler/processmanag
// these two components can be audited to be consistent.

// The public functions in this file are restricted to be used from the
// HA/tracer and utils/coredump modules only.
// HA/tracer and tools/coredump modules only.

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion support/ebpf/bpfdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "kernel.h"

#if defined(TESTING_COREDUMP)
// utils/coredump uses CGO to build the eBPF code. Provide here the glue to
// tools/coredump uses CGO to build the eBPF code. Provide here the glue to
// dispatch the BPF API to helpers implemented in ebpfhelpers.go.
#define SEC(NAME)

Expand Down
2 changes: 1 addition & 1 deletion support/ebpf/tracemgmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ static inline __attribute__((__always_inline__)) ErrorCode _push_with_max_frames
}

#ifdef TESTING_COREDUMP
// utils/coredump uses CGO to build the eBPF code. This dispatches
// tools/coredump uses CGO to build the eBPF code. This dispatches
// the frame information directly to helper implemented in ebpfhelpers.go.
int __push_frame(u64, u64, u64, u8, u8);
trace->stack_len++;
Expand Down