[PATCH] Docs: admin/kernel-parameters: Add trace_clock=tai

Jian Zhang posted 1 patch 6 days, 18 hours ago
Documentation/admin-guide/kernel-parameters.txt | 1 +
1 file changed, 1 insertion(+)
[PATCH] Docs: admin/kernel-parameters: Add trace_clock=tai
Posted by Jian Zhang 6 days, 18 hours ago
After CLOCK_TAI is added, add missing option trace_clock=tai.

Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com>
---
 Documentation/admin-guide/kernel-parameters.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 6c42061ca20e..fdbd2149f321 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -7452,6 +7452,7 @@
 			mono_raw - Use ktime_get_raw_fast_ns() for time
 				stamps.
 			boot - Use ktime_get_boot_fast_ns() for time stamps.
+			tai - Use ktime_get_tai_fast_ns() for time stamps.
 			Architectures may add more clocks. See
 			Documentation/trace/ftrace.rst for more details.
 
-- 
2.47.0
Re: [PATCH] Docs: admin/kernel-parameters: Add trace_clock=tai
Posted by Randy Dunlap 6 days, 18 hours ago

On 11/24/25 9:34 PM, Jian Zhang wrote:
> After CLOCK_TAI is added, add missing option trace_clock=tai.
> 

When/where is CLOCK_TAI added?
Commit hash?
Thanks.

> Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com>
> ---
>  Documentation/admin-guide/kernel-parameters.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index 6c42061ca20e..fdbd2149f321 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -7452,6 +7452,7 @@
>  			mono_raw - Use ktime_get_raw_fast_ns() for time
>  				stamps.
>  			boot - Use ktime_get_boot_fast_ns() for time stamps.
> +			tai - Use ktime_get_tai_fast_ns() for time stamps.
>  			Architectures may add more clocks. See
>  			Documentation/trace/ftrace.rst for more details.
>  

-- 
~Randy
Re: [PATCH] Docs: admin/kernel-parameters: Add trace_clock=tai
Posted by Randy Dunlap 6 days, 18 hours ago

On 11/24/25 9:53 PM, Randy Dunlap wrote:
> 
> 
> On 11/24/25 9:34 PM, Jian Zhang wrote:
>> After CLOCK_TAI is added, add missing option trace_clock=tai.
>>
> 
> When/where is CLOCK_TAI added?
> Commit hash?
> Thanks.

I got it. Thanks.

commit 1ff3c9677bff
Author: John Stultz <john.stultz@linaro.org>
Date:   Thu May 3 12:43:40 2012 -0700
    timekeeping: Add CLOCK_TAI clockid

>> Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com>
>> ---
>>  Documentation/admin-guide/kernel-parameters.txt | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
>> index 6c42061ca20e..fdbd2149f321 100644
>> --- a/Documentation/admin-guide/kernel-parameters.txt
>> +++ b/Documentation/admin-guide/kernel-parameters.txt
>> @@ -7452,6 +7452,7 @@
>>  			mono_raw - Use ktime_get_raw_fast_ns() for time
>>  				stamps.
>>  			boot - Use ktime_get_boot_fast_ns() for time stamps.
>> +			tai - Use ktime_get_tai_fast_ns() for time stamps.
>>  			Architectures may add more clocks. See
>>  			Documentation/trace/ftrace.rst for more details.
>>  
> 

-- 
~Randy