/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Development/debugging/profiling/vtune.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2015-08-21 03:52:00 UTC
  • Revision ID: csa@suren.me-20150821035200-xu1zh22cqlk2omcq
Profiling

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Installation
2
 
============
3
 
 * Install in a Red Hat distribution.
4
 
    - Copy the /opt/intel/vtune directory.
5
 
    - Copy the /opt/intel/licenses directory.
6
 
    - Copy the /opt/sag directory.
7
 
    - Copy the /etc/dcom directory.
8
 
    - Copy the /etc/init.d/ntd, vtune (works in gentoo)
9
 
 * In /opt/intel/vtune/bin/clscripts.common comment out SELINUXENABLED_CMD=...
10
 
 * Compile and install the VDK
11
 
    - Fix vdk/src/configure (just extend kernel_includes include list):
12
 
        kernel_includes="-I${kernel_include_dir} -I${kernel_source_dir}/arch/x86/include -include ${kernel_include_dir}/linux/autoconf.h"
13
 
    - Compile 
14
 
        ./configure; make
15
 
    - Compile produced file one level up
16
 
        
17
 
 * Create users
18
 
    - Create the vtunesag group (GID=28888).
19
 
    - Create the vtunesag user (UID=28888).
20
 
    - Create the vtune group (GID=501)
21
 
 * Add users to the vtune group.
22
 
 
23
 
 
24
 
Problems
25
 
========
26
 
 * Eclipse integration is not working on 64bit platforms!
27
 
 
28
 
 
29
 
Starting
30
 
========
31
 
    pfmon & oprofile should be unloaded
32
 
    modprobe vtune_drv 
33
 
    /etc/init.d/ntd start
34
 
 
35
 
Info
36
 
====
37
 
    /opt/intel/vtune/bin/vtl query -lc          List of collectors
38
 
    
39
 
 
40
 
Exectuting:
41
 
    /opt/intel/vtune/bin/vtl activity -d 30 -c sampling -c callgraph -master sampling -app ./opc-server -moi ./opc-server run
42
 
 
43
 
List all runs:
44
 
    vtl show -all
45
 
    
46
 
Get timing information:
47
 
    /opt/intel/vtune/bin/vtl view a8 -code -critical-path -focus-func main
48
 
    
49
 
Anotate code:
50
 
    /opt/intel/vtune/bin/vtl view a8 -code -asm -mn libds.so -fn dsDebugServer