Skip to content

Add QQ_GETPID for benchmarking#287

Merged
haesbaert merged 1 commit into
mainfrom
benchy
Dec 2, 2025
Merged

Add QQ_GETPID for benchmarking#287
haesbaert merged 1 commit into
mainfrom
benchy

Conversation

@haesbaert
Copy link
Copy Markdown
Collaborator

I want to be able to benchmark events, for that we need something that is easy
to trigger in large volumes, hence getpid().
The probe sends a more or less full event, so it simulates "some work".
We abuse the setsid code since it's the exact same contents.

The idea is to have quark-bench binary that has some standarized benchmarks,
including rule parsing and whatnot.

I want to be able to benchmark events, for that we need something that is easy
to trigger in large volumes, hence getpid().
The probe sends a more or less full event, so it simulates "some work".
We abuse the setsid code since it's the exact same contents.

The idea is to have quark-bench binary that has some standarized benchmarks,
including rule parsing and whatnot.
@haesbaert haesbaert requested a review from a team as a code owner December 2, 2025 12:25
Comment thread elastic-ebpf/GPL/Events/Process/Probe.bpf.c
Comment thread elastic-ebpf/GPL/Events/Process/Probe.bpf.c
@haesbaert haesbaert merged commit 9b00ae1 into main Dec 2, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants