I've created a test program(just creating 10 threads and increasing a global integer variable 1 per second in each thread). And I use this command to attach vtune to get some hotspots in test:
amplxe-cl -collect hotspots -target-pid 7765 -duration 30
(test's pid is 7765)
after this, I got the results with nothing like this:
amplxe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: amplxe-cl -r /root/test/r025hs -command stop.
amplxe: Collection detached.
amplxe: Using result path `/root/test/r025hs'
amplxe: Executing actions 50 % Generating a reportCollection and Platform Info
----------------------------
Parameter r025hs
------------------------ ----------------------------------------------------------------------------------------
Application Command Line
Operating System 3.0.13-0.27-default SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 2
Computer Name linux-6dsc
Result Size 1488862
Collection start time 09:46:56 09/10/2014 UTC
Collection stop time 09:47:26 09/10/2014 UTCCPU
---
Parameter r025hs
----------------- ------------------------------
Name Intel(R) Core(TM) i7 Processor
Frequency 2908808012
Logical CPU Count 1Summary
-------
Elapsed Time: 0.000
CPU Time:
amplxe: Executing actions 100 % done
1. Elapsed Time: 0.000
2. no call stack information in GUI
3.no .th files in result dir
Anyone please help me on this. Thank you in advance:)