How to Install and Uninstall golang-github-hodgesds-perf-utils-devel.noarch Package on Fedora 34

Last updated: September 20,2024

1. Install "golang-github-hodgesds-perf-utils-devel.noarch" package

Learn how to install golang-github-hodgesds-perf-utils-devel.noarch on Fedora 34

$ sudo dnf update $ sudo dnf install golang-github-hodgesds-perf-utils-devel.noarch

2. Uninstall "golang-github-hodgesds-perf-utils-devel.noarch" package

In this section, we are going to explain the necessary steps to uninstall golang-github-hodgesds-perf-utils-devel.noarch on Fedora 34:

$ sudo dnf remove golang-github-hodgesds-perf-utils-devel.noarch $ sudo dnf autoremove

3. Information about the golang-github-hodgesds-perf-utils-devel.noarch package on Fedora 34

Last metadata expiration check: 2:43:38 ago on Tue Sep 6 02:10:55 2022.
Available Packages
Name : golang-github-hodgesds-perf-utils-devel
Version : 0.5.1
Release : 1.fc34
Architecture : noarch
Size : 37 k
Source : golang-github-hodgesds-perf-utils-0.5.1-1.fc34.src.rpm
Repository : updates
Summary : Perf Utilities for Go
URL : https://github.com/hodgesds/perf-utils
License : MIT
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.
:
: This package contains the source code needed for building packages that
: reference the following Go import paths:
: – github.com/hodgesds/perf-utils