From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>,
cl@linux-foundation.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org, rdunlap@xenotime.net,
mpm@selenic.com, Steven Rostedt <rostedt@goodmis.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [RFC PATCH 1/4] kmemtrace: Core implementation.
Date: Tue, 29 Jul 2008 11:25:27 +0300 [thread overview]
Message-ID: <1217319927.7813.113.camel@penberg-laptop> (raw)
In-Reply-To: <20080728173549.GA5185@localhost>
Hi Eduard-Gabriel,
On Mon, 2008-07-28 at 20:35 +0300, Eduard - Gabriel Munteanu wrote:
> > > > +struct kmemtrace_event {
> > > > + u8 event_id; /* Allocate or free? */
> > > > + u8 type_id; /* Kind of allocation/free. */
> > > > + u16 event_size; /* Size of event */
> > > > + s32 node; /* Target CPU. */
> > > > + u64 call_site; /* Caller address. */
> > > > + u64 ptr; /* Pointer to allocation. */
> > > > + u64 bytes_req; /* Number of bytes requested. */
> > > > + u64 bytes_alloc; /* Number of bytes allocated. */
> > > > + u64 gfp_flags; /* Requested flags. */
> > > > + s64 timestamp; /* When the operation occured in ns. */
> > > > +} __attribute__ ((__packed__));
> >
> > See below for detail, but this event record is way too big and not
> > adapted to 32 bits architectures.
>
> Pekka, what do you think?
i>>?Mathieu does have a good point of optimizing the memory use of an
individual event so I'm okay with that. But we really don't want to
force people the analyze the dump on same architecture where we captured
it. So as long as that is taken care of, I'm happy.
Pekka
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2008-07-29 8:25 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 18:36 [RFC PATCH 0/4] kmemtrace RFC (resend 2, fixed wrong Cc) Eduard - Gabriel Munteanu
2008-07-22 18:36 ` [RFC PATCH 1/4] kmemtrace: Core implementation Eduard - Gabriel Munteanu
2008-07-22 18:36 ` [RFC PATCH 2/4] kmemtrace: SLAB hooks Eduard - Gabriel Munteanu
2008-07-22 18:36 ` [RFC PATCH 3/4] kmemtrace: SLUB hooks Eduard - Gabriel Munteanu
2008-07-22 18:36 ` [RFC PATCH 4/4] kmemtrace: SLOB hooks Eduard - Gabriel Munteanu
2008-07-22 20:53 ` Matt Mackall
2008-07-22 21:07 ` Eduard - Gabriel Munteanu
2008-07-28 9:41 ` Pekka Enberg
2008-07-28 9:40 ` [RFC PATCH 3/4] kmemtrace: SLUB hooks Pekka Enberg
2008-07-28 9:37 ` [RFC PATCH 2/4] kmemtrace: SLAB hooks Pekka Enberg
2008-07-28 9:24 ` [RFC PATCH 1/4] kmemtrace: Core implementation Pekka Enberg
2008-07-28 16:29 ` Mathieu Desnoyers
2008-07-28 17:09 ` Matt Mackall
2008-07-28 17:35 ` Eduard - Gabriel Munteanu
2008-07-29 8:25 ` Pekka Enberg [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-07-22 18:31 [RFC PATCH 0/4] kmemtrace RFC (resend 2) Eduard - Gabriel Munteanu
2008-07-22 18:31 ` [RFC PATCH 1/4] kmemtrace: Core implementation Eduard - Gabriel Munteanu
2008-07-22 21:28 ` Frank Ch. Eigler
2008-07-23 0:50 ` Eduard - Gabriel Munteanu
2008-07-23 0:55 ` Eduard - Gabriel Munteanu
2008-07-23 1:26 ` Frank Ch. Eigler
2008-07-17 0:46 [RFC PATCH 0/4] kmemtrace RFC (resubmit 1) Eduard - Gabriel Munteanu
2008-07-17 0:46 ` [RFC PATCH 1/4] kmemtrace: Core implementation Eduard - Gabriel Munteanu
2008-07-17 8:01 ` Pekka Enberg
2008-07-17 18:32 ` Eduard - Gabriel Munteanu
2008-07-18 8:48 ` Pekka J Enberg
2008-07-18 10:13 ` Eduard - Gabriel Munteanu
2008-07-18 14:38 ` Pekka Enberg
2008-07-18 19:40 ` Eduard - Gabriel Munteanu
2008-07-18 20:07 ` Matt Mackall
2008-07-17 21:34 ` Randy Dunlap
2008-07-17 23:49 ` Eduard - Gabriel Munteanu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1217319927.7813.113.camel@penberg-laptop \
--to=penberg@cs.helsinki.fi \
--cc=cl@linux-foundation.org \
--cc=eduard.munteanu@linux360.ro \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mathieu.desnoyers@polymtl.ca \
--cc=mpm@selenic.com \
--cc=rdunlap@xenotime.net \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox