]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gprofng/src/gprofng.rc
2.41 Release sources
[thirdparty/binutils-gdb.git] / gprofng / src / gprofng.rc
1 # Copyright (C) 2021-2023 Free Software Foundation, Inc.
2 #
3 # This file is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 3 of the License, or
6 # (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; see the file COPYING3. If not see
15 # <http://www.gnu.org/licenses/>.
16 #
17 # Specify which classes of compiler commentary will be shown
18 # with annotated source.
19 scc all
20
21 # Specify which classes of compiler commentary will be shown
22 # with annotated disassembly
23 dcc all:src
24
25 # Set the default function-list metrics
26 # for heap data, show inclusive leaks and bytes leaked; not allocations
27 dmetrics i.heapleakbytes:e!heapleakbytes
28 dmetrics i.heapleakcnt:e!heapleakcnt
29 dmetrics i.heapallocbytes:e!heapallocbytes
30 dmetrics i.heapalloccnt:e!heapalloccnt:
31
32 # Clock profiling data
33 # Note: use same display order of LMS_* in: er.rc, TimelineVariable.java,
34 # Ovw_data.h, BaseMetricTreeNode.cc and Experiment.cc metric registration
35 dmetrics i!total:e!.total
36 # Show total cpu time
37 dmetrics ei%.totalcpu
38 dmetrics i!.user:e!.user
39 dmetrics i!system:e!.system
40 dmetrics i!trap:e!.trap
41 dmetrics i!lock:e!.lock
42 dmetrics i!datapfault:e!.datapfault
43 dmetrics i!textpfault:e!.textpfault
44 dmetrics i!kernelpfault:e!.kernelpfault
45 dmetrics i!stop:e!.stop
46 dmetrics i!wait:e!.wait
47 dmetrics i!sleep:e!.sleep
48
49 # for kernel clock profiling data, show inclusive and exclusive KCPU
50 dmetrics ei.kcpu
51 ###dmetrics ie.kcpu
52
53 # for count data, show exclusive metrics only
54 dmetrics i!bit:e.bit
55
56 # for er_generic data, show exclusive metrics only
57 dmetrics i!icount:e.icount
58
59 # Hide implementation hack. Functionmark column only serves
60 # to force zero-count functions to be displayed.
61 dmetrics e!bit_FM
62
63 # for kernel profiles, show inclusive and exclusive kucycles and kcycles
64 # (kucycles and kcycles are for 12.3 and older experiments, Obsolete TBR)
65 dmetrics ei.kucycles:ei.kcycles
66 ###dmetrics ie.kucycles:ie.kcycles
67
68 # for derived HWC metrics, show exclusive only
69 dmetrics i!IPC:e!.IPC
70 dmetrics i!CPI:e!.CPI
71 dmetrics i!K_IPC:e!.K_IPC
72 dmetrics i!K_CPI:e!.K_CPI
73
74 # for HWC, show exclusive only
75 dmetrics i!hwc:e%.hwc
76
77 # for synctrace, show inclusive only
78 dmetrics i.sync:e!sync
79 dmetrics i.syncn:e!syncn
80
81 # Set the default function-list metrics for OMP profiling
82 dmetrics i.ompwork:e!ompwork
83 dmetrics i.ompwait:e!ompwait
84 dmetrics i!.masterthread:e!.masterthread
85
86 #set the default function-list metrics for deadlock detection
87 dmetrics i!deadlocks:e.deadlocks
88
89 # io data
90 dmetrics i.ioreadtime:e!ioreadtime
91 dmetrics i.iowritetime:e!iowritetime
92 dmetrics i.ioothertime:e!ioothertime
93 dmetrics i.ioerrortime:e!ioerrortime
94 dmetrics i!.ioreadcnt:e!ioreadcnt
95 dmetrics i!.ioreadbytes:e!ioreadbytes
96 dmetrics i!.iowritecnt:e!iowritecnt
97 dmetrics i!.iowritebytes:e!iowritebytes
98 dmetrics i!.ioothercnt:e!ioothercnt
99 dmetrics i!.ioerrorcnt:e!ioerrorcnt
100
101 # for any other unnamed metrics, don't show them
102 dmetrics ie!.any
103
104 # don't show size or address; show name
105 dmetrics !size:!address:name
106
107 # Select the default function-list sorting metric
108 dsort ei.any:name
109 ###dsort ie.any:name
110
111 # Set function name style
112 name long
113
114 # Set View mode to user
115 viewmode user
116
117 # Set compare mode
118 compare off
119
120 # Set enabling descendants to on
121 en_desc on
122
123 # Set path where the gprofng libraries are installed
124 preload_libdirs ../lib:../lib32:../lib64
125
126 # Add search path for annotated source and disasm
127 addpath $expts:.
128
129 # Add controls for specific load objects
130 # object_hide <Unknown>
131
132 # version "@(#)er.rc 1.62 11/10/31"