diff options
author | Aliaksey Kandratsenka <alk@tut.by> | 2014-08-10 12:19:45 -0700 |
---|---|---|
committer | Aliaksey Kandratsenka <alk@tut.by> | 2014-11-02 18:29:55 -0800 |
commit | 2e5ee0488996437aeef2028ad95d969b56abcad1 (patch) | |
tree | b98b72380e998b695f72f1c0b9ce15cd3116dcee | |
parent | 6efe96b41c9531f68f806faa0464445f884178ce (diff) | |
download | gperftools-2e5ee0488996437aeef2028ad95d969b56abcad1.tar.gz |
pprof: indicate if using remote profile
Missing profile file is common source of confusion. So a bit more
clarify is useful.
-rwxr-xr-x | src/pprof | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -516,6 +516,7 @@ sub Init() { # Remote profiling without a binary (using $SYMBOL_PAGE instead) if (@ARGV > 0) { if (IsProfileURL($ARGV[0])) { + printf STDERR "Using remote profile at $ARGV[0].\n"; $main::use_symbol_page = 1; } elsif (IsSymbolizedProfileFile($ARGV[0])) { $main::use_symbolized_profile = 1; |