Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4975 Discussions

Cannot see processes names and paths on sampling results

Edson_Borin__Intel_
526 Views
I cannot see the processes names and paths when viewing the results:

I created and run the following sampling activity:

vtl activity MispredictionPenalty-OO-2 -d 100000 -c sampling -o "-sterm yes -ec en=RESOURCE_STALLS.BR_MISS_CLEAR en=CPU_CLK_UNHALTED.CORE" -app ./perlbmk_peak.lnx32-icc-91-fast-g,"-I. -I./lib makerand.pl > makerand.out 2> makerand.err" -moi ./perlbmk_peak.lnx32-icc-91-fast-g run


when I view the results I only get the process name and the process path for the kernel module (vmlinux-2.6.18-1.2798.fc6). How can I get the process name and paths for the other processes, including the application that I'm interested in.

vtl view:
VTune Performance Analyzer 9.0 for Linux*
Copyright (C) 2000-2007 Intel Corporation. All rights reserved.

Module Process RESOURCE_STALLS.BR_MISS_CLEAR samples CPU_CLK_UNHALTED.CORE samples Branch Misprediction Performance Impact Process Path Process ID Original Module Path
vmlinux-2.6.18-1.2798.fc6 pid_0x0 325283 3567 2.46% 0x0 /boot/
Other32 pid_0x70EE 978 9 2.93% 0x70ee
Other32 pid_0x710B 637 296 0.06%&nbs p; 0x710b
Other32 pid_0xE18 548 10 1.48% 0xe18
Other32 pid_0x710A 302 5 1.63% 0x710a
Other32 pid_0xEF0 40 0 0.00% 0xef0



I appreciate any help.

- Edson

More info on my system:

Kernel: 2.6.18-1.2798.fc6
Processor: Intel Xeon CPU X7350 @ 2.93GHz



0 Kudos
5 Replies
TimP
Honored Contributor III
526 Views
If you don't have options other than the RVA view, make sure that your compilation uses -g both for building objects and for linking. If you still have problems, try PTU (see WhatIf forum).
0 Kudos
Edson_Borin__Intel_
526 Views
Thanks for the quick answer Tim, I had compiled with -g option, but I'm sure it is not the problem, because even the example that comes with vtune does not show the processes names and paths.

What is PTU, and where can I find the WhatIf forum?

Thanks again

- Edson

===================================================
The vtunedemo

I run:

$ vtl activity -c sampling -app /opt/intel/vtune/samples/vtunedemo/vtunedemo -moi vtunedemo run

Then:

$ vtl show

VTune Performance Analyzer 9.0 for Linux*

Copyright (C) 2000-2007 Intel Corporation. All rights reserved.


a1__Activity1

r1___Thu Mar 6 08:56:38 2008 - Sampling Results [pslstp4-f32]

But when I try to view the activity:

$ vtl view a1

VTune Performance Analyzer 9.0 for Linux*

Copyright (C) 2000-2007 Intel Corporation. All rights reserved.


Module Process CPU_CLK_UNHALTED.CORE samples INST_RETIRED.ANY samples Clocks per Instructions Retired - CPI Process Path Process ID Original Module Path

Other32 pid_0x2F9D 690 197 3.503 0x2f9d

vmlinux-2.6.18-1.2798.fc6 pid_0x0 33 3 11.000 0x0 /boot/

Other32 pid_0x2F8D 13 2&nbs p; 6.500 0x2f8d

Other32 pid_0xE18 6 3 2.000 0xe18

Other32 pid_0x257 5 2 2.500 0x257

Other32 pid_0x2EA 2 1 2.000 0x2ea

Other32 pid_0x3A 1 0 0.000&n bsp; 0x3a

Other32 pid_0x23DA 1 1 1.000 0x23da



0 Kudos
TimP
Honored Contributor III
526 Views
http://software.intel.com/en-us/forums/showthread.php?t=55491

I find I must run insmod-vtune after each reboot, and rebuild vtune driver after each kernel update. PTU shares license and VTune driver with a recent VTune version.
0 Kudos
Edson_Borin__Intel_
526 Views
Thanks Tim, I apreciate your help. I re-compiled the module and reloaded (had to reboot), now it shows the process names and paths.

Regards,

- Edson
0 Kudos
rebecoco
Beginner
526 Views
It works ), thanks Tim
___________
Texas Holdem
0 Kudos
Reply