Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1532210

Re: [PATCH 4/7] time: alarmtimer: Add the tracepoints for alarmtimer

From Baolin Wang <baolin.wang@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 4/7] time: alarmtimer: Add the tracepoints for alarmtimer
Date 2016-11-29 13:00 +0100
Message-ID <sIPeN-7XO-1@gated-at.bofh.it> (permalink)
References <sICKB-89o-17@gated-at.bofh.it> <sICKB-89o-21@gated-at.bofh.it> <sIL1v-5fn-1@gated-at.bofh.it> <sILXz-5RH-1@gated-at.bofh.it> <sIMJY-6yn-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 29 November 2016 at 17:12, Ingo Molnar <mingo@kernel.org> wrote:
>
> * Baolin Wang <baolin.wang@linaro.org> wrote:
>
>> On 29 November 2016 at 15:23, Ingo Molnar <mingo@kernel.org> wrote:
>> >
>> > * John Stultz <john.stultz@linaro.org> wrote:
>> >
>> >> From: Baolin Wang <baolin.wang@linaro.org>
>> >>
>> >> 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.
>> >
>> > s/one alarm timer/an alarm timer
>> >
>> >> For example, when we debug the system supend/resume, if the
>> >> system is always resumed by RTC alarm, we can find out which
>> >> process set the alarm timer to resume system by below trace log:
>> >
>> > s/when we debug the system/when we debug system
>> > s/supend/suspend
>> > s/resume system/resume the system
>> > s/by below trace log/by the trace log below
>> >
>> >> From the trace log, we can find out the 'Binder:3292_2' process
>> >> set one alarm timer which resumes the system.
>> >
>> > s/set one alarm timer/set an alarm timer
>> >
>> >> Changes since v4:
>> >>  - Initialize 'type' to -1 and rename it in alarmtimer_suspend().
>> >>  - Fix typo in subject line.
>> >>
>> >> Changes since v3:
>> >>  - Remove the "ALARM_" prefix in the string.
>> >>  - Add the ACK by Steven Rostedt.
>> >>
>> >> Changes since v2:
>> >>  - Save time as s64 type.
>> >>  - Remove 'process_name' parameter and add 'now' parameter.
>> >>  - Rename the trace event name.
>> >>  - Remove restart trace event.
>> >>  - Other optimization.
>> >
>> > I find it really sad that a patch that has gone through 4 iterations still has so
>> > many typos and grammar errors in its changelog :-(
>>
>> Really sorry for these elementary errors, I will fix these errors in
>> new patch. Sorry for troubles again.
>
> No problem - the code looks fine to me, so we can fix this when applying the
> patches.

Okay, thanks a lot.

-- 
Baolin.wang
Best Regards

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 4/7] time: alarmtimer: Add the tracepoints for alarmtimer John Stultz <john.stultz@linaro.org> - 2016-11-28 23:40 +0100
  Re: [PATCH 4/7] time: alarmtimer: Add the tracepoints for alarmtimer Ingo Molnar <mingo@kernel.org> - 2016-11-29 08:30 +0100
    Re: [PATCH 4/7] time: alarmtimer: Add the tracepoints for alarmtimer Baolin Wang <baolin.wang@linaro.org> - 2016-11-29 09:30 +0100
      Re: [PATCH 4/7] time: alarmtimer: Add the tracepoints for alarmtimer Ingo Molnar <mingo@kernel.org> - 2016-11-29 10:20 +0100
        Re: [PATCH 4/7] time: alarmtimer: Add the tracepoints for alarmtimer Baolin Wang <baolin.wang@linaro.org> - 2016-11-29 13:00 +0100
  Re: [PATCH 4/7] time: alarmtimer: Add the tracepoints for  alarmtimer Thomas Gleixner <tglx@linutronix.de> - 2016-11-29 13:10 +0100
    Re: [PATCH 4/7] time: alarmtimer: Add the tracepoints for alarmtimer Baolin Wang <baolin.wang@linaro.org> - 2016-11-30 12:50 +0100
    Re: [PATCH 4/7] time: alarmtimer: Add the tracepoints for alarmtimer Baolin Wang <baolin.wang@linaro.org> - 2016-12-01 03:40 +0100
  [tip:timers/core] alarmtimer: Add tracepoints for alarm timers tip-bot for Baolin Wang <tipbot@zytor.com> - 2016-12-01 15:00 +0100

csiph-web