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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
# Copyright (C) 2021-2023 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
#
# Specify which classes of compiler commentary will be shown
# with annotated source.
scc all
# Specify which classes of compiler commentary will be shown
# with annotated disassembly
dcc all:src
# Set the default function-list metrics
# for heap data, show inclusive leaks and bytes leaked; not allocations
dmetrics i.heapleakbytes:e!heapleakbytes
dmetrics i.heapleakcnt:e!heapleakcnt
dmetrics i.heapallocbytes:e!heapallocbytes
dmetrics i.heapalloccnt:e!heapalloccnt:
# Clock profiling data
# Note: use same display order of LMS_* in: er.rc, TimelineVariable.java,
# Ovw_data.h, BaseMetricTreeNode.cc and Experiment.cc metric registration
dmetrics i!total:e!.total
# Show total cpu time
dmetrics ei%.totalcpu
dmetrics i!.user:e!.user
dmetrics i!system:e!.system
dmetrics i!trap:e!.trap
dmetrics i!lock:e!.lock
dmetrics i!datapfault:e!.datapfault
dmetrics i!textpfault:e!.textpfault
dmetrics i!kernelpfault:e!.kernelpfault
dmetrics i!stop:e!.stop
dmetrics i!wait:e!.wait
dmetrics i!sleep:e!.sleep
# for kernel clock profiling data, show inclusive and exclusive KCPU
dmetrics ei.kcpu
###dmetrics ie.kcpu
# for count data, show exclusive metrics only
dmetrics i!bit:e.bit
# for er_generic data, show exclusive metrics only
dmetrics i!icount:e.icount
# Hide implementation hack. Functionmark column only serves
# to force zero-count functions to be displayed.
dmetrics e!bit_FM
# for kernel profiles, show inclusive and exclusive kucycles and kcycles
# (kucycles and kcycles are for 12.3 and older experiments, Obsolete TBR)
dmetrics ei.kucycles:ei.kcycles
###dmetrics ie.kucycles:ie.kcycles
# for derived HWC metrics, show exclusive only
dmetrics i!IPC:e!.IPC
dmetrics i!CPI:e!.CPI
dmetrics i!K_IPC:e!.K_IPC
dmetrics i!K_CPI:e!.K_CPI
# for HWC, show exclusive only
dmetrics i!hwc:e%.hwc
# for synctrace, show inclusive only
dmetrics i.sync:e!sync
dmetrics i.syncn:e!syncn
# Set the default function-list metrics for OMP profiling
dmetrics i.ompwork:e!ompwork
dmetrics i.ompwait:e!ompwait
dmetrics i!.masterthread:e!.masterthread
#set the default function-list metrics for deadlock detection
dmetrics i!deadlocks:e.deadlocks
# io data
dmetrics i.ioreadtime:e!ioreadtime
dmetrics i.iowritetime:e!iowritetime
dmetrics i.ioothertime:e!ioothertime
dmetrics i.ioerrortime:e!ioerrortime
dmetrics i!.ioreadcnt:e!ioreadcnt
dmetrics i!.ioreadbytes:e!ioreadbytes
dmetrics i!.iowritecnt:e!iowritecnt
dmetrics i!.iowritebytes:e!iowritebytes
dmetrics i!.ioothercnt:e!ioothercnt
dmetrics i!.ioerrorcnt:e!ioerrorcnt
# for any other unnamed metrics, don't show them
dmetrics ie!.any
# don't show size or address; show name
dmetrics !size:!address:name
# Select the default function-list sorting metric
dsort ei.any:name
###dsort ie.any:name
# Set function name style
name long
# Set View mode to user
viewmode user
# Set compare mode
compare off
# Set enabling descendants to on
en_desc on
# Set path where the gprofng libraries are installed
preload_libdirs ../lib:../lib32:../lib64
# Add search path for annotated source and disasm
addpath $expts:.
# Add controls for specific load objects
# object_hide <Unknown>
# gprofng GUI tabs
tabs dsrc:function:timeline:processes:threads:ctree:callflame:src:dis:leaks:ioactivity:ifreq:callers-callees:header
|