Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 40739833307a1447873c62202fc1a19760751b09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
	<extension
         point="org.eclipse.debug.ui.launchShortcuts">
      <shortcut
            class="org.eclipse.linuxtools.sleepingthreads.launch.LaunchSleepingThreads"
            id="org.eclipse.linuxtools.systemtap.quicklaunchStapGraph2"
            label="Sleeping thread monitor"
            modes="profile">
         <contextualLaunch>
            <enablement>
               <with
                     variable="selection">
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <or>
                        <instanceof
                              value="org.eclipse.cdt.core.model.IBinary">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.cdt.core.model.ICProject">
                        </instanceof>
                        <test
                              forcePluginActivation="true"
                              property="org.eclipse.cdt.launch.isExecutable">
                        </test>
                        <test
                              forcePluginActivation="true"
                              property="org.eclipse.cdt.launch.isCProject">
                        </test>
                        <and>
                           <instanceof
                                 value="org.eclipse.ui.IFileEditorInput">
                           </instanceof>
                           <adapt
                                 type="org.eclipse.core.resources.IResource">
                              <adapt
                                    type="org.eclipse.cdt.core.model.ICElement">
                              </adapt>
                           </adapt>
                        </and>
                     </or>
                  </iterate>
               </with>
            </enablement>
         </contextualLaunch>
      </shortcut>
   </extension>
   
 <extension
       id="org.eclipse.linuxtools.sleepingthreadparser"
       name="SleepingThreadParser"
       point="org.eclipse.linuxtools.callgraph.core.parser">
    <parser
          class="org.eclipse.linuxtools.sleepingthreads.SleepingThreadsParser"
          realtime="true">
    </parser>
 </extension>
 
 
    <extension
               id="org.eclipse.linuxtools.sleepingthreads.xmlview"
               name="XMLGraphView"
               point="org.eclipse.ui.views">
      <view
            category="org.eclipse.cdt.ui.views"
            class="org.eclipse.linuxtools.sleepingthreads.XMLGraphingView"
            id="org.eclipse.linuxtools.sleepingthreads.xmlview"
            name="XML Graph View"
            restorable="true">
      </view>
   </extension>
   
</plugin>

Back to the top