* [PATCH] trace2: correct trace2 field name documentation
@ 2019-07-09 23:09 Josh Steadmon
0 siblings, 0 replies; only message in thread
From: Josh Steadmon @ 2019-07-09 23:09 UTC (permalink / raw)
To: git
Correct the api-trace2 documentation, which lists "signal" as an
expected field for the signal event type, but which actually outputs
"signo" as the field name.
Signed-off-by: Josh Steadmon <steadmon@google.com>
---
This patch has been split off from the "Add a JSON Schema for trace2
events" series. The documentation discrepancy was discovered in the
process of testing the schema validation in that series.
Documentation/technical/api-trace2.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/technical/api-trace2.txt b/Documentation/technical/api-trace2.txt
index 23c3cc7a37..fd1e628944 100644
--- a/Documentation/technical/api-trace2.txt
+++ b/Documentation/technical/api-trace2.txt
@@ -668,7 +668,7 @@ completed.)
"event":"signal",
...
"t_abs":0.001227, # elapsed time in seconds
- "signal":13 # SIGTERM, SIGINT, etc.
+ "signo":13 # SIGTERM, SIGINT, etc.
}
------------
--
2.22.0.510.g264f2c817a-goog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-09 23:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-09 23:09 [PATCH] trace2: correct trace2 field name documentation Josh Steadmon
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).