grafana / grafana/pyroscope

How to point out which parts are system CPU and which are user CPU?

Open
#1,991 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
11.7k
Forks
802
Avg merge
1d 19h
Merged PRs (30d)
80

Description

Hi thanks for the lib! When using eBPF mode, I wish to know which parts are system CPU and which are user CPU. The definition is just like the definition in `top` command.

Why I want this: I want to profile why the system CPU usage is high when looking at `top`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the eBPF profiling path and how it currently records CPU samples; the issue does not name a file or test. Compare the desired attribution with the system and user CPU distinction reported by `top`, and consider the work done when profiles can distinguish those two categories.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
observability, operating-systems, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.