From: Zoltan Kiss <zoltan.kiss@citrix.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
Steven Rostedt <rostedt@goodmis.org>,
Frederic Weisbecker <fweisbec@gmail.com>,
Ingo Molnar <mingo@redhat.com>, <linux-kernel@vger.kernel.org>,
<xen-devel@lists.xensource.com>,
<virtualization@lists.linux-foundation.org>
Subject: Re: [PATCH] tracing/events: Add bounce tracing to swiotbl-xen
Date: Wed, 4 Sep 2013 21:10:50 +0100 [thread overview]
Message-ID: <522793CA.3060002@citrix.com> (raw)
In-Reply-To: <20130903124237.GB9870@konrad-lan.dumpdata.com>
On 03/09/13 13:42, Konrad Rzeszutek Wilk wrote:
> Correct. The double buffering code is being run in lib/swiotlb.c not the
> xen-swiotlb.c. Hence the question of why not move the tracing in there.
I've put the trace to both locations before swiotlb_tbl_map_single is
called, so the same tracer will be hit both with classic and Xen
SWIOTLB. I used 2 different place instead of calling from
swiotlb_tbl_map_single because I want to print out dev_addr, and it's
calculated differently.
> Yes. And please (if it adds a benefit) also for unmap/sync which can trigger
> the bounce buffer.
>
> Or if it makes sense just for the bounce buffer copying - then just
> leave it at that. Thanks.
For me the relevant event was to see when we start to do bounce
buffering. When does it end, or when syncing happens is a different
thing. If someone is interested, they can easily extend this patch with
that.
However one question bothers me: why ftrace doesn't trace these
functions? They are not inlined, static, or marked as notrace.
Regards,
Zoli
WARNING: multiple messages have this Message-ID (diff)
From: Zoltan Kiss <zoltan.kiss@citrix.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
Steven Rostedt <rostedt@goodmis.org>,
Frederic Weisbecker <fweisbec@gmail.com>,
Ingo Molnar <mingo@redhat.com>,
linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com,
virtualization@lists.linux-foundation.org
Subject: Re: [PATCH] tracing/events: Add bounce tracing to swiotbl-xen
Date: Wed, 4 Sep 2013 21:10:50 +0100 [thread overview]
Message-ID: <522793CA.3060002@citrix.com> (raw)
In-Reply-To: <20130903124237.GB9870@konrad-lan.dumpdata.com>
On 03/09/13 13:42, Konrad Rzeszutek Wilk wrote:
> Correct. The double buffering code is being run in lib/swiotlb.c not the
> xen-swiotlb.c. Hence the question of why not move the tracing in there.
I've put the trace to both locations before swiotlb_tbl_map_single is
called, so the same tracer will be hit both with classic and Xen
SWIOTLB. I used 2 different place instead of calling from
swiotlb_tbl_map_single because I want to print out dev_addr, and it's
calculated differently.
> Yes. And please (if it adds a benefit) also for unmap/sync which can trigger
> the bounce buffer.
>
> Or if it makes sense just for the bounce buffer copying - then just
> leave it at that. Thanks.
For me the relevant event was to see when we start to do bounce
buffering. When does it end, or when syncing happens is a different
thing. If someone is interested, they can easily extend this patch with
that.
However one question bothers me: why ftrace doesn't trace these
functions? They are not inlined, static, or marked as notrace.
Regards,
Zoli
next prev parent reply other threads:[~2013-09-04 20:10 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-22 21:47 [PATCH] tracing/events: Add bounce tracing to swiotbl-xen Zoltan Kiss
2013-08-22 21:47 ` Zoltan Kiss
2013-08-22 22:02 ` Steven Rostedt
2013-08-22 22:02 ` Steven Rostedt
2013-09-04 15:58 ` Zoltan Kiss
2013-09-04 15:58 ` Zoltan Kiss
2013-08-23 12:55 ` Konrad Rzeszutek Wilk
2013-08-23 12:55 ` Konrad Rzeszutek Wilk
2013-09-02 17:54 ` Zoltan Kiss
2013-09-02 17:54 ` Zoltan Kiss
2013-09-03 12:42 ` Konrad Rzeszutek Wilk
2013-09-03 12:42 ` Konrad Rzeszutek Wilk
2013-09-04 20:10 ` Zoltan Kiss [this message]
2013-09-04 20:10 ` Zoltan Kiss
2013-09-04 20:35 ` Konrad Rzeszutek Wilk
2013-09-04 20:35 ` Konrad Rzeszutek Wilk
2013-09-04 20:10 ` Zoltan Kiss
-- strict thread matches above, loose matches on Subject: below --
2013-08-22 21:47 Zoltan Kiss
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=522793CA.3060002@citrix.com \
--to=zoltan.kiss@citrix.com \
--cc=fweisbec@gmail.com \
--cc=jeremy@goop.org \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
--cc=virtualization@lists.linux-foundation.org \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.