From 4b026881591e99425c9e8a74162a15952ff92354 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Fri, 21 Feb 2025 22:14:05 +0100 Subject: vtune: initial notes --- src/trace_profile/vtune/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/trace_profile/vtune/Makefile (limited to 'src/trace_profile/vtune/Makefile') diff --git a/src/trace_profile/vtune/Makefile b/src/trace_profile/vtune/Makefile new file mode 100644 index 0000000..694e453 --- /dev/null +++ b/src/trace_profile/vtune/Makefile @@ -0,0 +1,11 @@ +VTUNE ?= /opt/intel/oneapi/vtune/latest + +main: main.c + gcc -o $@ $^ -I$(VTUNE)/include -L$(VTUNE)/lib64 -littnotify + +vtune: main + $(VTUNE)/bin64/vtune -collect hotspots -start-paused -- ./main + +clean: + $(RM) main + $(RM) -r r*hs -- cgit v1.2.3