From 18a21eb505e8ac26ff93ffceb0ffaea3c0bc5723 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Fri, 4 Aug 2023 10:03:58 -0400 Subject: [PATCH] In the expression returned by the `parse_pstats_options` function, expand 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 --------- Co-authored-by: Valentin Churavy --- src/LinuxPerf.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LinuxPerf.jl b/src/LinuxPerf.jl index 933831e..1e64096 100644 --- a/src/LinuxPerf.jl +++ b/src/LinuxPerf.jl @@ -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)