shirou
9f4dfe70a1
Merge pull request #1258 from shirou/dependabot/github_actions/golangci/golangci-lint-action-3
...
Bump golangci/golangci-lint-action from 2 to 3
2022-02-25 12:03:31 +09:00
dependabot[bot]
a22a057761
Bump golangci/golangci-lint-action from 2 to 3
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 2 to 3.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-25 01:18:01 +00:00
shirou
b47e88a0c4
Merge pull request #1254 from scop/fix/freebsd-iocounters-disk-serial
...
[disk][freebsd] include serial number in IOCounters
2022-02-24 20:56:35 +09:00
shirou
9a667f1188
Merge pull request #1210 from mmorel-35/master
...
enable contextcheck linter
2022-02-24 20:44:35 +09:00
Ville Skyttä
ae0364e211
[disk][freebsd] include serial number in IOCounters
2022-02-22 23:48:14 +02:00
shirou
f6cc3564ce
Merge pull request #1251 from rishabh-arya95/master
...
Add support for reading smaps_rollup
2022-02-20 14:33:47 +09:00
Rishabh Arya
0bf4299250
Add support for reading smaps_rollup
2022-02-17 20:12:19 +00:00
shirou
cf565e04b8
Merge pull request #1242 from scop/feat/solaris-sensors
...
[host][solaris] implement SensorsTemperaturesWithContext
2022-02-12 17:37:00 +09:00
shirou
95dff57bfb
Merge pull request #1247 from shirou/feature/add_freebsd386_to_buildtest
...
Add 386 and arm64 on FreeBSD to build_test
2022-02-12 17:33:25 +09:00
shirou
cfc178fc4b
Add 386 and arm64 on FreeBSD to build_test
2022-02-12 08:06:17 +00:00
shirou
42ae04cfba
Merge pull request #1246 from skozlov404/freebsd_386_createTimeWithContext_fix
...
Fix typing issues in createTimeWithContext on Freebsd/i386
2022-02-12 17:02:52 +09:00
Sergey Kozlov
8ae037c8a1
Fix typing issues in createTimeWithContext on Freebsd/i386
...
Before change:
```
$ GOOS=freebsd GOARCH=386 go build ./process
process\process_freebsd.go:118:26: cannot use k.Start.Sec * 1000 + k.Start.Usec / 1000 (type int32) as type int64 in return argument
```
2022-02-08 21:03:48 +00:00
Ville Skyttä
7a8feb155b
[host][solaris] implement SensorsTemperaturesWithContext
2022-02-05 23:20:11 +02:00
Matthieu MOREL
b0469a470b
Merge branch 'master' into master
2022-02-01 19:28:26 +01:00
shirou
e0ec1b9cda
Merge pull request #1238 from scop/spelling
...
Spelling and grammar fixes
2022-01-31 22:14:00 +09:00
Ville Skyttä
1e56c6f421
Spelling and grammar fixes
2022-01-30 22:48:09 +02:00
shirou
696bb11b1e
Merge pull request #1235 from scop/refactor/parentwithcontext-ppidwithcontext
...
[process] implement ParentWithContext using PpidWithContext
2022-01-30 10:53:11 +09:00
shirou
50cad0760c
Merge branch 'master' into refactor/parentwithcontext-ppidwithcontext
2022-01-30 10:47:00 +09:00
shirou
34e74aaccb
Merge pull request #1229 from PierreF/darwin-drop-callps-step2
...
Darwin drop callps step2
2022-01-30 10:38:10 +09:00
Matthieu MOREL
8ba220d241
enable contextcheck linter
2022-01-24 09:26:50 +01:00
shirou
6918006d35
Merge pull request #1233 from Kogelvis/almalinux_support
...
Let almalinux be part of the rhel family
2022-01-23 14:17:06 +09:00
shirou
5ba00db577
Merge pull request #1231 from shirou/feature/process_linux_Children_fix_error_check
...
[process][linux] Fix error handling on Children.
2022-01-23 14:10:44 +09:00
shirou
72100d4b16
Merge pull request #1234 from shirou/dependabot/go_modules/github.com/google/go-cmp-0.5.7
...
Bump github.com/google/go-cmp from 0.5.6 to 0.5.7
2022-01-23 14:10:06 +09:00
Ville Skyttä
0306525d78
[process] implement ParentWithContext using PpidWithContext
...
Removes need for redundant ParentWithContext implementations. It had led
to it being unsupported on FreeBSD and OpenBSD even though
PpidWithContext was available for them, and different implementations
for getting the parent info used in ParentWithContext and
PpidWithContext on Darwin and Linux.
2022-01-22 18:27:52 +02:00
dependabot[bot]
5d930b5b84
Bump github.com/google/go-cmp from 0.5.6 to 0.5.7
...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.5.6...v0.5.7 )
---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-20 01:22:32 +00:00
Lammert Hellinga
001699bed7
Let almalinux be part of the rhel family
2022-01-19 22:37:51 +01:00
shirou
35fbe38505
[process][linux] Fix error handling on Children.
...
If pgrep returns error, `CallPgrepWithContext` always returns empty pids. So this Children always returns ErrorNoChildren. This PR fixes that handling.
2022-01-15 14:09:57 +00:00
shirou
511da82e94
Merge pull request #1224 from scop/feat/solaris-loadavg
...
[load][solaris] implement AvgWithContext
2022-01-15 17:49:02 +09:00
shirou
29058848ba
Merge pull request #1217 from scop/feat/freebsd-disk-serial
...
[disk][freebsd] implement SerialNumberWithContext
2022-01-15 17:46:41 +09:00
Pierre Fersing
43e50e1d7d
Reduce call to ps for process package on darwin
2022-01-14 09:41:54 +01:00
Pierre Fersing
60eae48e6a
Drop test for Darwin Pids()
2022-01-13 13:27:05 +01:00
Pierre Fersing
b9b3dbe67a
Avoid ps command and use KProc on MacOS
2022-01-13 11:57:04 +01:00
Lomanic
1ccce7b91c
Merge pull request #1223 from shirou/feature/remove_codecov
...
remove codecov
2022-01-12 00:43:40 +01:00
Ville Skyttä
31c410026d
[disk][freebsd] handle SerialNumberWithContext scanner errors
2022-01-11 08:32:36 +02:00
Ville Skyttä
d92d114f90
[load][solaris] implement AvgWithContext
2022-01-10 23:49:07 +02:00
shirou
59e366d674
remove codecov
2022-01-07 08:12:07 +00:00
Ville Skyttä
0d33df272b
[disk][freebsd] return empty serial on `(null)` geom disk ident
2022-01-06 23:16:03 +02:00
shirou
a3ae4bc40d
Merge pull request #1221 from shirou/feature/process_win_fix_dup_handle
...
[process][windows] fix release handle
2022-01-06 22:24:23 +09:00
shirou
dcac9d9b01
[process][windows] fix release handle
2022-01-06 22:16:57 +09:00
shirou
fdfd273cf0
Merge pull request #1218 from scop/feat/freebsd-process-start
...
[process][freebsd] implement createTimeWithContext
2022-01-06 22:04:54 +09:00
shirou
64a13e4c18
Merge pull request #1219 from Lomanic/issue1216
...
[process][windows] Fix #1216 fix compilation on arm/arm64
2022-01-06 21:15:55 +09:00
shirou
b4808b3e94
Merge pull request #1204 from YangKeao/fix-unstable-boottime
...
fix unstable boot time because of float conversion
2022-01-06 21:09:53 +09:00
shirou
c56b5223c5
Merge pull request #1215 from Lomanic/issue1198
...
[net][linux] Fix #1198 "f.ReadDir undefined" on Go 1.15 by redefining a custom readDir according to go version
2022-01-06 20:52:16 +09:00
Lomanic
01cf95a92d
[process][windows] Fix #1216 fix compilation on arm/arm64
...
go build ./... with GOARCH=arm64 is otherwise failing with the following:
process\process_windows.go:412:11: undefined: readProcessMemory
process\process_windows.go:425:11: undefined: readProcessMemory
process\process_windows.go:896:32: undefined: PROCESS_MEMORY_COUNTERS
process\process_windows.go:897:10: undefined: PROCESS_MEMORY_COUNTERS
process\process_windows.go:910:50: undefined: PROCESS_MEMORY_COUNTERS
process\process_windows.go:950:21: undefined: queryPebAddress
process\process_windows.go:955:9: undefined: readProcessMemory
process\process_windows.go:961:8: undefined: readProcessMemory
process\process_windows.go:969:21: undefined: queryPebAddress
process\process_windows.go:974:9: undefined: readProcessMemory
process\process_windows.go:974:9: too many errors
2022-01-05 01:09:23 +01:00
Ville Skyttä
41e2595443
[process][freebsd] implement createTimeWithContext
2022-01-05 01:20:20 +02:00
Ville Skyttä
df68a56e2d
[disk][freebsd] implement SerialNumberWithContext
2022-01-05 00:38:50 +02:00
Lomanic
d826e14e27
[net][linux] Fix #1198 "f.ReadDir undefined" on Go 1.15 by redefining a custom readDir according to go version
...
Using os.File.Readdir pre Go 1.16 and os.File.ReadDir post Go 1.16
2022-01-01 18:07:03 +01:00
shirou
2f8da0a394
Merge pull request #1205 from mmorel-35/master
...
enable more linters, report coverage and cache mods
2021-12-29 22:31:24 +09:00
Matthieu MOREL
fe2fab4938
Update test.yml
2021-12-27 18:25:31 +01:00
Lomanic
0bd6ae1cf1
Merge pull request #1207 from makazeu/patch-1
...
Fix a typo in comment
2021-12-25 19:37:15 +01:00