valgrindを食わせたい時など、Sniperをrun-sniper
のPython Wrapperなしで動かしたい時があるので、その備忘録。
export LD_LIBRARY_PATH=/home/msyksphinz/work/sniper/sniper/sniper/xed_kit/lib:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH=/home/msyksphinz/work/sniper/sniper/sniper/python_kit/intel64/lib/:${LD_LIBRARY_PATH} /home/msyksphinz/work/sniper/sniper/sniper/lib/sniper -c /home/msyksphinz/work/sniper/sniper/sniper/config/base.cfg --general/total_cores=1 --general/output_dir=/home/msyksphinz/work/sniper/sniper/sniper_benches/rvv_memcpy -g --traceinput/mirror_output=true --config=/home/msyksphinz/work/sniper/sniper/sniper/config/riscv-mediumboom.vlen512.cfg -g --traceinput/stop_with_first_app=true -g --traceinput/restart_apps=false -g --traceinput/enabled=true -g --traceinput/emulate_syscalls=false -g --traceinput/num_apps=1 -g --traceinput/thread_0=/home/msyksphinz/work/sniper/sniper/sniper_benches/rvv_memcpy/test.sift
valgrindを使うとき。
valgrind --leak-check=full /home/msyksphinz/work/sniper/sniper/sniper/lib/sniper -c /home/msyksphinz/work/sniper/sniper/sniper/config/base.cfg --general/total_cores=1 --general/output_dir=/home/msyksphinz/work/sniper/sniper/sniper_benches/rvv_memcpy -g --traceinput/mirror_output=true --config=/home/msyksphinz/work/sniper/sniper/sniper/config/riscv-mediumboom.vlen512.cfg -g --traceinput/stop_with_first_app=true -g --traceinput/restart_apps=false -g --traceinput/enabled=true -g --traceinput/emulate_syscalls=false -g --traceinput/num_apps=1 -g --traceinput/thread_0=/home/msyksphinz/work/sniper/sniper/sniper_benches/rvv_memcpy/test.sift