DHAT: when the run ends, print a how-to-view-the-profile hint message. n-i-bz.
commit6b054f132c43a60be3181d6199574d53e7d4f32c
authorJulian Seward <jseward@acm.org>
Thu, 4 Apr 2019 10:08:26 +0000 (4 12:08 +0200)
committerJulian Seward <jseward@acm.org>
Thu, 4 Apr 2019 10:08:26 +0000 (4 12:08 +0200)
tree3602dea36fc1743c7dfc6f74dd9e0c31eab5090a
parent37f09ed248387ed3f4c7ba712fbc90e7468f6f4d
DHAT: when the run ends, print a how-to-view-the-profile hint message.  n-i-bz.

The aim is to make it zero-effort for users to view the profile after
a run.  The printed message is as follows:

  To view the resulting profile, open
    file:///path/to/valgrind/installation/lib/valgrind/dh_view.html
  in a web browser, click on "Load..." and then select the file
    /path/to/dhat.out.12345
  Scroll to the end the displayed page to see a short
  explanation of some of the abbreviations used in the page.

This patch adds printing of the message, then filters it out in
dhat/tests/filter_stderr, and updates the .stderr.exp files to
remove blank lines.
dhat/dh_main.c
dhat/tests/acc.stderr.exp
dhat/tests/basic.stderr.exp
dhat/tests/big.stderr.exp
dhat/tests/empty.stderr.exp
dhat/tests/filter_stderr
dhat/tests/sig.stderr.exp
dhat/tests/single.stderr.exp