add functions insturmentation example

This commit is contained in:
Amar Mahmutbegovic
2025-04-02 12:44:02 +02:00
parent 4231df1fa1
commit 0e79f982a2
2 changed files with 36 additions and 0 deletions

View File

@@ -3,8 +3,12 @@
This folder contains examples in C++ from second chapter.
The folder contains following examples:
- instrument_functions.cpp
- vector_dyn_mem.cpp
- vector_dyn_mem_reserve.cpp
- vector_pmr.cpp
- terminate_handler.cpp
- new_deleted.cpp
## Functions instrumentation in GCC
Compile instrument_functions.cpp example using compiler flag -finstrument-functions