--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2021-accbd19050
2021-02-28 17:25:31.285976
--------------------------------------------------------------------------------
Name : golang-github-hodgesds-perf-utils
Product : Fedora 33
Version : 0.2.5
Release : 1.fc33
URL :
https://github.com/hodgesds/perf-utils
Summary : Perf Utilities for Go
Description :
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.
--------------------------------------------------------------------------------
Update Information:
Initial package
--------------------------------------------------------------------------------
ChangeLog:
--------------------------------------------------------------------------------
This update can be installed with the "dnf" update program. Use
su -c 'dnf upgrade --advisory FEDORA-2021-accbd19050' at the command
line. For more information, refer to the dnf documentation available at
http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label
All packages are signed with the Fedora Project GPG key. More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------