From 71978ec88a2aa8ec92df080a4a6becf623957c81 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 5 Jun 2017 22:45:11 +0200 Subject: Add "-trace" flag (record execution trace) Uses the runtime/trace functionality. TODO: add to man page. --- internal/exitcodes/exitcodes.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/exitcodes/exitcodes.go') 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 -- cgit v1.2.3