From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759684AbYGKUMw (ORCPT ); Fri, 11 Jul 2008 16:12:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755687AbYGKUMm (ORCPT ); Fri, 11 Jul 2008 16:12:42 -0400 Received: from [194.117.236.238] ([194.117.236.238]:37647 "EHLO heracles.linux360.ro" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1758428AbYGKUMl (ORCPT ); Fri, 11 Jul 2008 16:12:41 -0400 Date: Fri, 11 Jul 2008 23:11:38 +0300 From: Eduard - Gabriel Munteanu To: Mathieu Desnoyers Cc: penberg@cs.helsinki.fi, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [RFC PATCH 0/5] kmemtrace RFC patch series Message-ID: <20080711231138.5d3443b8@linux360.ro> In-Reply-To: <20080711153841.GA14359@Krystal> References: <20080710210543.1945415d@linux360.ro> <20080711153841.GA14359@Krystal> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Jul 2008 11:38:41 -0400 Mathieu Desnoyers wrote: > Hi Eduard, > > Did you have a look at the new tracepoints infrastructure ? I think it > could simplify your patchset a _lot_ ! Hi, Yes, I did. In fact, I asked you to keep me Cc-ed, which you did. > Basically, it removes the format string from markers and allows to > pass complex structure pointers as arguments. It aims at simplifying > the life of in-kernel tracers which would want to use the facility. > Turning a marker implementation to tracepoints is really > straightforward, for an example see : > > http://lkml.org/lkml/2008/7/9/569 > > For the tracepoints patchset : > > http://lkml.org/lkml/2008/7/9/199 > > I think much of include/linux/kmemtrace.h, which is really just > wrappers around marker code, could then go away. Basically, I want just as much to get rid of markers. I'm just waiting for tracepoints to get closer to mainline. Cheers, Eduard > Regards, > > Mathieu