From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cu-ua11p00im-quki08153402.ua.silu.net (cu-ua11p00im-quki08153402.ua.silu.net [123.126.78.67]) by sourceware.org (Postfix) with ESMTPS id 93C7A3815FEF for ; Mon, 30 May 2022 12:44:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 93C7A3815FEF Received: from smtpclient.apple (unknown [154.91.7.137]) by ua11p00im-quki08153402.ua.silu.net (Postfix) with ESMTPSA id DD9FF2FC011D; Mon, 30 May 2022 12:44:49 +0000 (UTC) From: "Mr. Joey" Mime-Version: 1.0 (1.0) Subject: Re: How to auto insert logs when use gcc compile a C/C++ source. Date: Mon, 30 May 2022 20:44:27 +0800 Message-Id: <0B6E56FA-6E15-489F-9CE3-76D22ADA646D@icloud.com> References: <4394c42e70304c22922eb53927a800bc91e4f734.camel@xry111.site> Cc: gcc-help@gcc.gnu.org In-Reply-To: <4394c42e70304c22922eb53927a800bc91e4f734.camel@xry111.site> To: Xi Ruoyao X-Mailer: iPhone Mail (19F77) X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.486,18.0.874,17.11.64.514.0000000_definitions?= =?UTF-8?Q?=3D2022-05-30=5F03:2022-05-30=5F01,2022-05-30=5F03,2022-02-23?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 malwarescore=0 mlxscore=0 mlxlogscore=954 suspectscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2205300059 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, SPF_HELO_NONE, SPF_PASS, TXREP, T_HK_NAME_FM_MR_MRS, 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2022 12:45:00 -0000 Thanks Ruoyao =20 I means later, trace a program created by gcc. As I know there is finstrument-functions options, is this feature I= can use to insert a log to trace program run flow? =20 Sent from my iPhone > On May 30, 2022, at 6:40 PM, Xi Ruoyao wrote: >=20 > Xi Ruoyao