2.41 Release sources
[binutils-gdb.git] / gprofng / src / gprofng.rc
blob07f84c0d407a6ec5dc2b61ce6d4a5ee2e2ff5932
1 #   Copyright (C) 2021-2023 Free Software Foundation, Inc.
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.
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.
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/>.
17 # Specify which classes of compiler commentary will be shown
18 # with annotated source.
19 scc all
21 # Specify which classes of compiler commentary will be shown
22 # with annotated disassembly
23 dcc all:src
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:
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
49 # for kernel clock profiling data, show inclusive and exclusive KCPU
50 dmetrics ei.kcpu
51 ###dmetrics ie.kcpu
53 # for count data, show exclusive metrics only
54 dmetrics i!bit:e.bit
56 # for er_generic data, show exclusive metrics only
57 dmetrics i!icount:e.icount
59 # Hide implementation hack. Functionmark column only serves
60 # to force zero-count functions to be displayed.
61 dmetrics e!bit_FM
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
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
74 # for HWC, show exclusive only
75 dmetrics i!hwc:e%.hwc
77 # for synctrace, show inclusive only
78 dmetrics i.sync:e!sync
79 dmetrics i.syncn:e!syncn
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
86 #set the default function-list metrics for deadlock detection
87 dmetrics i!deadlocks:e.deadlocks
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
101 # for any other unnamed metrics, don't show them
102 dmetrics ie!.any
104 # don't show size or address; show name
105 dmetrics !size:!address:name
107 # Select the default function-list sorting metric
108 dsort ei.any:name
109 ###dsort ie.any:name
111 # Set function name style
112 name long
114 # Set View mode to user
115 viewmode user
117 # Set compare mode
118 compare off
120 # Set enabling descendants to on
121 en_desc on
123 # Set path where the gprofng libraries are installed
124 preload_libdirs ../lib:../lib32:../lib64
126 # Add search path for annotated source and disasm
127 addpath $expts:.
129 # Add controls for specific load objects
130 #  object_hide <Unknown>
132 # version "@(#)er.rc 1.62 11/10/31"