profile: no results for sub-functions
Reported by Alain Lamy
Bug description:
There are no profile results for sub-functions
(sub-function do not seem prepared for profiling)
With the test below, we have:
-->x
x =
1. 0. 0.
0. 0. 0. <= 0
0. 0. 0. <= 0
0. 0. 0. <= 0
1. 0. 5.
1. 0. 4.
1. 0. 0.
Error log:
How to reproduce the bug:
function [z] = TEST(a)
function [b] = F(a)
b=3;
endfunction
z = F(a);
endfunction
add_profiling("TEST");
TEST(1);
x = profile(TEST);
Other information: