evsel__clone(9)
π evsel__clone(9) β a Kernel API Manual moment π
okay so bestie, welcome to evsel__clone(9) from the Kernel API Manual. This is the glow-up page for making a new evsel copied from @orig β no cap, that's the whole vibe. π¦
β¨ NAME β¨
evsel__clone β create a new evsel copied from @orig
πΈ SYNOPSIS πΈ
struct evsel * evsel__clone (struct evsel *orig );
π ARGUMENTS π
origβ the original evsel. that's the one we're copying from, periodt. π
π¦ DESCRIPTION π¦
okay so the assumption here is that orig is not configured and not opened yet. So we only care about the attributes that can be set while it's parsed. That's the whole assignment, bestie β nothing more, nothing less. β¨
π SEE ALSO π
Go give these their flowers, fr fr:
- Kernel file
./tools/perf/util/evsel.c __perf_evsel__calc_id_pos(9)__perf_evsel__calc_is_pos(9)evsel__is_function_event(9)evsel__is_hybrid(9)
mwah π that's the whole page! Source/version: ./tools/perf/util Β· Date: October 2026 Β· Page: evsel__clone(9) π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms