Community
cancel
Showing results for 
Search instead for 
Did you mean: 
oyy_918
Beginner
85 Views

Data collector problem!

Hello,i met two problem using Vtune.

first :when i want to use sampling as mydata collector and type vtl activity -c sampling in the command line,i got the following error:

[cfd@lc Performance]$ vtl activity -c sampling
VTune Performance Analyzer 8.0 for Linux*. FOR NON-COMMERCIAL USE ONLY
Copyright (C) 2000-2005 Intel Corporation. All rights reserved.

TBSDevGetDsaAddr: couldn't open driver
Can't initialize collector properties

so i can only switch to the callgraph ,i can create a activity with callgraph,however,when i run it,problem comes:

[cfd@lc Projects]$ vtl project /home/cfd/VTune/Projects/vtldefault.vpj run
VTune Performance Analyzer 8.0 for Linux*. FOR NON-COMMERCIAL USE ONLY
Copyright (C) 2000-2005 Intel Corporation. All rights reserved.

The Activity is running.
Sun Sep 10 10:29:44 2006 Reading property files started...

Sun Sep 10 10:29:44 2006 Call Graph collection was cancelled.

when it comes,what i can do is turn off the session and begin a new one, Could anyonetell me whatthe problem is? Thanks in advance!

0 Kudos
1 Reply
85 Views

Hello,

Thanks for your question. Let me help to you with the sampling issue. Seems that sampling driver isn't loaded into your kernel.Please try below steps:

1) Load existent pre-built driver:

$ cd /vdk

$ ./insmod-vtune

If there is pre-built driver for your kernel then it will be loaded into the kernel.

2) If there is no pre-built driver for your kernel, you need to build the driver manually. Make sure you have kernel headers configured properly for running kernel.

$ cd /vdk/src

$ ./build-driver

$ ./insmod-vtune

More info can be found in vdk/src/doc/HOWTO-BUILD-VTUNE-DRIVER

Regards,

Katya

Reply