aboutsummaryrefslogtreecommitdiff
path: root/internal/exitcodes/exitcodes.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-06-05 22:45:11 +0200
committerJakob Unterwurzacher2017-06-07 22:09:06 +0200
commit71978ec88a2aa8ec92df080a4a6becf623957c81 (patch)
treedee06235a540e7188a6defc6f2bc6057cd000af5 /internal/exitcodes/exitcodes.go
parent22820bcd76a781d09ce82f6e734013d55afc1e5c (diff)
Add "-trace" flag (record execution trace)
Uses the runtime/trace functionality. TODO: add to man page.
Diffstat (limited to 'internal/exitcodes/exitcodes.go')
-rw-r--r--internal/exitcodes/exitcodes.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/exitcodes/exitcodes.go b/internal/exitcodes/exitcodes.go
index 88e8e5f..209656c 100644
--- a/internal/exitcodes/exitcodes.go
+++ b/internal/exitcodes/exitcodes.go
@@ -58,6 +58,9 @@ const (
OpenConf = 23
// WriteConf - could not write the gocryptfs.conf
WriteConf = 24
+ // Profiler - error occoured when trying to write cpu or memory profile or
+ // execution trace
+ Profiler = 25
)
// Err wraps an error with an associated numeric exit code