==1730== Callgrind, a call-graph generating cache profiler ==1730== Copyright (C) 2002-2017, and GNU GPL'd, by Josef Weidendorfer et al. ==1730== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==1730== Command: ./a.out ==1730== Parent PID: 29779 ==1730== --1730-- --1730-- Valgrind options: --1730-- -v --1730-- --tool=callgrind --1730-- --num-callers=20 --1730-- --log-file=callgrind.log --1730-- Contents of /proc/version: --1730-- Linux version 4.18.0-25-generic (buildd@lgw01-amd64-033) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019 --1730-- --1730-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi --1730-- Page sizes: currently 4096, max supported 4096 --1730-- Valgrind library directory: /usr/lib/valgrind ==1730== For interactive control, run 'callgrind_control -h'. --1730-- Reading syms from /home/yuhw/wc/fft/a.out --1730-- Reading syms from /lib/x86_64-linux-gnu/ld-2.27.so --1730-- Considering /lib/x86_64-linux-gnu/ld-2.27.so .. --1730-- .. CRC mismatch (computed 1b7c895e wanted 2943108a) --1730-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.27.so .. --1730-- .. CRC is valid --1730-- Reading syms from /usr/lib/valgrind/callgrind-amd64-linux --1730-- Considering /usr/lib/valgrind/callgrind-amd64-linux .. --1730-- .. CRC mismatch (computed 960afc6a wanted 0c736295) --1730-- object doesn't have a symbol table --1730-- object doesn't have a dynamic symbol table --1730-- Scheduler: using generic scheduler lock implementation. ==1730== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-1730-by-yuhw-on-??? ==1730== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-1730-by-yuhw-on-??? ==1730== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-1730-by-yuhw-on-??? ==1730== ==1730== TO CONTROL THIS PROCESS USING vgdb (which you probably ==1730== don't want to do, unless you know exactly what you're doing, ==1730== or are doing some strange experiment): ==1730== /usr/lib/valgrind/../../bin/vgdb --pid=1730 ...command... ==1730== ==1730== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==1730== /path/to/gdb ./a.out ==1730== and then give GDB the following command ==1730== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=1730 ==1730== --pid is optional if only one valgrind process is running ==1730== --1730-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so --1730-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so .. --1730-- .. CRC mismatch (computed 4b63d83e wanted 670599e6) --1730-- object doesn't have a symbol table --1730-- Reading syms from /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25 --1730-- object doesn't have a symbol table --1730-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1 --1730-- object doesn't have a symbol table --1730-- Reading syms from /lib/x86_64-linux-gnu/libc-2.27.so --1730-- Considering /lib/x86_64-linux-gnu/libc-2.27.so .. --1730-- .. CRC mismatch (computed b1c74187 wanted 042cc048) --1730-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.27.so .. --1730-- .. CRC is valid --1730-- Reading syms from /lib/x86_64-linux-gnu/libm-2.27.so --1730-- Considering /lib/x86_64-linux-gnu/libm-2.27.so .. --1730-- .. CRC mismatch (computed 7feae033 wanted b29b2508) --1730-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.27.so .. --1730-- .. CRC is valid ==1730== --1730-- Start dumping at BB 24873733 (Prg.Term.)... --1730-- Dump to /home/yuhw/wc/fft/callgrind.out.1730 --1730-- Dumping done. ==1730== Events : Ir ==1730== Collected : 198223312 ==1730== ==1730== I refs: 198,223,312