From: "Daniel P. Berrange" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Stefan Hajnoczi" <stefanha@redhat.com>,
"Lluís Vilanova" <vilanova@ac.upc.edu>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Eric Blake" <eblake@redhat.com>,
"Daniel P. Berrange" <berrange@redhat.com>
Subject: [Qemu-devel] [PATCH v4 2/8] trace: move hw/block/dataplane events to correct subdir
Date: Wed, 25 Jan 2017 16:14:11 +0000 [thread overview]
Message-ID: <20170125161417.31949-3-berrange@redhat.com> (raw)
In-Reply-To: <20170125161417.31949-1-berrange@redhat.com>
The trace-events for a given source file should generally
always live in the same directory as the source file.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
---
Makefile.objs | 1 +
hw/block/dataplane/trace-events | 6 ++++++
hw/block/trace-events | 5 -----
3 files changed, 7 insertions(+), 5 deletions(-)
create mode 100644 hw/block/dataplane/trace-events
diff --git a/Makefile.objs b/Makefile.objs
index 01cef86..babbc4e 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -125,6 +125,7 @@ trace-events-y += io/trace-events
trace-events-y += migration/trace-events
trace-events-y += block/trace-events
trace-events-y += hw/block/trace-events
+trace-events-y += hw/block/dataplane/trace-events
trace-events-y += hw/char/trace-events
trace-events-y += hw/intc/trace-events
trace-events-y += hw/net/trace-events
diff --git a/hw/block/dataplane/trace-events b/hw/block/dataplane/trace-events
new file mode 100644
index 0000000..13f5dbb
--- /dev/null
+++ b/hw/block/dataplane/trace-events
@@ -0,0 +1,6 @@
+# See docs/tracing.txt for syntax documentation.
+
+# hw/block/dataplane/virtio-blk.c
+virtio_blk_data_plane_start(void *s) "dataplane %p"
+virtio_blk_data_plane_stop(void *s) "dataplane %p"
+virtio_blk_data_plane_process_request(void *s, unsigned int out_num, unsigned int in_num, unsigned int head) "dataplane %p out_num %u in_num %u head %u"
diff --git a/hw/block/trace-events b/hw/block/trace-events
index d0dd94f..65e83dc 100644
--- a/hw/block/trace-events
+++ b/hw/block/trace-events
@@ -7,11 +7,6 @@ virtio_blk_handle_write(void *req, uint64_t sector, size_t nsectors) "req %p sec
virtio_blk_handle_read(void *req, uint64_t sector, size_t nsectors) "req %p sector %"PRIu64" nsectors %zu"
virtio_blk_submit_multireq(void *mrb, int start, int num_reqs, uint64_t offset, size_t size, bool is_write) "mrb %p start %d num_reqs %d offset %"PRIu64" size %zu is_write %d"
-# hw/block/dataplane/virtio-blk.c
-virtio_blk_data_plane_start(void *s) "dataplane %p"
-virtio_blk_data_plane_stop(void *s) "dataplane %p"
-virtio_blk_data_plane_process_request(void *s, unsigned int out_num, unsigned int in_num, unsigned int head) "dataplane %p out_num %u in_num %u head %u"
-
# hw/block/hd-geometry.c
hd_geometry_lchs_guess(void *blk, int cyls, int heads, int secs) "blk %p LCHS %d %d %d"
hd_geometry_guess(void *blk, uint32_t cyls, uint32_t heads, uint32_t secs, int trans) "blk %p CHS %u %u %u trans %d"
--
2.9.3
next prev parent reply other threads:[~2017-01-25 16:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-25 16:14 [Qemu-devel] [PATCH v4 0/8] Switch all subdirs over to modular trace.h file Daniel P. Berrange
2017-01-25 16:14 ` [Qemu-devel] [PATCH v4 1/8] make: move top level dir to end of include search path Daniel P. Berrange
2017-01-25 16:25 ` Eric Blake
2017-02-04 15:48 ` Alberto Garcia
2017-02-06 10:42 ` Daniel P. Berrange
2017-01-25 16:14 ` Daniel P. Berrange [this message]
2017-01-25 16:14 ` [Qemu-devel] [PATCH v4 3/8] trace: move hw/xen events to correct subdir Daniel P. Berrange
2017-01-25 16:14 ` [Qemu-devel] [PATCH v4 4/8] trace: move hw/i386/xen " Daniel P. Berrange
2017-01-25 16:14 ` [Qemu-devel] [PATCH v4 5/8] trace: move setting of group name into Makefiles Daniel P. Berrange
2017-01-25 16:14 ` [Qemu-devel] [PATCH v4 6/8] trace: switch to modular code generation for sub-directories Daniel P. Berrange
2017-01-25 16:14 ` [Qemu-devel] [PATCH v4 7/8] trace: update docs to reflect new code generation approach Daniel P. Berrange
2017-01-25 16:14 ` [Qemu-devel] [PATCH v4 8/8] trace: improve error reporting when parsing simpletrace header Daniel P. Berrange
2017-01-30 13:59 ` [Qemu-devel] [PATCH v4 0/8] Switch all subdirs over to modular trace.h file Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170125161417.31949-3-berrange@redhat.com \
--to=berrange@redhat.com \
--cc=eblake@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=vilanova@ac.upc.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).