debian 5 event sampling problem

debian 5 event sampling problem

Debian Version 2.6.26-2 on an intel core-2 duo

The sampling of the basic events
CPU_CLK_UNHALTED.CORE
INST_RETIRED.ANY

fails with the "fisrt use" activity on the default vtunedemo
Failed to create sampling data base. Probably .tb5 files are corrupted or don't exist." "The Sampling Collector failed to collect data because the selected event(s) did not occur."

Interestingly sampling other events does work on Debian 5 e.g. INST_RETIRED.ANY_P

When I try this on Fedora 10 on the exact same PC everything works. Our company uses Debian 5 so I would really like to get this working under that OS.

Any help is greatly appreciated.

Thanks,
Adam

13 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Adam,

Could you please provide the following information:

Are you using a 32 or 64 bit OS?
What version of Eclipse are you using?
Most importantly, do you have the latest version of VTune (Update 7)?

Thanks,
Jackson

64-bit OS (amd64)

eclipse 3.2

Vtune-version:
VTune Performance Analyzer 9.1 for Linux*. 30 DAY EVALUATION LICENSE build 401

Thanks,
Adam

Hi Adam,

Just to double check, you aren't using a Virtual Machine at all, correct?

Thanks.

Correct - no virtual machine is running, just a clean install of Debian 5 (2.6.26-2) amd64.

Thanks,
Adam

Okay thanks.

Could it be that you are using a Xen-enabled kernel? This is not supported. For more information see this link: http://software.intel.com/en-us/articles/does-vtune-analyzer-work-with-xen-enabled-kernels/

Could you look in /boot/config-`uname -r` . If there is a "CONFIG_XEN=y" and/or "CONFIG_X86_XEN=y" entry, then that kernel is Xen-enabled.

Also, is your Eclipse a 32 or 64 bit version?

Thanks.

Hi,

It is the 64-bit version of eclipse.

No CONFIG_X86_XEN entry exists in the /boot/config-`uname -r` file

Thanks,
Adam

Ok thanks. I think this is the issue.According to the Release Notes:

"The VTune Analyzer 9.1 for Linux* can be integrated only with the 32 bit version of Eclipse 3.2.1 on Intel 64 systems. Integration into a 64-bit version of Eclipse is not supported."

If youare able to try a32-bit version of Eclipse you mayhave more success.

Thanks,
Jackson

Hi Jackson,

I have the same issue with vtl command line version.

Thanks,
Adam

Hi Adam,

Could you please provide the command line you are running and the output you are seeing?

Thanks,
Jackson

vtl activity -d 30 -c sampling -master sampling -app /opt/intel/vtune/samples/vtunedemo/vtunedemo -moi /opt/intel/vtune/samples/vtunedemo/vtunedemo runVTune Performance Analyzer 9.1 for Linux*. 30 DAY EVALUATION LICENSE build 401
Copyright (C) 2000-2009 Intel Corporation. All rights reserved.

The Activity has been successfully created.
The Activity is running.
Fri Apr 30 11:58:20 2010 127.0.0.1 (Run 0) Setting Sampling CPU mask to 0-1
Fri Apr 30 11:58:20 2010 127.0.0.1 (Run 0) The processor PMU configuration file: pmp.xml
Fri Apr 30 11:58:20 2010 127.0.0.1 (Run 0) Collection for the following event(s) is being performed:
Fri Apr 30 11:58:20 2010 127.0.0.1 (Run 0) CPU_CLK_UNHALTED.CORE, INST_RETIRED.ANY.

Starting VTune Demo Program - Wait for Completion
Thread 00: started
Thread 01: started
Thread 02: started
Thread 01: It took 0.04 seconds
Thread 02: It took 0.04 seconds
Thread 01: It took 0.03 seconds
Thread 02: It took 0.06 seconds
Thread 00: It took 0.03 seconds
Thread 01: It took 0.05 seconds
Thread 01: It took 0.02 seconds
Thread 00: It took 0.07 seconds
Thread 02: It took 0.07 seconds
Thread 01: It took 0.07 seconds
Thread 00: It took 0.06 seconds
Thread 02: It took 0.06 seconds
Thread 01: It took 0.04 seconds
Thread 02: It took 0.05 seconds
Thread 01: It took 0.04 seconds
Thread 00: It took 0.06 seconds
Thread 02: It took 0.04 seconds
Thread 00: It took 0.03 seconds
Thread 01: It took 0.07 seconds
Thread 02: It took 0.06 seconds
Thread 01: It took 0.05 seconds
Thread 00: It took 0.06 seconds
Thread 00: It took 0.03 seconds
Thread 02: It took 0.04 seconds
Thread 01: It took 0.06 seconds
Thread 01: finished
Thread 00: It took 0.04 seconds
Thread 02: It took 0.06 seconds
Thread 00: It took 0.02 seconds
Thread 00: It took 0.04 seconds
Thread 00: finished
Thread 02: It took 0.05 seconds
Thread 02: finished
Fri Apr 30 11:58:21 2010 127.0.0.1 (Run 0) The Sampling Collector failed to collect data because the selected event(s) did not occur.
The Activity has finished running.

Just to be extra cautious, you mention"No CONFIG_X86_XEN entry exists in the /boot/config-`uname -r` file". Does this go for "CONFIG_XEN=y" as well. If so, I will take this thread private to get some more information from you.

Thanks,
Jackson

Hi Jackson,
Yes no XEN as far as I can tell.

I ran this:
>cat /boot/config-2.6.26-2-amd64 | grep -i "XEN"
CONFIG_NETXEN_NIC=m

Thanks,
Adam

Leave a Comment

Please sign in to add a comment. Not a member? Join today