Lines Matching full:cyc
475 echo "--- Test with/without CYC ---"
476 # Check if CYC is supported
477 cyc=$(cat /sys/bus/event_source/devices/intel_pt/caps/psb_cyc)
478 if [ "${cyc}" != "1" ] ; then
479 echo "SKIP: CYC is not supported"
482 # Enable CYC
483 perf_record_no_decode -o "${perfdatafile}" -e intel_pt/cyc/u uname
484 # should get CYC packets
485 cyc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "CYC 0x")
487 echo "Failed to get CYC packet"
490 # Without CYC
492 # Should not get CYC packets
493 cyc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "CYC 0x")
495 echo "Still get CYC packet without cyc"