MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / hasTemporaryLog

Method hasTemporaryLog

src/arguments.cpp:444–446  ·  view source on GitHub ↗

Returns true if the log file is a temporary file of asprof launcher

Source from the content-addressed store, hash-verified

442
443// Returns true if the log file is a temporary file of asprof launcher
444bool Arguments::hasTemporaryLog() const {
445 return _log != NULL && strncmp(_log, "/tmp/asprof-log.", 16) == 0;
446}
447
448// Should match statically computed HASH(arg)
449long long Arguments::hash(const char* arg) {

Callers 1

Agent_OnAttachFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected