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


Groups > linux.kernel > #1488086

Re: [PATCH 2/2] time: alarmtimer: Add the trcepoints for alarmtimer

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] time: alarmtimer: Add the trcepoints for alarmtimer
Date 2016-09-21 14:40 +0200
Message-ID <sjOYF-yH-19@gated-at.bofh.it> (permalink)
References (1 earlier) <siDsB-4oB-9@gated-at.bofh.it> <sjBRM-EC-33@gated-at.bofh.it> <sjGop-3D2-11@gated-at.bofh.it> <sjK8F-61A-29@gated-at.bofh.it> <sjOYF-yH-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 21 Sep 2016, Steven Rostedt wrote:
> On Wed, 21 Sep 2016 09:26:20 +0200 (CEST)
> Thomas Gleixner <tglx@linutronix.de> wrote:
> > A single u64 does not take more storage space than this and it's a single
> > store.
> 
> So to use rtc_tm_to_time64()? Is the work to do the calculations of the
> conversion faster than a bunch of stores that are going to be in hot
> cache?

Look at the call site. It has already the scalar nsec value and it does a
conversion to rtc time in order to trace it.

Ditto for the other tracepoints where the conversion from scalar nsec is
done in the tracepoint itself.

Thanks,

	tglx

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


Thread

[PATCH 1/2] rtc: Add some dummy static inline functions Baolin Wang <baolin.wang@linaro.org> - 2016-09-18 08:10 +0200
  [PATCH 2/2] time: alarmtimer: Add the trcepoints for alarmtimer Baolin Wang <baolin.wang@linaro.org> - 2016-09-18 08:10 +0200
    Re: [PATCH 2/2] time: alarmtimer: Add the trcepoints for  alarmtimer Thomas Gleixner <tglx@linutronix.de> - 2016-09-21 00:40 +0200
      Re: [PATCH 2/2] time: alarmtimer: Add the trcepoints for alarmtimer Baolin Wang <baolin.wang@linaro.org> - 2016-09-21 05:30 +0200
        Re: [PATCH 2/2] time: alarmtimer: Add the trcepoints for  alarmtimer Thomas Gleixner <tglx@linutronix.de> - 2016-09-21 09:30 +0200
          Re: [PATCH 2/2] time: alarmtimer: Add the trcepoints for alarmtimer Baolin Wang <baolin.wang@linaro.org> - 2016-09-21 13:00 +0200
          Re: [PATCH 2/2] time: alarmtimer: Add the trcepoints for  alarmtimer Thomas Gleixner <tglx@linutronix.de> - 2016-09-21 14:40 +0200
            Re: [PATCH 2/2] time: alarmtimer: Add the trcepoints for alarmtimer Steven Rostedt <rostedt@goodmis.org> - 2016-09-21 15:40 +0200
          Re: [PATCH 2/2] time: alarmtimer: Add the trcepoints for alarmtimer Steven Rostedt <rostedt@goodmis.org> - 2016-09-21 14:40 +0200
  Re: [PATCH 1/2] rtc: Add some dummy static inline functions Thomas Gleixner <tglx@linutronix.de> - 2016-09-20 23:40 +0200
    Re: [PATCH 1/2] rtc: Add some dummy static inline functions Baolin Wang <baolin.wang@linaro.org> - 2016-09-21 04:10 +0200

csiph-web