mirror of
https://github.com/gperftools/gperftools
synced 2025-02-21 06:36:50 +00:00
pprof: indicate if using remote profile
Missing profile file is common source of confusion. So a bit more clarify is useful.
This commit is contained in:
parent
6efe96b41c
commit
2e5ee04889
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user