ERROR using Spot tool
Hi,
I am trying to use the Spot tool and I get the following error when I use it.
When I use the command:
> cc -g -O -xbinopt=prepare -o qsort3 qsort3.c
I get the following warning, but dosent report any errors:
cc: Warning: illegal option -xbinopt=prepare
When I use this command
> spot -X qsort3
I get the following output:
Collect machine statistics
Collect application details
Collect ipc data using ripc
Collect data using BIT
Output ifreq data from bit
Collect bandwidth data
Collect traps data
Collect HW counter profile data
Generating html output for HW counter profile data
Collect clock-based profiling data
Unrecognized argument -O
Generating html output for time profile data
Done collecting, tidying up reports
It says "Unrecognized argument -O" and all the generated reports are empty.
>In messages.html.txt
Nov 16 05:58:26 itrisun sshd[921]: [ID 800047 auth.error] error: Could
not get shadow information for NOUSER
Nov 16 13:29:12 itrisun su: [ID 810491 auth.crit] 'su root' failed for
shollen on /dev/pts/4
Nov 16 13:29:21 itrisun last message repeated 1 time
>In bit.log
postopt: error: Can't operate on /usr/local1/w112rxk/shade/a.out, please
recompile with -xbinopt=prepare flag
If -xbinopt=prepare has been used properly, and the error
message(s) above from bit are not helpful enough, the file
./spot_run9/debug.log
may contain more information about this section
(search for the word bit in the debug.log file).
Please let me know how to run the spot tool to collect the information and get rid of the above errors.
Thank you for the help.
Regards
Raghudeep Kannavara

