9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "D. Brownlee" <ancipites@earthlink.net>
To: 9fans@cse.psu.edu
Subject: [9fans] prof
Date: Fri, 11 Aug 2000 06:10:06 -0700	[thread overview]
Message-ID: <3993FB07.FBA6DA80@earthlink.net> (raw)

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


             reply	other threads:[~2000-08-11 13:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-11 13:10 D. Brownlee [this message]
2000-08-11 14:03 ` D. Brownlee
2000-08-11 14:19 forsyth
2000-08-11 18:22 ` D. Brownlee
2000-08-15  4:15 ` D. Brownlee
2000-08-11 14:23 Russ Cox
2000-08-11 21:14 forsyth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3993FB07.FBA6DA80@earthlink.net \
    --to=ancipites@earthlink.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).