Commit Graph

1928 Commits (6ff1f56e09faf47d1cfabd49fa5a9b4890af49f3)
 

Author SHA1 Message Date
shirou 27a7c1c06b
Merge pull request #1147 from elmeyer/fix-windows-11
host, v3/host (Windows): Fix Windows 11 reporting
lufia 0eae055018 [v3][mem] add plan9 support
Lars Meyer db020a3546 [host][windows][v3] Fix Windows 11 reporting
While ProductName remains "Windows 10", versions with Build no. >= 22000
are Windows 11.
Lars Meyer a7d936d0a4 [host][windows] Fix Windows 11 reporting
While ProductName remains "Windows 10", versions with Build no. >= 22000
are Windows 11.
shirou 3a63fa472d
Merge pull request #1146 from shirou/feature/add_missing_commits
[v3][mem] add missing files.
maier 4dcbf38c38 remove go1.17 build constraint
shirou 3ff6b5dd8b [v3][mem] add missing files.
shirou fd4fbd9c79
Merge pull request #1121 from scop/lint
Lint fixes
shirou 5bdd02c944
Merge pull request #1140 from punya/proc-created-v3
Copy load.MiscStat ProcsCreated field from v2 to v3 (supersedes #1123)
Punya Biswal 1a0c514676 Poke CI
Punya Biswal a8969d01e8 Poke CI
maier d644c6bef6 fix: mem/mem_solaris.go:148:42: cannot use swapsCommandPath (type string) as type context.Context in argument to invoke.CommandWithContext - add ctx to call
maier 87fc40cbd6 fix: mem/mem_solaris.go:146:59: undefined: swapCommand - typo swapsCommand
Punya Biswal 7b10596d95 Poke CI
shirou 5e4b256b03
Merge pull request #1141 from shirou/feature/update_github_action_environment_202110
Update github action virtual environments and golang version
shirou bf37f4d1ec Update github action virtual environments and golang version
Golang: 15,16 -> 16, 17
Ubuntu: 1604, 1804 -> 1804, 2004
Mac: 10.14, 11.0 -> 10.15, 11
Punya Biswal bf1ba03736 Copy BSD implementation to v3
shirou b057cf4b84 add release recipe in Makefile
shirou c2f6682078
Merge pull request #1133 from derekhjray/master
v3/diss (Linux): fix disk retrieve partition issue while using in container
shirou b39f8bb90e
[v2][disk][linux] apply DiskPartiton change to v2
shirou 8d02cf8b0c
Merge pull request #1138 from shirou/feature/v3_add_swapdevice
[mem] Add mem.SwapDevices() to v3
shirou 7be7e7807f [process] extend maxElapsedTime on process_test
shirou 9e82343ffb [mem] fix import path
shirou 8177d340fd [mem] Add swapdevice
shirou 8d7a3abddb
Merge pull request #1131 from punya/tbarker25-swap-contd
Add swapdevices method (continued from #1120)
shirou 532241fa78
Merge pull request #1137 from mx-psi/mx-psi/fix-duplicate-symbol
Rename `readdrivestat` function on v3
shirou 582bb14d8a
[linux][mem] remove unnecessary import
Pablo Baeyens 78e8d0adf0
Rename 'readdrivestat' function on v3
Signed-off-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
Punya Biswal 32b14a3723 Use invoke.CommandWithContext
Florent 27a70bceed Change usage from os.*File.Readdir to os.*File.ReadDir.
shirou cc70488af8
Merge pull request #1134 from rasa/patch-2
Fix minor typos, formatting tweaks
Ross Smith II 5f0e37d823
Fix minor typos, formatting tweaks
shirou 80d5b57405
Merge pull request #1132 from rasa/rasa/add_arm_support
Add arm/arm64 support on Windows (fixes #916)
Derek Ray 1fa38051cb v3/diss (Linux): fix disk retrieve partition issue while using in container
Ross Smith II 14b7231917 Add arm/arm64 support on Windows
shirou ce5729cbcd
Merge pull request #1130 from sunshineplan/master
v3/process (Win): fix Kill() DuplicateHandle error
Punya Biswal 5169bfe02d
Update mem/mem_bsd.go
Co-authored-by: shirou <shirou.faw@gmail.com>
Punya Biswal 7c1aa06a5e Respond to review comments
* use LookPath for better error messages
* support procfs in containers
sunshineplan 785e379e67 v3/process (Win): fix Kill() DuplicateHandle error
shirou f8cc3bd072
Merge pull request #1128 from shibukawa/fix/readmeformat
convert README from reStructuredText to Markdown
Yoshiki Shibukawa 05e51b6d4b convert README from reStructuredText to Markdown
shirou 5268453c1e
Merge pull request #1126 from tklauser/sysconf-update
Update github.com/tklauser/go-sysconf to v0.3.9
Tobias Klauser b764840fbf Update github.com/tklauser/go-sysconf to v0.3.9
This fixes the build with older Go versions due to missing GOARCH build
tags.

Release notes: https://github.com/tklauser/go-sysconf/releases/tag/v0.3.9
List of changes: https://github.com/tklauser/go-sysconf/compare/v0.3.8...v0.3.9
shirou 0d0659af18
Merge pull request #1122 from secDre4mer/master
chore: Drop PROCESS_QUERY_INFORMATION support
shirou 595a6297e0
Merge pull request #1119 from tbarker25/process-fixes-1
Fixes for Test_Connections in process_linux.go
Tom Barker 9248140c98 Wait for server connection to be established before checking
connections.
Tom Barker d26900de91 Copy ProcessCreated field from v2 to v3.
Tom Barker bc4661937d Minor cleanups motivated by staticcheck warnings.
Tom Barker 5ce887df8f Make sure that Test_AllProcesses_cmdLine doesn't ignore failures.
Tom Barker 34cdfa258b Test_Connections currently fails intermittently on Linux (and maybe
other OSs), and fails consistently if run with `go test -times=N`

On inspection, Go closes TCP connections when they go out of scope and
are garbage collected. I've re-written Test_Connections() to explicitly
close connectections once the test has finished. This has the other
benefit of closing gracefully, which means the -times argument should
work.

I've also removed the t.Skip() calls inside goroutines as they are
unsupported.