summaryrefslogtreecommitdiffstats
path: root/nbd/trace-events
diff options
context:
space:
mode:
authorMarkus Armbruster2019-03-14 19:09:26 +0100
committerStefan Hajnoczi2019-03-22 17:18:07 +0100
commit500016e5db5826fbcc5db17f9992b22d936acb83 (patch)
tree2ea65b5045b584e61cca2fda67fcbfb7944e9322 /nbd/trace-events
parenttrace-events: Consistently point to docs/devel/tracing.txt (diff)
downloadqemu-500016e5db5826fbcc5db17f9992b22d936acb83.tar.gz
qemu-500016e5db5826fbcc5db17f9992b22d936acb83.tar.xz
qemu-500016e5db5826fbcc5db17f9992b22d936acb83.zip
trace-events: Shorten file names in comments
We spell out sub/dir/ in sub/dir/trace-events' comments pointing to source files. That's because when trace-events got split up, the comments were moved verbatim. Delete the sub/dir/ part from these comments. Gets rid of several misspellings. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20190314180929.27722-3-armbru@redhat.com Message-Id: <20190314180929.27722-3-armbru@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'nbd/trace-events')
-rw-r--r--nbd/trace-events6
1 files changed, 3 insertions, 3 deletions
diff --git a/nbd/trace-events b/nbd/trace-events
index 6db8375c3e..640f86a3b4 100644
--- a/nbd/trace-events
+++ b/nbd/trace-events
@@ -1,6 +1,6 @@
# See docs/devel/tracing.txt for syntax documentation.
-# nbd/client.c
+# client.c
nbd_send_option_request(uint32_t opt, const char *name, uint32_t len) "Sending option request %" PRIu32" (%s), len %" PRIu32
nbd_receive_option_reply(uint32_t option, const char *optname, uint32_t type, const char *typename, uint32_t length) "Received option reply %" PRIu32" (%s), type %" PRIu32" (%s), len %" PRIu32
nbd_server_error_msg(uint32_t err, const char *type, const char *msg) "server reported error 0x%" PRIx32 " (%s) with additional message: %s"
@@ -35,10 +35,10 @@ nbd_send_request(uint64_t from, uint32_t len, uint64_t handle, uint16_t flags, u
nbd_receive_simple_reply(int32_t error, const char *errname, uint64_t handle) "Got simple reply: { .error = %" PRId32 " (%s), handle = %" PRIu64" }"
nbd_receive_structured_reply_chunk(uint16_t flags, uint16_t type, const char *name, uint64_t handle, uint32_t length) "Got structured reply chunk: { flags = 0x%" PRIx16 ", type = %d (%s), handle = %" PRIu64 ", length = %" PRIu32 " }"
-# nbd/common.c
+# common.c
nbd_unknown_error(int err) "Squashing unexpected error %d to EINVAL"
-# nbd/server.c
+# server.c
nbd_negotiate_send_rep_len(uint32_t opt, const char *optname, uint32_t type, const char *typename, uint32_t len) "Reply opt=%" PRIu32 " (%s), type=%" PRIu32 " (%s), len=%" PRIu32
nbd_negotiate_send_rep_err(const char *msg) "sending error message \"%s\""
nbd_negotiate_send_rep_list(const char *name, const char *desc) "Advertising export name '%s' description '%s'"