summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-24 14:19:46 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-24 14:19:55 (GMT)
commit816bbf227f8cbfb37115af5ea93be436ab8f2059 (patch)
tree34bf15f34815e904fc426bf6f5eda0e28403e4f6 /Help
parent89a93348d514ff8c4233d8e25ebe2ff65e26c446 (diff)
parentc829f0cfcaa4753743fde1900091e1233c41350b (diff)
downloadCMake-816bbf227f8cbfb37115af5ea93be436ab8f2059.zip
CMake-816bbf227f8cbfb37115af5ea93be436ab8f2059.tar.gz
CMake-816bbf227f8cbfb37115af5ea93be436ab8f2059.tar.bz2
Merge topic 'trace_json_timestamp'
c829f0cfca trace: Add time and stack level to JSON output format Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Volo Zyko <volo.zyko@gmail.com> Merge-request: !4242
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake.1.rst14
1 files changed, 11 insertions, 3 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 4315f0a..44b1f2f 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -279,7 +279,9 @@ Options
"file": "/full/path/to/the/CMake/file.txt",
"line": 0,
"cmd": "add_executable",
- "args": ["foo", "bar"]
+ "args": ["foo", "bar"],
+ "time": 1579512535.9687231,
+ "frame": 2
}
The members are:
@@ -288,8 +290,8 @@ Options
The full path to the CMake source file where the function
was called.
- ``line``
- The line in `file` of the function call.
+ ``line``
+ The line in ``file`` of the function call.
``cmd``
The name of the function that was called.
@@ -297,6 +299,12 @@ Options
``args``
A string list of all function parameters.
+ ``time``
+ Timestamp (seconds since epoch) of the function call.
+
+ ``frame``
+ Stack frame depth of the function that was called.
+
Additionally, the first JSON document outputted contains the
``version`` key for the current major and minor version of the