|
From: Wuweijia <wuw...@hu...> - 2017-05-12 03:11:58
|
Hi :
I ran the code through the callgrind on the x86-64, it is ok , no recursive cycle existed.
But I ran the same the same code through the callgrind on the arm64, it show me there is recursive cycle existed.
Between two callgrind.out. file:
In arm64:
There is function name main'2. It meaning that there is recursive cycle. And it annote the source failed.
In x86_64:
There is no function name main'2 only main., It mean that there is no cycle.
How can I resovle it?
The compile options : gcc -g -O0 ./main.cpp
The gcc version 4.9
Run options: valgrind --tool=callgrind ./a.out
Callgrind_annote option callgrind_annote -auto=yes
BR
Owen
|