On 21 November 2016 at 16:56, Thomas Gleixner wrote:
> On Mon, 21 Nov 2016, Baolin Wang wrote:
>> On 21 November 2016 at 16:13, Ingo Molnar wrote:
>> > Hm, there's a weirdness here: if freezer_delta != 0 when
>> > alarmtimer_suspend() is
>> > called then
On 21 November 2016 at 16:56, Thomas Gleixner wrote:
> On Mon, 21 Nov 2016, Baolin Wang wrote:
>> On 21 November 2016 at 16:13, Ingo Molnar wrote:
>> > Hm, there's a weirdness here: if freezer_delta != 0 when
>> > alarmtimer_suspend() is
>> > called then type might be '0', although it's not
On Mon, 21 Nov 2016, Baolin Wang wrote:
> On 21 November 2016 at 16:13, Ingo Molnar wrote:
> > Hm, there's a weirdness here: if freezer_delta != 0 when
> > alarmtimer_suspend() is
> > called then type might be '0', although it's not alarm_bases[0] this value
> > is
> > picked
On Mon, 21 Nov 2016, Baolin Wang wrote:
> On 21 November 2016 at 16:13, Ingo Molnar wrote:
> > Hm, there's a weirdness here: if freezer_delta != 0 when
> > alarmtimer_suspend() is
> > called then type might be '0', although it's not alarm_bases[0] this value
> > is
> > picked up from.
> >
> >
Hi Ingo,
On 21 November 2016 at 16:13, Ingo Molnar wrote:
>
> * John Stultz wrote:
>
>> @@ -222,7 +226,7 @@ static int alarmtimer_suspend(struct device *dev)
>> ktime_t min, now;
>> unsigned long flags;
>> struct rtc_device *rtc;
>> -
Hi Ingo,
On 21 November 2016 at 16:13, Ingo Molnar wrote:
>
> * John Stultz wrote:
>
>> @@ -222,7 +226,7 @@ static int alarmtimer_suspend(struct device *dev)
>> ktime_t min, now;
>> unsigned long flags;
>> struct rtc_device *rtc;
>> - int i;
>> + int i, type = 0;
>>
* John Stultz wrote:
> @@ -222,7 +226,7 @@ static int alarmtimer_suspend(struct device *dev)
> ktime_t min, now;
> unsigned long flags;
> struct rtc_device *rtc;
> - int i;
> + int i, type = 0;
> int ret;
>
>
* John Stultz wrote:
> @@ -222,7 +226,7 @@ static int alarmtimer_suspend(struct device *dev)
> ktime_t min, now;
> unsigned long flags;
> struct rtc_device *rtc;
> - int i;
> + int i, type = 0;
> int ret;
>
> spin_lock_irqsave(_delta_lock, flags);
> @@
From: Baolin Wang
For system debugging, we sometimes want to know who sets one
alarm timer, the time of the timer, when the timer started and
fired and so on. Thus adding tracepoints can help us trace the
alarmtimer information.
For example, when we debug the system
From: Baolin Wang
For system debugging, we sometimes want to know who sets one
alarm timer, the time of the timer, when the timer started and
fired and so on. Thus adding tracepoints can help us trace the
alarmtimer information.
For example, when we debug the system supend/resume, if the
system
10 matches
Mail list logo