gprofng: include percentages in default metrics list
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>
Mon, 9 May 2022 22:44:41 +0000 (15:44 -0700)
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>
Tue, 10 May 2022 05:42:09 +0000 (22:42 -0700)
gprofng/ChangeLog
2022-05-09  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>

* src/gprofng.rc: Include percentages in default metrics list.

gprofng/src/gprofng.rc

index 387022017a5993fa243cfa1efcbf11643bb5f70a..4cdf61154c1c7f9217a8b419762fed7a6502091d 100644 (file)
@@ -34,7 +34,7 @@ dmetrics i.heapalloccnt:e!heapalloccnt:
 #     Ovw_data.h, BaseMetricTreeNode.cc and Experiment.cc metric registration
 dmetrics i!total:e!.total
 #   Show total cpu time
-dmetrics ei.totalcpu
+dmetrics ei%.totalcpu
 dmetrics i!.user:e!.user
 dmetrics i!system:e!.system
 dmetrics i!trap:e!.trap
@@ -72,7 +72,7 @@ dmetrics i!K_IPC:e!.K_IPC
 dmetrics i!K_CPI:e!.K_CPI
 
 # for HWC, show exclusive only
-dmetrics i!hwc:e.hwc
+dmetrics i!hwc:e%.hwc
 
 # for synctrace, show inclusive only
 dmetrics i.sync:e!sync