[ltt-dev] [PATCH] lttng: fix trace clock definitions for SH
Mathieu Desnoyers
compudj at krystal.dyndns.org
Tue Dec 1 07:07:33 EST 2009
* Giuseppe CAVALLARO (peppe.cavallaro at st.com) wrote:
> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro at st.com>
Thanks for the patch ! Applied to lttng 0.180.
Mathieu
> ---
> arch/sh/include/asm/trace-clock.h | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/sh/include/asm/trace-clock.h b/arch/sh/include/asm/trace-clock.h
> index 0fb1603..7dfa042 100644
> --- a/arch/sh/include/asm/trace-clock.h
> +++ b/arch/sh/include/asm/trace-clock.h
> @@ -25,12 +25,12 @@
>
> extern u64 trace_clock_read_synthetic_tsc(void);
>
> -static inline u32 trace_clock_get_read32(void)
> +static inline u32 trace_clock_read32(void)
> {
> return get_cycles();
> }
>
> -static inline u64 trace_clock_get_read64(void)
> +static inline u64 trace_clock_read64(void)
> {
> return trace_clock_read_synthetic_tsc();
> }
> --
> 1.6.0.4
>
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
More information about the lttng-dev
mailing list