aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2019-09-03 11:06:09 +0100
committerPeter Maydell <peter.maydell@linaro.org>2019-09-03 11:06:09 +0100
commitcc6613e244e86c66f83467eab5284825d7057cea (patch)
treedb3b6a166adafc356fa90c783a7b9ad456bd75f7
parent54b89db5309d5fa8b5d3fe5fe56f81704e2f9706 (diff)
parent9f591a5d95e1969969632ab44cf35e505c8ddc3b (diff)
downloadqemu-cc6613e244e86c66f83467eab5284825d7057cea.zip
qemu-cc6613e244e86c66f83467eab5284825d7057cea.tar.gz
qemu-cc6613e244e86c66f83467eab5284825d7057cea.tar.bz2
Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' into staging
Pull request # gpg: Signature made Tue 27 Aug 2019 21:33:15 BST # gpg: using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8 # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full] # gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>" [full] # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8 * remotes/stefanha/tags/tracing-pull-request: trace: Clarify DTrace/SystemTap help message Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--trace/control.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/trace/control.c b/trace/control.c
index 43fb786..d9cafc1 100644
--- a/trace/control.c
+++ b/trace/control.c
@@ -165,6 +165,12 @@ void trace_list_events(void)
while ((ev = trace_event_iter_next(&iter)) != NULL) {
fprintf(stderr, "%s\n", trace_event_get_name(ev));
}
+#ifdef CONFIG_TRACE_DTRACE
+ fprintf(stderr, "This list of names of trace points may be incomplete "
+ "when using the DTrace/SystemTap backends.\n"
+ "Run 'qemu-trace-stap list %s' to print the full list.\n",
+ error_get_progname());
+#endif
}
static void do_trace_enable_events(const char *line_buf)