Profiler and Memory Leak checker flags
// Profiler
perf record -o ./perf.data -g ./<exe_path>
perf report -i ./perf.data
// Memory Leak checker
valgrind --leak-check=full --track-origins=yes ./<exe_path> --leak-check=full --show-leak-kinds=all
// Profiler
perf record -o ./perf.data -g ./<exe_path>
perf report -i ./perf.data
// Memory Leak checker
valgrind --leak-check=full --track-origins=yes ./<exe_path> --leak-check=full --show-leak-kinds=all