Re: [RFC PATCH 1/4] kmemtrace: Core implementation.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eduard - Gabriel Munteanu
Date: Thursday, July 17, 2008 - 11:32 am

On Thu, Jul 17, 2008 at 11:01:21AM +0300, Pekka Enberg wrote:

Will do.


Yes, I'm working on a legible plain Makefile. However, I'd leave both
the autoconf variant and the plain Makefile in the package for now. Most
developers can use autoconf since it's part of the standard toolset for
regular userspace.


Sounds like a good idea, I'll get on it.


We keep this here because we see all-zeros events when relay errors
occur. I'd like to keep it until I'm sure the relay problem was solved
(although I've not seen these errors in a while since I patched
kmemtraced).


Okay, will s/TYPE_KERNEL/TYPE_KMALLOC/.


You can't add fields at the end, because the struct size will change and
reads will be erroneous. Also, stamping every 'packet' with ABI version
looks like a huge waste of space.



We do it to preserve ordering of timestamps. Otherwise, the CPU might
get preempted (by IRQs or otherwise) and the event might not be logged
in the order timestamps were taken.

I thought the previous comment about 'ev.timestamp' was enough. I'll
make things more explicit.

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

Messages in current thread:
[RFC PATCH 0/4] kmemtrace RFC (resubmit 1), Eduard - Gabriel Mun ..., (Wed Jul 16, 5:46 pm)
[RFC PATCH 1/4] kmemtrace: Core implementation., Eduard - Gabriel Mun ..., (Wed Jul 16, 5:46 pm)
[RFC PATCH 2/4] kmemtrace: SLAB hooks., Eduard - Gabriel Mun ..., (Wed Jul 16, 5:46 pm)
[RFC PATCH 3/4] kmemtrace: SLUB hooks., Eduard - Gabriel Mun ..., (Wed Jul 16, 5:46 pm)
[RFC PATCH 4/4] kmemtrace: SLOB hooks., Eduard - Gabriel Mun ..., (Wed Jul 16, 5:46 pm)
Re: [RFC PATCH 2/4] kmemtrace: SLAB hooks., Pekka Enberg, (Thu Jul 17, 12:38 am)
Re: [RFC PATCH 4/4] kmemtrace: SLOB hooks., Pekka Enberg, (Thu Jul 17, 12:43 am)
Re: [RFC PATCH 3/4] kmemtrace: SLUB hooks., Pekka Enberg, (Thu Jul 17, 12:46 am)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Pekka Enberg, (Thu Jul 17, 1:01 am)
Re: [RFC PATCH 4/4] kmemtrace: SLOB hooks., Matt Mackall, (Thu Jul 17, 8:46 am)
Re: [RFC PATCH 3/4] kmemtrace: SLUB hooks., Eduard - Gabriel Mun ..., (Thu Jul 17, 11:06 am)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Eduard - Gabriel Mun ..., (Thu Jul 17, 11:32 am)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Randy Dunlap, (Thu Jul 17, 2:34 pm)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Eduard - Gabriel Mun ..., (Thu Jul 17, 4:49 pm)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Pekka J Enberg, (Fri Jul 18, 1:48 am)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Eduard - Gabriel Mun ..., (Fri Jul 18, 3:13 am)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Pekka Enberg, (Fri Jul 18, 7:38 am)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Eduard - Gabriel Mun ..., (Fri Jul 18, 12:40 pm)
Re: [RFC PATCH 1/4] kmemtrace: Core implementation., Matt Mackall, (Fri Jul 18, 1:07 pm)