1# Copyright (C) 2021-2024 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. 19scc all 20 21# Specify which classes of compiler commentary will be shown 22# with annotated disassembly 23dcc all:src 24 25# Set the default function-list metrics 26# for heap data, show inclusive leaks and bytes leaked; not allocations 27dmetrics i.heapleakbytes:e!heapleakbytes 28dmetrics i.heapleakcnt:e!heapleakcnt 29dmetrics i.heapallocbytes:e!heapallocbytes 30dmetrics 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 35dmetrics i!total:e!.total 36# Show total cpu time 37dmetrics ei%.totalcpu 38dmetrics i!.user:e!.user 39dmetrics i!system:e!.system 40dmetrics i!trap:e!.trap 41dmetrics i!lock:e!.lock 42dmetrics i!datapfault:e!.datapfault 43dmetrics i!textpfault:e!.textpfault 44dmetrics i!kernelpfault:e!.kernelpfault 45dmetrics i!stop:e!.stop 46dmetrics i!wait:e!.wait 47dmetrics i!sleep:e!.sleep 48 49# for kernel clock profiling data, show inclusive and exclusive KCPU 50dmetrics ei.kcpu 51###dmetrics ie.kcpu 52 53# for count data, show exclusive metrics only 54dmetrics i!bit:e.bit 55 56# for er_generic data, show exclusive metrics only 57dmetrics i!icount:e.icount 58 59# Hide implementation hack. Functionmark column only serves 60# to force zero-count functions to be displayed. 61dmetrics 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) 65dmetrics ei.kucycles:ei.kcycles 66###dmetrics ie.kucycles:ie.kcycles 67 68# for derived HWC metrics, show exclusive only 69dmetrics i!IPC:e!.IPC 70dmetrics i!CPI:e!.CPI 71dmetrics i!K_IPC:e!.K_IPC 72dmetrics i!K_CPI:e!.K_CPI 73 74# for HWC, show exclusive only 75dmetrics i!hwc:e%.hwc 76 77# for synctrace, show inclusive only 78dmetrics i.sync:e!sync 79dmetrics i.syncn:e!syncn 80 81# Set the default function-list metrics for OMP profiling 82dmetrics i.ompwork:e!ompwork 83dmetrics i.ompwait:e!ompwait 84dmetrics i!.masterthread:e!.masterthread 85 86#set the default function-list metrics for deadlock detection 87dmetrics i!deadlocks:e.deadlocks 88 89# io data 90dmetrics i.ioreadtime:e!ioreadtime 91dmetrics i.iowritetime:e!iowritetime 92dmetrics i.ioothertime:e!ioothertime 93dmetrics i.ioerrortime:e!ioerrortime 94dmetrics i!.ioreadcnt:e!ioreadcnt 95dmetrics i!.ioreadbytes:e!ioreadbytes 96dmetrics i!.iowritecnt:e!iowritecnt 97dmetrics i!.iowritebytes:e!iowritebytes 98dmetrics i!.ioothercnt:e!ioothercnt 99dmetrics i!.ioerrorcnt:e!ioerrorcnt 100 101# for any other unnamed metrics, don't show them 102dmetrics ie!.any 103 104# don't show size or address; show name 105dmetrics !size:!address:name 106 107# Select the default function-list sorting metric 108dsort ei.any:name 109###dsort ie.any:name 110 111# Set function name style 112name long 113 114# Set View mode to user 115viewmode user 116 117# Set compare mode 118compare off 119 120# Set enabling descendants to on 121en_desc on 122 123# Set path where the gprofng libraries are installed 124preload_libdirs ../lib:../lib32:../lib64 125 126# Add search path for annotated source and disasm 127addpath $expts:. 128 129# Add controls for specific load objects 130# object_hide <Unknown> 131 132# gprofng GUI tabs 133tabs dsrc:function:timeline:processes:threads:ctree:callflame:src:dis:leaks:ioactivity:ifreq:callers-callees:header 134 135