Re: [PATCH 1/2] tracing/function-return-tracer: Make the function return tracer lockless

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Thursday, November 13, 2008 - 1:55 am

* Frédéric Weisbecker <fweisbec@gmail.com> wrote:


in practice the jitter is much lower - a couple of microseconds - up 
to a few dozen at most.

But it's a possibility, and i think the best solution is something 
that Steve suggested yesterday: a /debug/tracing/trace_options flag 
that turns on global ordering for tracing timestamps. Something like:

  echo global_timestamps > /debug/tracing/trace_options

tracers could also change the default of this flag. The function-cost 
tracer will probably want to default to globally synchronous 
timestamps, while the preempt and irqsoff tracers want to default to 
local timestamps only.

Would something like this work for you?

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] tracing/function-return-tracer: Make the funct ..., Frederic Weisbecker, (Wed Nov 12, 2:47 pm)
Re: [PATCH 1/2] tracing/function-return-tracer: Make the f ..., Frédéric Weisbecker, (Thu Nov 13, 1:50 am)
Re: [PATCH 1/2] tracing/function-return-tracer: Make the f ..., Ingo Molnar, (Thu Nov 13, 1:55 am)
Re: [PATCH 1/2] tracing/function-return-tracer: Make the f ..., Frédéric Weisbecker, (Thu Nov 13, 2:16 am)
Re: [PATCH 1/2] tracing/function-return-tracer: Make the f ..., Frédéric Weisbecker, (Thu Nov 13, 2:27 am)
Re: [PATCH 1/2] tracing/function-return-tracer: Make the f ..., Frédéric Weisbecker, (Thu Nov 13, 5:36 am)
Re: [PATCH 1/2] tracing/function-return-tracer: Make the f ..., Frédéric Weisbecker, (Thu Nov 13, 10:01 am)
Re: [PATCH 1/2] tracing/function-return-tracer: Make the f ..., Frédéric Weisbecker, (Thu Nov 13, 10:26 am)
Re: [PATCH 1/2] tracing/function-return-tracer: Make the f ..., Frédéric Weisbecker, (Thu Nov 13, 10:46 am)
Re: [PATCH 1/2] tracing/function-return-tracer: Make the f ..., Frédéric Weisbecker, (Thu Nov 13, 1:06 pm)