-
Notifications
You must be signed in to change notification settings - Fork 310
Comparing changes
Open a pull request
base repository: prometheus/procfs
base: v0.11.1
head repository: prometheus/procfs
compare: v0.12.0
- 20 commits
- 23 files changed
- 14 contributors
Commits on Aug 8, 2023
-
Bump golang.org/x/sys from 0.9.0 to 0.10.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.9.0 to 0.10.0. - [Commits](golang/sys@v0.9.0...v0.10.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5d92ab - Browse repository at this point
Copy the full SHA c5d92abView commit details
Commits on Sep 6, 2023
-
Signed-off-by: weidong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7af452 - Browse repository at this point
Copy the full SHA e7af452View commit details
Commits on Sep 13, 2023
-
Update common Prometheus files
Signed-off-by: prombot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75c02c7 - Browse repository at this point
Copy the full SHA 75c02c7View commit details -
Bump golang.org/x/sys from 0.10.0 to 0.11.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.10.0 to 0.11.0. - [Commits](golang/sys@v0.10.0...v0.11.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e3cbe53 - Browse repository at this point
Copy the full SHA e3cbe53View commit details -
dongjiang, fix nfsd v4 ops index
Signed-off-by: dongjiang1989 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f5b8ca - Browse repository at this point
Copy the full SHA 8f5b8caView commit details -
dongjiang, support v4 proc4ops 38 operations
Signed-off-by: dongjiang1989 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 301089d - Browse repository at this point
Copy the full SHA 301089dView commit details -
Signed-off-by: dongjiang1989 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c05b611 - Browse repository at this point
Copy the full SHA c05b611View commit details -
fix code comment error (#561) (#562)
Fixes: #562 Signed-off-by: zhaoxu <[email protected]> Co-authored-by: zhaoxu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6ad5a7 - Browse repository at this point
Copy the full SHA b6ad5a7View commit details
Commits on Sep 20, 2023
-
Update common Prometheus files
Signed-off-by: prombot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f22604f - Browse repository at this point
Copy the full SHA f22604fView commit details
Commits on Sep 22, 2023
-
Fix golangci-lint revive naming issues. Signed-off-by: SuperQ <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8dd544 - Browse repository at this point
Copy the full SHA e8dd544View commit details -
NFSd: handle new wdeleg_getattr attribute in /proc/net/rpc/nfsd (#574)
This attribute was introduced it v6.6-rc1. Signed-off-by: Tobias Klausmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 340d4b8 - Browse repository at this point
Copy the full SHA 340d4b8View commit details -
Improve sysfs vulnerability parsing (#568)
The existing sysfs vulnerability parsing routines expected the data provided by the kernel to start with either "Not Affected"/"Vulnerable"/"Mitigation"; however, there are a handful of vulnerabilities that can provide data not matching this expectation: - https://elixir.bootlin.com/linux/v6.1.53/source/arch/x86/kernel/cpu/bugs.c#L2519 - https://elixir.bootlin.com/linux/v6.1.53/source/arch/x86/kernel/cpu/bugs.c#L546 - https://elixir.bootlin.com/linux/v6.1.53/source/arch/x86/kernel/cpu/bugs.c#L2578 Modify the vulnerability parsing to make use of a 4th state ("Unknown"), which is used when the vulnerability information can't be parsed to any of the other vulnerability states, and output the information provided by the kernel, rather than erroring out. Vulnerability parsing tests have been updated to include the aforementioned vulnerability data. Signed-off-by: João Lima <[email protected]> Co-authored-by: Ben Kochie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5056707 - Browse repository at this point
Copy the full SHA 5056707View commit details -
proc_maps: Parse address and device without allocating (#572)
In our project we need to parse proc maps pretty frequently and we've noticed that there are lots of small allocations coming from parsing the device and addresses from procfs' maps file. The rough split of memory allocated is: - bufio.(*Scanner).Text: 25% - strings.Split: 50% - string.Fields: 25% The two callers of strings.Split are the two parsing functions that we are optimising here. I've added some benchmarks to show the improvements. Before ====== ``` $ go test -benchmem -run=^$ -bench ^BenchmarkParse.*$ github.com/prometheus/procfs goos: linux goarch: amd64 pkg: github.com/prometheus/procfs cpu: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz BenchmarkParseAddress-12 12218004 123.0 ns/op 32 B/op 1 allocs/op BenchmarkParseDevice-12 15074881 85.11 ns/op 32 B/op 1 allocs/op PASS ok github.com/prometheus/procfs 2.978s ``` After ===== ``` $ go test -benchmem -run=^$ -bench ^BenchmarkParse.*$ github.com/prometheus/procfs goos: linux goarch: amd64 pkg: github.com/prometheus/procfs cpu: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz BenchmarkParseAddress-12 28619314 50.45 ns/op 0 B/op 0 allocs/op BenchmarkParseDevice-12 49721935 29.66 ns/op 0 B/op 0 allocs/op PASS ok github.com/prometheus/procfs 2.991s ``` Signed-off-by: Francisco Javier Honduvilla Coto <[email protected]> Co-authored-by: Ben Kochie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a5ae62f - Browse repository at this point
Copy the full SHA a5ae62fView commit details -
Fix build tags for isRealProc function (#560)
Only aix, darwin, dragonfly freebsd and linux GOOS have a Type member in their syscall.Statfs_t struct. However, since the isRealProc compares that Type to a magic number (PROC_SUPER_MAGIC, 0x9fa0) which is only relevant to Linux (and possibly FreeBSD with Linux compatibility), adjust build tags accordingly. This drops the previous nostatfs build tag workaround, since the "tamago" GOOS for which it was originally added won't match the updated build tags. Fixes: #554. Signed-off-by: Daniel Swarbrick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 607adcf - Browse repository at this point
Copy the full SHA 607adcfView commit details -
dongjiang, add nfs over RDMA proc parse (#558)
Signed-off-by: dongjiang1989 <[email protected]> Co-authored-by: Ben Kochie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8676d3d - Browse repository at this point
Copy the full SHA 8676d3dView commit details -
Add NSpid to proc status (#557)
* Add NSpid to proc status Signed-off-by: Nir Levy <[email protected]> * Support NSpid with 2 pids Signed-off-by: Nir Levy <[email protected]> * Support list of nspids Signed-off-by: Nir Levy <[email protected]> --------- Signed-off-by: Nir Levy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d715e8 - Browse repository at this point
Copy the full SHA 9d715e8View commit details -
Add inode number to fdinfo (#552)
Signed-off-by: Cyrill Troxler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 647e50e - Browse repository at this point
Copy the full SHA 647e50eView commit details -
infiniband: do not fail if board_id is not present (#556)
Whilst a large majority do, not _all_ InfiniBand drivers expose a board_id in sysfs. Signed-off-by: Daniel Swarbrick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2168a3 - Browse repository at this point
Copy the full SHA b2168a3View commit details -
Add
hw_counters
for infiniband device. (#549)Signed-off-by: aztecher <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce949a5 - Browse repository at this point
Copy the full SHA ce949a5View commit details -
Enable CI testing of Go 1.21. * Bump Go modules. Signed-off-by: SuperQ <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff0ad85 - Browse repository at this point
Copy the full SHA ff0ad85View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.11.1...v0.12.0