From: Rob Gardner <rob.gardner@hp.com>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: unconditionally enable the trace buffer
Date: Thu, 27 Oct 2005 16:08:38 -0600 [thread overview]
Message-ID: <43614FE6.105@hp.com> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D32E61D@liverpoolst.ad.cl.cam.ac.uk>
Ian Pratt wrote:
>I haven't looked at xentrace in a while, but last time I did it could
>seriously do with some tidying up. Here's a list of features I'd like to
>see it have. I'd be grateful if you could tell me what the current state
>is:
>
>* ability to turn on/off via hypercall
>
>
Not currently implemented, but would not be difficult to add.
>* trace events grouped by type, with a bitmap to enable the event types
>of interest
>
>
This functionality is in there already.
>* ability to set the per CPU tracebuffer size when turning it on
>
>
Partially; You can enable the trace buffer on the xen (boot) command
line, and you can specify the trace buffer size there. You cannot change
the size dynamically.
>* ability for the user-space reader to explicitly block (select on fd)
>on an eventchn notification that the buffer is e.g. half full. (reader
>should write out all the pages that are full of trace events)
>
>
Not done.
>* user space reader should log when it misses blocks of events
>(overwrite last trace message in buffer with a special 'missed X events'
>message)
>
>
>
Not done, but my XenMon patch includes a change to the trace buffer code
to help with this. I've added a "sequence number" to each trace record
which can be used to detect when blocks of events have been missed.
Rob Gardner
next prev parent reply other threads:[~2005-10-27 22:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-27 19:45 unconditionally enable the trace buffer Ian Pratt
2005-10-27 22:08 ` Rob Gardner [this message]
2005-10-27 23:21 ` Mark Williamson
-- strict thread matches above, loose matches on Subject: below --
2005-10-28 0:24 Ian Pratt
2005-10-28 6:45 ` Rob Gardner
2005-10-25 16:40 Rob Gardner
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=43614FE6.105@hp.com \
--to=rob.gardner@hp.com \
--cc=m+Ian.Pratt@cl.cam.ac.uk \
--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.