Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Feb 7, 2024
1 parent ecf0036 commit 38426ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/dwarf/frame/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func executeDWARFInstruction(ctx *Context) {
fn(ctx)
}

// getPid gets the Process ID as a string from the fullExecutablePath provided
// getPid gets the Process ID as a string from the fullExecutablePath provided.
func getPid(fullExecutablePath string) string {
return strings.Split(fullExecutablePath, "/")[2]
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/stack/unwind/unwind_table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/parca-dev/parca-agent/internal/dwarf/frame"
)

// TODO(Sylfrena): Add equivalent test for arm64
// TODO(Sylfrena): Add equivalent test for arm64.
func TestBuildUnwindTable(t *testing.T) {
fdes, _, err := ReadFDEs("../../../testdata/out/x86/basic-cpp")
require.NoError(t, err)
Expand Down

0 comments on commit 38426ed

Please sign in to comment.