-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use go 1.21 This allows us to use context.WithoutCancel and there's no expected incompatible breaking changes. * Add go.sum from go mod tidy * remove rand.Seed flagged by golint * Change threads
- Loading branch information
1 parent
ce77029
commit 04285e2
Showing
12 changed files
with
93 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/Snowflake-Labs/sansshell | ||
|
||
go 1.19 | ||
go 1.21 | ||
|
||
require ( | ||
github.com/coreos/go-systemd/v22 v22.5.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
services/process/server/testdata/linux_pstack_single_thread.textproto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
stacks : < | ||
thread_number : 1 | ||
stacks : "#0 0x00000000000807ec in runtime.futex.abi0 ()" | ||
stacks : "#1 0x000000000004556c in runtime.futexsleep ()" | ||
> |
3 changes: 3 additions & 0 deletions
3
services/process/server/testdata/linux_pstack_single_thread.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Thread 1 (process 2947021): | ||
#0 0x00000000000807ec in runtime.futex.abi0 () | ||
#1 0x000000000004556c in runtime.futexsleep () |
6 changes: 6 additions & 0 deletions
6
services/process/server/testdata/linux_pstack_single_thread_with_lwp.textproto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
stacks : < | ||
thread_number : 9 | ||
lwp : 19049 | ||
stacks : "#0 0x00000000000807ec in runtime.futex.abi0 ()" | ||
stacks : "#1 0x000000000004556c in runtime.futexsleep ()" | ||
> |
3 changes: 3 additions & 0 deletions
3
services/process/server/testdata/linux_pstack_single_thread_with_lwp.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Thread 9 (LWP 19049 "go"): | ||
#0 0x00000000000807ec in runtime.futex.abi0 () | ||
#1 0x000000000004556c in runtime.futexsleep () |