* [PATCH] blkparse: man: add absolute timestamp printing option
@ 2019-09-20 5:03 Hiroaki Mihara
2019-09-24 21:14 ` Jeff Moyer
2019-09-24 21:29 ` Jens Axboe
0 siblings, 2 replies; 3+ messages in thread
From: Hiroaki Mihara @ 2019-09-20 5:03 UTC (permalink / raw)
To: linux-btrace
The functionality of printing out absolute timestamps has been
implemented in code but not documented in man pages.
When comparing the timings of related events with block I/O traces,
the absolute timestams play a key role. I think that the
documentation of this might be beneficial to blktrace users.
The related commit was done in 2006 as follows,
> commit 7bd4fd0a4fca645bb50a641afac1e460a4e32dfd
> Author: Olaf Kirch <okir@lst.de>
> Date: Fri Dec 1 10:34:11 2006 +0100
>
> [PATCH] Add timestamp support
>
> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
>
URL of the above patch,
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git/commit/?id{d4fd0a4fca645bb50a641afac1e460a4e32dfd
Signed-off-by: Hiroaki Mihara <hmihara@redhat.com>
---
doc/blkparse.1 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/blkparse.1 b/doc/blkparse.1
index 627b7b1..e494b6e 100644
--- a/doc/blkparse.1
+++ b/doc/blkparse.1
@@ -368,6 +368,9 @@ Elapsed value in microseconds (\fI\-t\fR command line option)
.IP \fBU\fR 4
Payload unsigned integer
+.IP \fBz\fR 4
+The absolute time, as local time in your time zone, with no date displayed
+
.PP
Note that the user can optionally specify field display width, and optionally a
left-aligned specifier. These precede field specifiers, with a '%' character,
--
2.21.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] blkparse: man: add absolute timestamp printing option
2019-09-20 5:03 [PATCH] blkparse: man: add absolute timestamp printing option Hiroaki Mihara
@ 2019-09-24 21:14 ` Jeff Moyer
2019-09-24 21:29 ` Jens Axboe
1 sibling, 0 replies; 3+ messages in thread
From: Jeff Moyer @ 2019-09-24 21:14 UTC (permalink / raw)
To: linux-btrace
Hiroaki Mihara <hmihara@redhat.com> writes:
> The functionality of printing out absolute timestamps has been
> implemented in code but not documented in man pages.
>
> When comparing the timings of related events with block I/O traces,
> the absolute timestams play a key role. I think that the
> documentation of this might be beneficial to blktrace users.
>
> The related commit was done in 2006 as follows,
>
>> commit 7bd4fd0a4fca645bb50a641afac1e460a4e32dfd
>> Author: Olaf Kirch <okir@lst.de>
>> Date: Fri Dec 1 10:34:11 2006 +0100
>>
>> [PATCH] Add timestamp support
>>
>> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
>>
>
> URL of the above patch,
> https://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git/commit/?id{d4fd0a4fca645bb50a641afac1e460a4e32dfd
>
> Signed-off-by: Hiroaki Mihara <hmihara@redhat.com>
> ---
> doc/blkparse.1 | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/doc/blkparse.1 b/doc/blkparse.1
> index 627b7b1..e494b6e 100644
> --- a/doc/blkparse.1
> +++ b/doc/blkparse.1
> @@ -368,6 +368,9 @@ Elapsed value in microseconds (\fI\-t\fR command line option)
> .IP \fBU\fR 4
> Payload unsigned integer
>
> +.IP \fBz\fR 4
> +The absolute time, as local time in your time zone, with no date displayed
> +
> .PP
> Note that the user can optionally specify field display width, and optionally a
> left-aligned specifier. These precede field specifiers, with a '%' character,
Acked-by: Jeff Moyer <jmoyer@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] blkparse: man: add absolute timestamp printing option
2019-09-20 5:03 [PATCH] blkparse: man: add absolute timestamp printing option Hiroaki Mihara
2019-09-24 21:14 ` Jeff Moyer
@ 2019-09-24 21:29 ` Jens Axboe
1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2019-09-24 21:29 UTC (permalink / raw)
To: linux-btrace
On 9/19/19 11:03 PM, Hiroaki Mihara wrote:
> The functionality of printing out absolute timestamps has been
> implemented in code but not documented in man pages.
>
> When comparing the timings of related events with block I/O traces,
> the absolute timestams play a key role. I think that the
> documentation of this might be beneficial to blktrace users.
>
> The related commit was done in 2006 as follows,
>
>> commit 7bd4fd0a4fca645bb50a641afac1e460a4e32dfd
>> Author: Olaf Kirch <okir@lst.de>
>> Date: Fri Dec 1 10:34:11 2006 +0100
>>
>> [PATCH] Add timestamp support
>>
>> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
>>
>
> URL of the above patch,
> https://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git/commit/?id{d4fd0a4fca645bb50a641afac1e460a4e32dfd
I guess after 13 years it's about time to document it! Thanks, applied.
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-24 21:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-20 5:03 [PATCH] blkparse: man: add absolute timestamp printing option Hiroaki Mihara
2019-09-24 21:14 ` Jeff Moyer
2019-09-24 21:29 ` Jens Axboe
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.