* [PATCH v1] drivers/clocksource: do not trace read_sched_clock
@ 2014-05-13 3:10 Wei.Yang
2014-05-22 1:50 ` Yang,Wei
0 siblings, 1 reply; 5+ messages in thread
From: Wei.Yang @ 2014-05-13 3:10 UTC (permalink / raw)
To: daniel.lezcano; +Cc: tglx, rostedt, linux-kernel, wei.yang
From: Yang Wei <Wei.Yang@windriver.com>
We do not need to trace read_sched_clock function,
so add notrace attribute for this function.
Signed-off-by: Yang Wei <Wei.Yang@windriver.com>
---
drivers/clocksource/dw_apb_timer_of.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/dw_apb_timer_of.c b/drivers/clocksource/dw_apb_timer_of.c
index 2a2ea27..d305fb0 100644
--- a/drivers/clocksource/dw_apb_timer_of.c
+++ b/drivers/clocksource/dw_apb_timer_of.c
@@ -106,7 +106,7 @@ static void __init add_clocksource(struct device_node *source_timer)
sched_rate = rate;
}
-static u64 read_sched_clock(void)
+static u64 notrace read_sched_clock(void)
{
return ~__raw_readl(sched_io_base);
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH v1] drivers/clocksource: do not trace read_sched_clock
2014-05-13 3:10 [PATCH v1] drivers/clocksource: do not trace read_sched_clock Wei.Yang
@ 2014-05-22 1:50 ` Yang,Wei
2014-05-22 12:03 ` Daniel Lezcano
0 siblings, 1 reply; 5+ messages in thread
From: Yang,Wei @ 2014-05-22 1:50 UTC (permalink / raw)
To: Wei.Yang, daniel.lezcano; +Cc: tglx, rostedt, linux-kernel
Hi Daniel,
What do you think of it?
Regards
Wei
On 05/13/2014 11:10 AM, Wei.Yang@windriver.com wrote:
> From: Yang Wei <Wei.Yang@windriver.com>
>
> We do not need to trace read_sched_clock function,
> so add notrace attribute for this function.
>
> Signed-off-by: Yang Wei <Wei.Yang@windriver.com>
> ---
> drivers/clocksource/dw_apb_timer_of.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clocksource/dw_apb_timer_of.c b/drivers/clocksource/dw_apb_timer_of.c
> index 2a2ea27..d305fb0 100644
> --- a/drivers/clocksource/dw_apb_timer_of.c
> +++ b/drivers/clocksource/dw_apb_timer_of.c
> @@ -106,7 +106,7 @@ static void __init add_clocksource(struct device_node *source_timer)
> sched_rate = rate;
> }
>
> -static u64 read_sched_clock(void)
> +static u64 notrace read_sched_clock(void)
> {
> return ~__raw_readl(sched_io_base);
> }
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH v1] drivers/clocksource: do not trace read_sched_clock
2014-05-22 1:50 ` Yang,Wei
@ 2014-05-22 12:03 ` Daniel Lezcano
2014-05-23 0:51 ` Yang,Wei
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Lezcano @ 2014-05-22 12:03 UTC (permalink / raw)
To: Yang,Wei; +Cc: tglx, rostedt, linux-kernel
On 05/22/2014 03:50 AM, Yang,Wei wrote:
> Hi Daniel,
>
> What do you think of it?
>
> Regards
> Wei
> On 05/13/2014 11:10 AM, Wei.Yang@windriver.com wrote:
>> From: Yang Wei <Wei.Yang@windriver.com>
>>
>> We do not need to trace read_sched_clock function,
>> so add notrace attribute for this function.
Hi Yang,
I agree with your patch. Applied in my tree for 3.16
Please in the future fix the subject name:
clocksource: [driver]: [A-Z]....
Thanks
-- Daniel
>> Signed-off-by: Yang Wei <Wei.Yang@windriver.com>
>> ---
>> drivers/clocksource/dw_apb_timer_of.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/clocksource/dw_apb_timer_of.c
>> b/drivers/clocksource/dw_apb_timer_of.c
>> index 2a2ea27..d305fb0 100644
>> --- a/drivers/clocksource/dw_apb_timer_of.c
>> +++ b/drivers/clocksource/dw_apb_timer_of.c
>> @@ -106,7 +106,7 @@ static void __init add_clocksource(struct
>> device_node *source_timer)
>> sched_rate = rate;
>> }
>> -static u64 read_sched_clock(void)
>> +static u64 notrace read_sched_clock(void)
>> {
>> return ~__raw_readl(sched_io_base);
>> }
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH v1] drivers/clocksource: do not trace read_sched_clock
2014-05-22 12:03 ` Daniel Lezcano
@ 2014-05-23 0:51 ` Yang,Wei
0 siblings, 0 replies; 5+ messages in thread
From: Yang,Wei @ 2014-05-23 0:51 UTC (permalink / raw)
To: Daniel Lezcano; +Cc: tglx, rostedt, linux-kernel
On 05/22/2014 08:03 PM, Daniel Lezcano wrote:
> On 05/22/2014 03:50 AM, Yang,Wei wrote:
>> Hi Daniel,
>>
>> What do you think of it?
>>
>> Regards
>> Wei
>> On 05/13/2014 11:10 AM, Wei.Yang@windriver.com wrote:
>>> From: Yang Wei <Wei.Yang@windriver.com>
>>>
>>> We do not need to trace read_sched_clock function,
>>> so add notrace attribute for this function.
>
> Hi Yang,
>
> I agree with your patch. Applied in my tree for 3.16
>
> Please in the future fix the subject name:
>
> clocksource: [driver]: [A-Z]....
Daniel, Got it. I would be careful next time:-)
Thanks
Wei
>
> Thanks
> -- Daniel
>
>>> Signed-off-by: Yang Wei <Wei.Yang@windriver.com>
>>> ---
>>> drivers/clocksource/dw_apb_timer_of.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/clocksource/dw_apb_timer_of.c
>>> b/drivers/clocksource/dw_apb_timer_of.c
>>> index 2a2ea27..d305fb0 100644
>>> --- a/drivers/clocksource/dw_apb_timer_of.c
>>> +++ b/drivers/clocksource/dw_apb_timer_of.c
>>> @@ -106,7 +106,7 @@ static void __init add_clocksource(struct
>>> device_node *source_timer)
>>> sched_rate = rate;
>>> }
>>> -static u64 read_sched_clock(void)
>>> +static u64 notrace read_sched_clock(void)
>>> {
>>> return ~__raw_readl(sched_io_base);
>>> }
>>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v1] drivers/clocksource: do not trace read_sched_clock
@ 2014-05-13 3:09 Wei.Yang
0 siblings, 0 replies; 5+ messages in thread
From: Wei.Yang @ 2014-05-13 3:09 UTC (permalink / raw)
To: daniel.lezcano; +Cc: tglx, rostedt, linux-kernel
From: Yang Wei <Wei.Yang@windriver.com>
We do not need to trace read_sched_clock function,
so add notrace attribute for this function.
Signed-off-by: Yang Wei <Wei.Yang@windriver.com>
---
drivers/clocksource/dw_apb_timer_of.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/dw_apb_timer_of.c b/drivers/clocksource/dw_apb_timer_of.c
index 2a2ea27..d305fb0 100644
--- a/drivers/clocksource/dw_apb_timer_of.c
+++ b/drivers/clocksource/dw_apb_timer_of.c
@@ -106,7 +106,7 @@ static void __init add_clocksource(struct device_node *source_timer)
sched_rate = rate;
}
-static u64 read_sched_clock(void)
+static u64 notrace read_sched_clock(void)
{
return ~__raw_readl(sched_io_base);
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-05-23 0:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-13 3:10 [PATCH v1] drivers/clocksource: do not trace read_sched_clock Wei.Yang
2014-05-22 1:50 ` Yang,Wei
2014-05-22 12:03 ` Daniel Lezcano
2014-05-23 0:51 ` Yang,Wei
-- strict thread matches above, loose matches on Subject: below --
2014-05-13 3:09 Wei.Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox