From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Keir Fraser <keir@xen.org>, Tim Deegan <tim@xen.org>,
Xen-devel <xen-devel@lists.xen.org>,
Stefano Stabellini <stefano.stabellini@citrix.com>,
David Vrabel <david.vrabel@citrix.com>,
Jan Beulich <JBeulich@suse.com>
Subject: Re: [PATCH v5 5/5] xen/console: Traditional console timestamps including milliseconds
Date: Tue, 11 Mar 2014 14:02:16 +0000 [thread overview]
Message-ID: <531F1768.2030008@citrix.com> (raw)
In-Reply-To: <1394546082.30915.11.camel@kazak.uk.xensource.com>
On 11/03/14 13:54, Ian Campbell wrote:
> On Tue, 2014-03-11 at 11:08 +0000, Andrew Cooper wrote:
>> On 11/03/14 11:06, David Vrabel wrote:
>>> On 11/03/14 10:55, Andrew Cooper wrote:
>>>> On 11/03/14 10:13, Ian Campbell wrote:
>>>>> On Fri, 2014-03-07 at 17:28 +0000, Andrew Cooper wrote:
>>>>>> Suggested-by: Don Slutz <dslutz@verizon.com>
>>>>>> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
>>>>>> CC: Keir Fraser <keir@xen.org>
>>>>>> CC: Jan Beulich <JBeulich@suse.com>
>>>>>> CC: Ian Campbell <ian.campbell@citrix.com>
>>>>>> CC: Stefano Stabellini <stefano.stabellini@citrix.com>
>>>>>> CC: Tim Deegan <tim@xen.org>
>>>>>>
>>>>>> ---
>>>>>>
>>>>>> The change in arm is only for the sake of compilation - the function is a
>>>>>> no-op.
>>>>> Acked-by: Ian Campbell <ian.campbell@citrix.com>
>>>>>
>>>>>> v5: Correct check for null in wallclock_time()
>>>>>> ---
>>>>>> docs/misc/xen-command-line.markdown | 4 +++-
>>>>>> xen/arch/arm/time.c | 2 +-
>>>>>> xen/arch/x86/time.c | 10 +++++++---
>>>>>> xen/drivers/char/console.c | 11 ++++++++++-
>>>>>> xen/include/xen/time.h | 2 +-
>>>>>> 5 files changed, 22 insertions(+), 7 deletions(-)
>>>>>>
>>>>>> diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown
>>>>>> index e437091..ced5eca 100644
>>>>>> --- a/docs/misc/xen-command-line.markdown
>>>>>> +++ b/docs/misc/xen-command-line.markdown
>>>>>> @@ -275,7 +275,7 @@ cleared. This allows a single port to be shared by two subsystems
>>>>>> makes sense on its own.
>>>>>>
>>>>>> ### console\_timestamps
>>>>>> -> `= none | date | boot`
>>>>>> +> `= none | date | datems | boot`
>>>>> I think someone (David V?) asked this earlier but I don't remember a
>>>>> response: Why do we need to support multiple timestamp formats? Can't we
>>>>> just pick one which has reasonable accuracy/information content and
>>>>> stick with it?
>>>>>
>>>>> Ian.
>>>>>
>>>> That is posed as an RFC in patch 0, which has gone without comment for
>>>> several versions of this series now.
>>>>
>>>> XenServer has timestamps enabled by default, and in my opinion is too
>>>> long (space wise) and insufficiently precise. That is why I introduced
>>>> the linux-style timestamps.
>>>>
>>>> Don has expressed interest in keeping the existing format, preferring it
>>>> to linux-style.
> Did he say why? (sorry, I'm catching up on mail backlog, so maybe I
> missed this.
Yes, the same as Sander hooked off this thread. To match entries in the
Xen console with other log files.
This patch is Suggested-by: Don, given the previous dicussions
>
> Are there examples of the various formats somewhere?
In the patched markdown for patches 4 and 5, as well as in the enum
TSM_* from the same two patches.
>
>> Furthermore, the precision issue has been addressed, at
>>>> the expense of extra length, space wise.
>>> Wallclock date/time timestamps may be better served by a klogd like
>>> logging daemon in dom0 (but such a daemon doesn't exist yet).
>>>
>>> David
>> Not if you want timestamps on the serial console,
> At least around here the serial console server takes care of that most
> of the time.
>
> Ian.
If you are purely logging them, but not if you are working on the serial
console itself, which is what I find myself doing for a surprisingly
large amount of my work.
~Andrew
next prev parent reply other threads:[~2014-03-11 14:02 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-07 17:27 [PATCH v5 0/5] Improvements to console timestamps Andrew Cooper
2014-03-07 17:28 ` [PATCH v5 1/5] xen/time: Move wallclock_time() declaration into common code Andrew Cooper
2014-03-11 10:11 ` Ian Campbell
2014-03-07 17:28 ` [PATCH v5 2/5] x86/time: Always count s_time from Xen boot Andrew Cooper
2014-03-07 17:28 ` [PATCH v5 3/5] x86/time: Initialise time earlier during start_secondary() Andrew Cooper
2014-03-13 10:11 ` Keir Fraser
2014-03-07 17:28 ` [PATCH v5 4/5] xen/console: Provide timestamps as an offset since boot Andrew Cooper
2014-03-07 17:28 ` [PATCH v5 5/5] xen/console: Traditional console timestamps including milliseconds Andrew Cooper
2014-03-11 10:13 ` Ian Campbell
2014-03-11 10:55 ` Andrew Cooper
2014-03-11 11:06 ` David Vrabel
2014-03-11 11:08 ` Andrew Cooper
2014-03-11 13:54 ` Ian Campbell
2014-03-11 14:02 ` Andrew Cooper [this message]
2014-03-11 14:18 ` Ian Campbell
2014-03-11 14:57 ` Andrew Cooper
2014-03-11 15:08 ` Ian Campbell
2014-03-11 18:04 ` Don Slutz
2014-03-11 14:14 ` Ian Campbell
2014-03-11 14:30 ` Andrew Cooper
2014-03-11 14:40 ` Ian Campbell
2014-03-11 18:12 ` Don Slutz
2014-03-11 11:46 ` Sander Eikelenboom
2014-03-13 10:29 ` [PATCH v5 0/5] Improvements to console timestamps Keir Fraser
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=531F1768.2030008@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=david.vrabel@citrix.com \
--cc=keir@xen.org \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.org \
/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.