iovisor / iovisor/bcc

Per-event output for `profile`, `offcputime`, `offwaketime`, etc.

Open
#2,472 1 comment 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

I can work on that, just need to check if that's something we want first.

Basically the output of tools which can be used to generate flamegraphs (profile, offcputime, offwaketie, etc.) is aggregated per-event, which is enough to generate flamegraphs, but not to generate heat maps (like the ones generated by [flamescope](https://github.com/Netflix/flamescope)). Would it make sense to also provide a `--perf-format` flag for these tools to have a perf-event output which follows Linux perf output format?

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating the implementations of profile, offcputime, and offwaketime, then compare their aggregated output with Linux perf output and the Flamescope expectations. Done means the scope and behavior of a --perf-format option are agreed for the affected tools and the emitted output follows Linux perf format.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
observability-sre, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.