It is in reference to one of my earlier posting about detecting memory leaks. I tried to download mtrace from the location pointed in the web. It had three files ( mtrace, mtrace.8, mtrace.Readme)
But, I included the header mycheck.h in my code and called mtrace( ) before a memory allocation. Then I compiled and run the program. There is a file with the following contents.
@ ./a.out:[0x80483ef] + 0x9afa378 0x4
But, I couldn't run the mtrace.
I changed the permission on the downloaded mtrace file and tried to execute it.
[ambuli@vader map]$ mtrace a.out test.txt
-bash: mtrace: command not found
[ambuli@vader map]$ ./mtrace a.out test.txt
mtrace: must be root
Could you please help me.