From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <20060410024959.13656.qmail@g.galapagos.bx.psu.edu> Date: Sun, 9 Apr 2006 22:49:59 -0400 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Good enough approximation for ape/pcc In-reply-to: References: Date: Sun, 09 Apr 2006 22:49:59 -0400 From: Scott Schwartz Topicbox-Message-UUID: 33eb7ed8-ead1-11e9-9d60-3106f5b1d025 | The Plan 9 C libraries already provided a mechanism | for finding the caller - getcallerpc(2). What happens when there is no caller because the function got inlined? Obviously with compiler support you could get the right effect, but wouldn't it be a bit more work?