diff options
author | Andreas Madsen <amwebdk@gmail.com> | 2018-01-31 17:12:09 +0100 |
---|---|---|
committer | Anatoli Papirovski <apapirovski@mac.com> | 2018-03-04 12:07:39 +0100 |
commit | 85212bb182f555f6d09e0b2f5f78d2d8e19bcef1 (patch) | |
tree | 182b8e0698057e8760462964c0deef66e6ccb34c /src/tracing/agent.h | |
parent | 523d44a66e5a4f9bbe335b7872919aa39d6ee4c4 (diff) | |
download | android-node-v8-85212bb182f555f6d09e0b2f5f78d2d8e19bcef1.tar.gz android-node-v8-85212bb182f555f6d09e0b2f5f78d2d8e19bcef1.tar.bz2 android-node-v8-85212bb182f555f6d09e0b2f5f78d2d8e19bcef1.zip |
trace_events: add file pattern cli option
Allow the user to specify the filepath for the trace_events log file
using a template string.
PR-URL: https://github.com/nodejs/node/pull/18480
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/tracing/agent.h')
-rw-r--r-- | src/tracing/agent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tracing/agent.h b/src/tracing/agent.h index 203f53be7e..9d6bc4e90a 100644 --- a/src/tracing/agent.h +++ b/src/tracing/agent.h @@ -19,7 +19,7 @@ class TracingController : public v8::platform::tracing::TracingController { class Agent { public: - Agent(); + explicit Agent(const std::string& log_file_pattern); void Start(const std::string& enabled_categories); void Stop(); |