Skip to content

Commit

Permalink
In the expression returned by the parse_pstats_options function, ex…
Browse files Browse the repository at this point in the history
…pand the output of `parse_groups` (#32)

* In the expression returned by the `parse_pstats_options` function, fully qualify the `parse_groups` function

* Expand the output of `parse_groups` before returning

Co-authored-by: Valentin Churavy <[email protected]>

---------

Co-authored-by: Valentin Churavy <[email protected]>
  • Loading branch information
DilumAluthge and vchuravy authored Aug 4, 2023
1 parent a7fee0f commit 18a21eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LinuxPerf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ end

function parse_pstats_options(opts)
# default events
events = :(parse_groups("
events = :($parse_groups("
(cpu-cycles, stalled-cycles-frontend, stalled-cycles-backend),
(instructions, branch-instructions, branch-misses),
(task-clock, context-switches, cpu-migrations, page-faults)
Expand Down

0 comments on commit 18a21eb

Please sign in to comment.