From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by sourceware.org (Postfix) with ESMTPS id E6E63385843A for ; Thu, 1 Feb 2024 21:36:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E6E63385843A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oracle.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E6E63385843A Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=205.220.165.32 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1706823421; cv=pass; b=oHUS8//Kt8sB0n0kWx+cFNzVPVDsDO3U4vvaKcNqwS4kAQJ7MFa1xbW9eoIOekb92btt61AH6MD1fJwgHU8m6hT2b5+FmS1Ffj1yBVFt2lJN/ZWg97wwchk7kwu0XeTFWkE9fUYIB1cMtFS6le/5M8QMbuWtujNEUyaLBogu+Os= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1706823421; c=relaxed/simple; bh=DxVFpRjPfvxSzwdxBKSv46q0+OLROnlPx9Q1nubObwA=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-Id: MIME-Version; b=woYDuIqeMZSf6vRI7sDapE4YY3efJKjs4z9yYyOpL5jRHG5rOnY6iuLPOvHllwAz4fu2HAdaDmTV03AoYYq18iraoVcc+BD0Yi0AnznRS3WMGidMmVaq5LlE/46dqtESEh1rTSMTVARzTY3P5Sz0MaINS6ww6SElE9y9SyYOB5c= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 411JEdLb008880 for ; Thu, 1 Feb 2024 21:36:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2023-11-20; bh=WZTpgLhOhgdwZGDHOpo+M5lwRAf/mJHoGjw6adlclL0=; b=OtDmvKDSvgndBfiKGb8d+XnaZrzLQanYuwL/yTA7aICmKCUgO397oZLxgByDj0/7jUJx Zfe4x9e0HHFz3vr09JR++fsWH8L9fac7Ibj7yU2SIQt5sRZ/kvBwmTVBTOh7KQl8LqHC q7OHO8H3pH8AU4hg52J+d8wI0gVURwZMdxxrwsqhXQiurwDRvQi+wZy2/4wqBLJKeeEB 7FkvKlCXGjK5gBUrkC92VtyTiGJHLsEez48H4XPHbTL+T5bKZawEwB7jnLkdmj9+ze5A CGhFzo7Suu+84zA67k3iXkZ6RU03ugCBBAd1UXmbOITELd+WWRdEEALaO5c/zcsi+twk SQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3vvtcv61p4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 01 Feb 2024 21:36:57 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 411KC8Vr028400 for ; Thu, 1 Feb 2024 21:36:57 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2169.outbound.protection.outlook.com [104.47.59.169]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3vvr9b77a0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 01 Feb 2024 21:36:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nXJgCb1bt4EbCzyFMZ/2N9C0Luj3JDESBR6FN/B8ImsfrAmWgMZxT96Rn/XM2unbvj17bWOd3LfyLVK3WsBjZaN9oxIOpXHmLzE8h4LBUPSzpF4YwQHZcey1nWG3xCIBtRO6klENffpE4LDohY/m/V+WbV59G667KBQaud3Yz81fvEQPT/NuReMy/zklSn5e5SM/s8ojDpd3x+qA3CIO9fspqHgq+m2NNvPRK23eySYYlAxWsS/3gEPBf8x1i8SOS2bge2FpV5B5w+6BktY7WTMfX46AfVGvZZUNfI2qPNTfu5iLRneFO+D68MK3tSl5M6y7CYhg1quzek4ZOnsS4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WZTpgLhOhgdwZGDHOpo+M5lwRAf/mJHoGjw6adlclL0=; b=BRsam8pMbVUzGz9MRJi6GzXz/9fVerZbOsq7ChTWR0CQF4L9gThNj4BnQyjjns6toQE6Y+WPaWmgPrTMxkz5gW7gqX9w4k/3MR0lLP3DwP7toYXIAhw7yx0gw01yges1uJrSw/LsJhQmpnFV5Cq0Jy3Eshv+Umm9VHftNIu4wlM/xhm9O/gQ1s88B75ndNA33uFZvIgqh45yD9ajoFhDGQu/0DUmYvCY17ft8e85LhowQS1Pc8PMK5JGiBTNTg6aOypqlxBqQFErjqIO6art6uWdetbnfdDvgY9+JSRsSYbaVIsLtP6b+fHlrgwtBCgI9N6l7osf/pWsb3grXk1/GQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WZTpgLhOhgdwZGDHOpo+M5lwRAf/mJHoGjw6adlclL0=; b=JxRZUKP59TMykywIRa+SNl1Pz0rEwUh/Ne7go1Qb8nwEuHH0qXUg46tM/CUAAyDIvAaj2t9TKemvQd7BP5zA7N4mK6faGEmhM3wkzuH77LRWoAPXjEw+48J4PDThtV22Zy7LdsbXpFhArlx6BBytLnkr0MbjM/pQKIu6wCwVBWE= Received: from SA2PR10MB4636.namprd10.prod.outlook.com (2603:10b6:806:11e::10) by CH0PR10MB5036.namprd10.prod.outlook.com (2603:10b6:610:dd::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.27; Thu, 1 Feb 2024 21:36:53 +0000 Received: from SA2PR10MB4636.namprd10.prod.outlook.com ([fe80::d94:245f:d0c:5d74]) by SA2PR10MB4636.namprd10.prod.outlook.com ([fe80::d94:245f:d0c:5d74%4]) with mapi id 15.20.7249.024; Thu, 1 Feb 2024 21:36:53 +0000 From: vladimir.mezentsev@oracle.com To: binutils@sourceware.org Cc: Vladimir Mezentsev Subject: [COMMITTED] gprofng: Remove unused macros Date: Thu, 1 Feb 2024 13:36:46 -0800 Message-Id: <20240201213647.1160809-1-vladimir.mezentsev@oracle.com> X-Mailer: git-send-email 2.31.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: PH8PR02CA0015.namprd02.prod.outlook.com (2603:10b6:510:2d0::7) To SA2PR10MB4636.namprd10.prod.outlook.com (2603:10b6:806:11e::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA2PR10MB4636:EE_|CH0PR10MB5036:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a71dd26-74f1-4a82-b1f9-08dc236de7e2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YKFvKERaMyqhsTrlwaDZm+8ZZrsYl726+/F2G5DKAmP7rOBFAbkIG1LYMx+tg+7KWeDfildEIoJd9clZlFxPZRWC45EF5cj5YW1a0lsMEjn7CYBrP+8+jaxUPaOXW3Ws0y9wZn/v86QwjkXFFcv+atx0lCxWNsACXy/SLz13I2I9Zo9jby8NEDLX12dsiGQfSEVO3U/6KeNOcA3dkRsFg5neTE6ZneMJL8KaCv0kivv+wBR/uL347v9TWN5LFpZ0zf1YIV7i25ecA/rjL61NF5DAvHRU5bp3I2jg7lKBzIsV5jaYnhD5F7hb9I2YfASeoEae30GSYbvMJ0juXxP0HPBW/TPnx6/BlmIPlVSh4eP/9C21ecdBljuvtbPGBFWmaLTmRQXEdzCrImx4uVEYRFZSi9t297EsRcZHbIqGcPOxNBMMPmIhJKtCdp60f0IFrk2KRFMP1Gv3wYe5HRq0HLCmqRGjHD086Fxqs0uq/dyL4IkA4tfQj/MJl3Ut3wIXjxV2QgRiDrOt7pIJzwQ5DW0D83H7UmW4/aRxDJ05iT77qgUoEwSpSINPNfEP5YGOEVDHZFrbT2STUP8j3VAUt2eCXtwYXVHeGsbOKFF/zF6PXYqfHfSeJ7ZdSptUpBnz X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA2PR10MB4636.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(396003)(366004)(39860400002)(136003)(376002)(230173577357003)(230273577357003)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(2906002)(5660300002)(41300700001)(478600001)(4326008)(8936002)(8676002)(66556008)(66946007)(66476007)(6916009)(316002)(6666004)(86362001)(38100700002)(9686003)(6512007)(6486002)(6506007)(107886003)(2616005)(1076003)(36756003)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?p+a7S0aOT1b7FJENTvokpNJ/kfMV9UFBFkEKwpCN//RmtQ2YkLkh+EgZtiNb?= =?us-ascii?Q?6oTGCP0anvZwOExnGxQ9Yj6/J14Vzg7l4XsxKCU0MyIwJGl36S4j1ZoWFI88?= =?us-ascii?Q?yrn6MiehxYbpr44Gxvc2MRaVcfg1g2jxcCin0uLD6zd/230BbnTOVAwj4Pu0?= =?us-ascii?Q?vv3FsGZzg7haXh2/yMWTnqK/+dK2isW9GxmTfG08V8VL+G/RrdFh5SrOwhCj?= =?us-ascii?Q?Wn+vswjM75TRf4Z9uDnmNeFQCrCLN/Q5H6+XcoHo+ZhruUlTbwJr1Ccq8HRC?= =?us-ascii?Q?7zkqIkAEW1ovuBICv1jMqHV5jMohNpHhHZ4YgN5EMJlX0IUMRU9D7422ns3T?= =?us-ascii?Q?sfoYpX474WKnOj6STKqQAo1WTT8yO5+o6iJ1In+y/swR3C5c0yaw45J7X7ba?= =?us-ascii?Q?kItonzwWaomGfjlcrJ+JU7coVKt6G1IAhezCcO+OYQI18pRI5Hq84xhxwSlH?= =?us-ascii?Q?SRJ+FuFRosArSS4+CsNxUTOJJIKc0ENPN5xUOSMGilkDcrtqbwjubZzmcyXw?= =?us-ascii?Q?JWNjliibeYRIbOBsLEKEEGfn0tZFP855lazW2igDSFITPaW7ln6gRaNnb5P/?= =?us-ascii?Q?r2WwzPmBgMZ7CgP12xs2uiBK/WucEv1hv+4m2lzvJpw3HMBCtU1ozWVWJvs5?= =?us-ascii?Q?D0hud1ilMIht8gAKja6PbguBCyHGKmPbtfORcwRjuh3fGOMMQgSslgJQsou4?= =?us-ascii?Q?s3dSknHr0Wlzv/+GJSs+tOB31tRA6POc5CrYrrnuaTpyg3qynmI0P182GkuQ?= =?us-ascii?Q?UTKvRhEDpvYbIzZB5dMIsUlMcl/GGsXOYFKfO3rfAtFByMQvdvqnISgeK5HK?= =?us-ascii?Q?yx0oPE784DR/aZG4aBNN3nDSR5V+JdActt1gOdhyIEgZVzxkoI2QY5NaHo1+?= =?us-ascii?Q?LhP5u6z87matsvsjdTUQl0+oPH5aMqOmgl3tQOCB+GizZJe9AafUPJ160IGq?= =?us-ascii?Q?K7dNjXVCnGwyOAaNj3fQcyHO8Rp9WMCXTz95oGHUzM3TyoInFu94EOdkEiX/?= =?us-ascii?Q?XL1W1uxyHwigK13YUKrfGb7OY+ZtAPjXjcsS7ZvAQdkFGw5ijLSptBybU/Re?= =?us-ascii?Q?fSzPtTesvYeiILU2sk9ZVqPnCUN+54llyVm+AzMZF0nuuS4qXu6F/HHuFkX2?= =?us-ascii?Q?MQIwNU4eE5iXipVmABSmgIwNqikgb5HO075Gv7lN/0BBUDLK2HY5On1EKkAo?= =?us-ascii?Q?aVZVtVILUumg1nYAsOWXLkV7F4IIDJ9jxeMPBqTSpL9DjtVS3S8ndmj2lNR+?= =?us-ascii?Q?/t9rxWJ3lNvJIgIYv8mFw/MZOW6M70W979HP+XxZkGFRV4QVkfa7/ZllpLbB?= =?us-ascii?Q?H1USGWHF1lqhEzd6tGie2mfh8GkoMGHSqiogVnL08+sn3wLoyDFj2i9Uv3Yn?= =?us-ascii?Q?maxE1qaAPs+wfRdlznM9U9+LbsupU1cEAK/RXuZp2gUWzo8tOVtykoHRPk6I?= =?us-ascii?Q?03d8zUnlRwYQxMI3XwubsXtsjN0gEnxg/JkfEQ/a5zuqDU1spAWjerCk/hWW?= =?us-ascii?Q?wkMromox3vdMRe/wOjlC2rvh3pXxK2zqpB80biPiiu9lzLN5x5z2VcCbr0k1?= =?us-ascii?Q?p+0tMwL0H99ayq9Bc/d7tWi/ME9U/elhLSiIvsPAj4DOVRFe1ajZLWkHT4HE?= =?us-ascii?Q?547JxaqNNSRisOd7HZEcqNEVKXFADGPEfTVhkwSFJA8E?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 2VDbnhOnKUe0/ZWoKut05Tab3V4WqkgHYCQQnTx0yElJkzkDHRlP62t9yNQqYlKCcGQTpRMEQ72pF6aFkTP4ufBnUPbXDmWtm8h0YnOZK6wNtlaaHsNgIf7KpFD/opEoswPA9PIm1dcjoNjkkHIpEUR7m2awgOLG9iX70gj139+at/w5r1Chyyz+XRRF+OVY28Dh2soaxEzY1d8BZd7W/Q9xoyJfSbejvV7M9IcxANC8FwvgqtXV9Fu0c+d4GAGbzaX7Uj4r8l2tMl6V2GHXbpwoUAyL0d3XVTLzbpjjcbepa0ePCr0SLFk8I0CV7RM44mPFR+rXbp6+HyOZjG2Or2k2wcZHxjJLbyNfVHBN0byACByIkMMHTCXL0S8S1jjmUdsuA+FAKb9+Hase3/O29Zn8RBtwvIshWTNqiZF2PAZwG88BmFNY1oa2P+IjFq06fsAlMO849F3WTVE1X9A4qlFsN8ZmsxArTpBv4xKGlpVLzu4LntTvPFZkz1MBUpsWY/FsN+5TxlJTpNxeN2SEQG3wBkfLuAOPcdR5sAVGhcASBK4H2KAPMfgt9B8kKg8tKmwYHRUXCPjRLbrm1cD6gHR1ZdSnRdQWsRkD1rmDXlg= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a71dd26-74f1-4a82-b1f9-08dc236de7e2 X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4636.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2024 21:36:53.0720 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: GEb5AvYgn0FgE9WDfCHlehmwU2lan4HnzoJ3WDeM1F2EWkTK/Mqu1vdCp35aEMq2TO3m1UBmpOh8el1jjKCvCAilFxE+A8UsojwzenDNhbg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5036 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-01_07,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 bulkscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 spamscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402010165 X-Proofpoint-ORIG-GUID: nVwHQEJOb-VSk_tMz7J6ljjlSGuwczzg X-Proofpoint-GUID: nVwHQEJOb-VSk_tMz7J6ljjlSGuwczzg X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: From: Vladimir Mezentsev gprofng/ChangeLog 2024-02-01 Vladimir Mezentsev * common/gp-experiment.h: Remove SP_REMOTE_PROTOCOL_VERSION. * common/hwctable.c: Remove DBG_LT* macros. * libcollector/envmgmt.c: Likewise. * libcollector/hwprofile.c: Likewise. * libcollector/iolib.c: Likewise. * libcollector/jprofile.c: Likewise. * libcollector/memmgr.c: Likewise. * libcollector/profile.c: Likewise. * libcollector/tsd.c: Likewise. * libcollector/unwind.c: Likewise. --- gprofng/common/gp-experiment.h | 2 -- gprofng/common/hwctable.c | 6 ------ gprofng/libcollector/envmgmt.c | 7 ------- gprofng/libcollector/hwprofile.c | 8 -------- gprofng/libcollector/iolib.c | 6 ------ gprofng/libcollector/jprofile.c | 6 ------ gprofng/libcollector/memmgr.c | 7 ------- gprofng/libcollector/profile.c | 8 +------- gprofng/libcollector/tsd.c | 6 ------ gprofng/libcollector/unwind.c | 6 ------ 10 files changed, 1 insertion(+), 61 deletions(-) diff --git a/gprofng/common/gp-experiment.h b/gprofng/common/gp-experiment.h index 210ec60c98e..41aaebe5162 100644 --- a/gprofng/common/gp-experiment.h +++ b/gprofng/common/gp-experiment.h @@ -30,8 +30,6 @@ #include "Emsgnum.h" /* for COL_ERROR_*, etc. symbols */ -#define SP_REMOTE_PROTOCOL_VERSION "12.4.1" - #define SP_GROUP_HEADER "#analyzer experiment group" /* Experiment name macro definitions */ diff --git a/gprofng/common/hwctable.c b/gprofng/common/hwctable.c index d0735132fac..567f49f80d5 100644 --- a/gprofng/common/hwctable.c +++ b/gprofng/common/hwctable.c @@ -27,12 +27,6 @@ #include "hwcdrv.h" -/* TprintfT(,...) definitions. Adjust per module as needed */ -#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings -#define DBG_LT1 1 // for configuration details, warnings -#define DBG_LT2 2 -#define DBG_LT3 3 - /*---------------------------------------------------------------------------*/ /* compile options */ diff --git a/gprofng/libcollector/envmgmt.c b/gprofng/libcollector/envmgmt.c index ebe08f82007..a399c0d0cb4 100644 --- a/gprofng/libcollector/envmgmt.c +++ b/gprofng/libcollector/envmgmt.c @@ -27,13 +27,6 @@ #define MAX_LD_PRELOADS 2 -/* TprintfT(,...) definitions. Adjust per module as needed */ -#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings -#define DBG_LT1 1 // for configuration details, warnings -#define DBG_LT2 2 -#define DBG_LT3 3 -#define DBG_LT4 4 - /* original environment settings to be saved for later restoration */ static char *sp_preloads[MAX_LD_PRELOADS]; static char *sp_libpaths[MAX_LD_PRELOADS]; diff --git a/gprofng/libcollector/hwprofile.c b/gprofng/libcollector/hwprofile.c index 841a3717e37..364c600968a 100644 --- a/gprofng/libcollector/hwprofile.c +++ b/gprofng/libcollector/hwprofile.c @@ -41,14 +41,6 @@ #include "ABS.h" #include "tsd.h" -/* TprintfT(,...) definitions. Adjust per module as needed */ -#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings -#define DBG_LT1 1 // for configuration details, warnings -#define DBG_LT2 2 -#define DBG_LT3 3 -#define DBG_LT4 4 -#define DBG_LT5 5 - #define SD_OFF 0 /* before start or after close she shut down process */ #define SD_PENDING 1 /* before running real_detach_experiment() */ #define SD_COMPLETE 2 /* after running real_detach_experiment() */ diff --git a/gprofng/libcollector/iolib.c b/gprofng/libcollector/iolib.c index a671781fcda..9f210589dfa 100644 --- a/gprofng/libcollector/iolib.c +++ b/gprofng/libcollector/iolib.c @@ -36,12 +36,6 @@ #include "gp-experiment.h" #include "memmgr.h" -/* TprintfT(,...) definitions. Adjust per module as needed */ -#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings -#define DBG_LT1 1 // for configuration details, warnings -#define DBG_LT2 2 -#define DBG_LT3 3 - /* ------------- Data and prototypes for block management --------- */ #define IO_BLK 0 /* Concurrent requests */ #define IO_SEQ 1 /* All requests are sequential, f.e. JAVA_CLASSES */ diff --git a/gprofng/libcollector/jprofile.c b/gprofng/libcollector/jprofile.c index 1bacacc1a2a..2cabb1a08de 100644 --- a/gprofng/libcollector/jprofile.c +++ b/gprofng/libcollector/jprofile.c @@ -37,12 +37,6 @@ #include "gp-experiment.h" #include "tsd.h" -/* TprintfT(,...) definitions. Adjust per module as needed */ -#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings -#define DBG_LT1 1 // for configuration details, warnings -#define DBG_LT2 2 -#define DBG_LT3 3 - /* ARCH_STRLEN is defined in dbe, copied here */ #define ARCH_STRLEN(s) ((CALL_UTIL(strlen)(s) + 4 ) & ~0x3) diff --git a/gprofng/libcollector/memmgr.c b/gprofng/libcollector/memmgr.c index 6a8b0861bd3..c4109b656e3 100644 --- a/gprofng/libcollector/memmgr.c +++ b/gprofng/libcollector/memmgr.c @@ -30,13 +30,6 @@ #include "gp-experiment.h" #include "memmgr.h" -/* TprintfT(,...) definitions. Adjust per module as needed */ -#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings -#define DBG_LT1 1 // for configuration details, warnings -#define DBG_LT2 2 -#define DBG_LT3 3 -#define DBG_LT4 4 - /* * Memory allocation. * diff --git a/gprofng/libcollector/profile.c b/gprofng/libcollector/profile.c index dbaa36d251c..127fd6917bb 100644 --- a/gprofng/libcollector/profile.c +++ b/gprofng/libcollector/profile.c @@ -41,12 +41,6 @@ #include "hwprofile.h" #include "tsd.h" -/* TprintfT(,...) definitions. Adjust per module as needed */ -#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings -#define DBG_LT1 1 // for configuration details, warnings -#define DBG_LT2 2 -#define DBG_LT3 3 - static int init_interface (CollectorInterface*); static int open_experiment (const char *); static int start_data_collection (void); @@ -268,7 +262,7 @@ __collector_ext_profile_handler (siginfo_t *info, ucontext_t *context) return; } PUSH_REENTRANCE (guard); - TprintfT (DBG_LT3, "__collector_ext_profile_handler\n"); + TprintfT (0, "__collector_ext_profile_handler\n"); ucontext_t uctxmem; if (context == NULL) { diff --git a/gprofng/libcollector/tsd.c b/gprofng/libcollector/tsd.c index 80d6a1cc8a4..a92e35a98fc 100644 --- a/gprofng/libcollector/tsd.c +++ b/gprofng/libcollector/tsd.c @@ -26,12 +26,6 @@ #include "tsd.h" #include "memmgr.h" -/* TprintfT(,...) definitions. Adjust per module as needed */ -#define DBG_LT0 0 // for high-level configuration, unexpected errors/warnings -#define DBG_LT1 1 // for configuration details, warnings -#define DBG_LT2 2 -#define DBG_LT3 3 - /* * Build our thread-specific-data support on pthread interfaces. */ diff --git a/gprofng/libcollector/unwind.c b/gprofng/libcollector/unwind.c index 91678b1e334..e62da04433c 100644 --- a/gprofng/libcollector/unwind.c +++ b/gprofng/libcollector/unwind.c @@ -60,12 +60,6 @@ struct frame }; #endif -/* Set the debug trace level */ -#define DBG_LT0 0 -#define DBG_LT1 1 -#define DBG_LT2 2 -#define DBG_LT3 3 - int (*__collector_VM_ReadByteInstruction)(unsigned char *) = NULL; #define VM_NO_ACCESS (-1) #define VM_NOT_VM_MEMORY (-2) -- 2.31.1