I have downloaded few application such as matrix multiplication form the code samples given in this site. I am trying to trace the function calls of those applications using perf. perf is listing the function names but they are in hex-code. In order to get the name of the function I need to get the debugger version it seems. But I couldn't find it in the site.
In the Makefile, a -g option was available but it didn't work.
Could anyone please help?
Thanks & regards,
which sample application do you use exactly? Please provide the link where you downloaded it.
You'd need the source code and (re)compile with -g to get debug information.
here is the link:
I am using General matrix multiplication
(it is listed under "OpenCL 1.2 samples for Linux:")
I tried debugging the code with -g option but it didn't work. The result was "make: invalid option -- 'g'" then it listed out all the options. There was an option "--debug". That doesn't seem to work either.
Could you please suggest something.
Thanks and regards,