iovisor / iovisor/bcc

Why no stack folding with libbpf offcputime?

Open
#5,218 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

libbpf tools are meant to be a replacement for BCC tools, however offcputime lacks the stack folding argument -f.

What is the recommended way to use the libbpf version of offcputime to generate a flame graph similar to how one does it with the BCC version.

FWIW, I see you have a PR that someone submitted over a year ago to add this option.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names the libbpf offcputime tool, the BCC version's -f option, and an older proposed pull request, but no files or tests. First inspect the existing pull request and current offcputime usage; completion would be either a documented flame-graph workflow or equivalent stack-folding support with verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.