iovisor / iovisor/bcc

Feature Request: Allow profiling by process name instead of PID

Open
#2,937 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

I am trying to monitor memory allocation for a process that spawns other processes, all with the same executable name. The current form of `trace-bpfcc` allows me to either monitor for one PID, or for all processes (which is very slow). It would be great if all new processes of the same name would have a probe attached to them automatically.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the trace-bpfcc entry point that selects a single PID or all processes, then read how probes are attached to processes. The feature is done when a process-name option automatically covers newly spawned processes with that executable name without monitoring unrelated processes; no specific files or tests are named.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
observability-sre, operating-systems, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.