Skip to content

Commit

Permalink
jevents tester: skip tests in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Jun 27, 2024
1 parent 566968a commit d08bc13
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jevents/tester
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ else
E=instructions
fi

if [ -r /sys/devices/cpu*/events/instructions ] ; then
$V jestat true
$V jestat -e cpu-cycles,cpu_clk_unhalted.ref_tsc,$E true
$V jestat -e "{cpu-cycles,cpu_clk_unhalted.ref_tsc},{$E,cache-references}" -a sleep 1
Expand Down Expand Up @@ -51,11 +52,15 @@ done

$V showevent $E

fi

$V event-rmap $E

if [ -r /sys/devices/cpu*/events/instructions ] ; then
$V examples/addr
examples/rtest
examples/rtest2
fi

trap "" ERR 0

Expand Down

0 comments on commit d08bc13

Please sign in to comment.