public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] tracing: lost events changes
@ 2010-04-14 13:00 Jiri Olsa
  2010-04-14 13:00 ` [PATCH 1/2] tracing: adding lost-events option Jiri Olsa
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jiri Olsa @ 2010-04-14 13:00 UTC (permalink / raw)
  To: mingo, rostedt, fweisbec; +Cc: linux-kernel

hi,

I noticed LOST EVENTS messages in the iterator "trace" file.
According to the comment from commit bc21b478 this won't work.

<comment>
    Note, it does not work with the iterator "trace" file, since it requires
    the use of consuming the page from the ring buffer to determine how many
    events were lost, which the iterator does not do.
</comment>

I'm not sure the attached fix (2/2) is on the right place,
but stops the LOST EVENTS display for iterator "trace" file.

I also added option to control the LOST EVENTS display (1/2) if needed.

attached patches:
- 1/2 - adding lost-events option
- 2/2 - supress lost events message for iterator "trace"


wbr,
jirka
---
 kernel/trace/trace.c |   24 ++++++++++++++----------
 kernel/trace/trace.h |    1 +
 2 files changed, 15 insertions(+), 10 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-04-14 16:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-14 13:00 [PATCH 0/2] tracing: lost events changes Jiri Olsa
2010-04-14 13:00 ` [PATCH 1/2] tracing: adding lost-events option Jiri Olsa
2010-04-14 13:00 ` [PATCH 2/2] tracing: supress lost events message for iterator "trace" Jiri Olsa
2010-04-14 15:11 ` [PATCH 0/2] tracing: lost events changes Steven Rostedt
2010-04-14 16:00   ` Ingo Molnar
2010-04-14 16:15     ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox