Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: golang-github-hodgesds-perf-utils-devel | Distribution: Fedora Project |
Version: 0.7.0 | Vendor: Fedora Project |
Release: 4.fc40 | Build date: Wed Jan 24 19:15:26 2024 |
Group: Unspecified | Build host: buildhw-x86-14.iad2.fedoraproject.org |
Size: 172409 | Source RPM: golang-github-hodgesds-perf-utils-0.7.0-4.fc40.src.rpm |
Packager: Fedora Project | |
Url: https://github.com/hodgesds/perf-utils | |
Summary: Perf Utilities for Go |
This package is a go library for interacting with the perf subsystem in Linux. I had trouble finding a golang perf library so I decided to write this by using the linux’s perf as a reference. This library allows you to do things like see how many CPU instructions a function takes (roughly), profile a process for various hardware events, and other interesting things. Note that because the go scheduler can schedule a goroutine across many OS threads it becomes rather difficult to get an exact profile of an invididual goroutine. However, a few tricks can be used; first a call to runtime.LockOSThread to lock the current goroutine to an OS thread. Second a call to unix.SchedSetaffinity, with a CPU set mask set. Note that if the pid argument is set 0 the calling thread is used (the thread that was just locked). Before using this library you should probably read the perf_event_open man page which this library uses heavily. See this kernel guide for a tutorial how to use perf and some of the limitations. This package contains the source code needed for building packages that reference the following Go import paths: – github.com/hodgesds/perf-utils
MIT
* Wed Jan 24 2024 Fedora Release Engineering <[email protected]> - 0.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering <[email protected]> - 0.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering <[email protected]> - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jul 14 2023 Mark E. Fuller <[email protected]> - 0.7.0-1 - update to v0.7.0, close rhbz#2155974 * Thu Jan 19 2023 Fedora Release Engineering <[email protected]> - 0.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering <[email protected]> - 0.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
/usr/share/doc/golang-github-hodgesds-perf-utils-devel /usr/share/doc/golang-github-hodgesds-perf-utils-devel/README.md /usr/share/gocode/src/github.com /usr/share/gocode/src/github.com/hodgesds /usr/share/gocode/src/github.com/hodgesds/perf-utils /usr/share/gocode/src/github.com/hodgesds/perf-utils/.goipath /usr/share/gocode/src/github.com/hodgesds/perf-utils/bpf.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/cache_profiler.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/cache_profiler_test.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/events.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/events_test.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/fs_utils.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/fs_utils_test.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/go.mod /usr/share/gocode/src/github.com/hodgesds/perf-utils/group_profiler.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/group_profiler_test.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/hardware_profiler.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/hardware_profiler_test.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/msr /usr/share/gocode/src/github.com/hodgesds/perf-utils/msr.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/msr/skylake /usr/share/gocode/src/github.com/hodgesds/perf-utils/msr/skylake/skylake_msr.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/msr/skylake/skylake_msr_test.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/msr/zen /usr/share/gocode/src/github.com/hodgesds/perf-utils/msr/zen/zen_msr.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/msr/zen2 /usr/share/gocode/src/github.com/hodgesds/perf-utils/msr/zen2/zen2_msr.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/msr/zen3 /usr/share/gocode/src/github.com/hodgesds/perf-utils/msr/zen3/zen3_msr.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/msr_test.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/pmu.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/pmu_test.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/process_profile.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/process_profile_test.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/software_profiler.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/software_profiler_test.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/utils.go /usr/share/gocode/src/github.com/hodgesds/perf-utils/utils_test.go /usr/share/licenses/golang-github-hodgesds-perf-utils-devel /usr/share/licenses/golang-github-hodgesds-perf-utils-devel/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 23:47:10 2024