Skip to content

Conversation

@apaolillo
Copy link
Collaborator

Some perf events contain a percent sign in their name (e.g. tma_info_bottleneck_%_dtlb_miss_bound_cycles). The regexes in _get_available_events did not include % in their character classes, causing a ValueError when parsing perf list output on systems with such events.

Add % to all five event/group name regex character classes.

Some perf events contain a percent sign in their name (e.g.
tma_info_bottleneck_%_dtlb_miss_bound_cycles). The regexes in
_get_available_events did not include % in their character
classes, causing a ValueError when parsing perf list output on
systems with such events.

Add % to all five event/group name regex character classes.

Signed-off-by: Antonio Paolillo <apaolill@gmail.com>
@apaolillo apaolillo self-assigned this Jan 28, 2026
@apaolillo apaolillo merged commit de84edb into main Jan 28, 2026
2 checks passed
@apaolillo apaolillo deleted the perfperc branch January 28, 2026 20:53
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.

3 participants