Skip to content

Commit

Permalink
Exit likwid-perfctr if timeline mode AND output redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTheBear committed Oct 31, 2023
1 parent f6aee6c commit 8c3cb13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/applications/likwid-perfctr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,11 @@ elseif num_cpus == 0 and
perfctr_exit(1)
end

if use_timeline and outfile then
print_stderr("Redirecting output in timeline mode not supported")
perfctr_exit(1)
end

---------------------------
if gpusSupported and
num_gpus == 0 and
Expand Down

0 comments on commit 8c3cb13

Please sign in to comment.