[bin][cpuperf,insntrace] Make components and also shell programs
Tested: CQ, plus run insntrace and print collected trace
fx shell insntrace --num-buffers=256 --config="'cyc;cyc-thresh=2'" \
/bin/sort --help
sh garnet/bin/insntrace/copy_ptout.sh "" /tmp/ptout ./ptout
ZIRCON_BUILDROOT=out/build-zircon/build-x64
FUCHSIA_BUILDROOT=out/x64
$FUCHSIA_BUILDROOT/host_x64/insntrace_print \
--ktrace=ptout.ktrace \
--pt-list=ptout.xptlist \
--map=loglistener.log \
--ids=$ZIRCON_BUILDROOT/ids.txt \
--ids=$FUCHSIA_BUILDROOT/ids.txt \
--kernel=$ZIRCON_BUILDROOT/zircon.elf \
--output-format=raw \
--output-file=ptout.raw
Change-Id: I069e62ba9456ef7c5a6974b58b5e3f633767ecf3
9 files changed