From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3993FB07.FBA6DA80@earthlink.net> Date: Fri, 11 Aug 2000 06:10:06 -0700 From: "D. Brownlee" MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: [9fans] prof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: f9cc0680-eac8-11e9-9e20-41e7f4b1d025 Hello, This program: main() { void f(char *); f("hello\n"); } f(char *s) { printf("%s", s); } produces, with 'prof -d' the following output: main:0 . printf:0 . vfprintf:0 . qlock:0 . . lock:0 etc. This indicates that 'main' calls 'qlock', but I think that 'qlock' is actually called by 'vfprintf'. (?) Another question: has anyone done anything with the compiler to generate a static flow graph -- something like 'cflow'? D. Brownlee