Re: [PATCH][RFC] Adding information of counts processes acquiredhow many spinlocks to schedstat

From: Hitoshi Mitake
Date: Mon Jul 13 2009 - 20:48:22 EST


From: Ingo Molnar <mingo@xxxxxxx>
Subject: Re: [PATCH][RFC] Adding information of counts processes acquired how many spinlocks to schedstat
Date: Mon, 13 Jul 2009 10:51:19 +0200

> X-Mew-Uidl: 4144 3205
> Return-Path: <mingo@xxxxxxx>
> Received: from murder ([unix socket])
> by ns.dcl.info.waseda.ac.jp (Cyrus v2.3.8-OS X Server 10.5: 9F33) with LMTPA;
> Mon, 13 Jul 2009 17:51:35 +0900
> X-Sieve: CMU Sieve 2.3
> Received: from localhost (localhost [127.0.0.1])
> by ns.dcl.info.waseda.ac.jp (Postfix) with ESMTP id 418376729D2
> for <mitake@xxxxxxxxxxxxxxxxxxxxx>; Mon, 13 Jul 2009 17:51:35 +0900 (JST)
> X-Virus-Scanned: amavisd-new at dcl.info.waseda.ac.jp
> Received: from ns.dcl.info.waseda.ac.jp ([127.0.0.1])
> by localhost (ns.dcl.info.waseda.ac.jp [127.0.0.1]) (amavisd-new, port 10024)
> with ESMTP id 4VNvZ6jG1jE9 for <mitake@xxxxxxxxxxxxxxxxxxxxx>;
> Mon, 13 Jul 2009 17:51:34 +0900 (JST)
> Received: from mx3.mail.elte.hu (mx3.mail.elte.hu [157.181.1.138])
> by ns.dcl.info.waseda.ac.jp (Postfix) with ESMTP id C08246729C2
> for <mitake@xxxxxxxxxxxxxxxxxxxxx>; Mon, 13 Jul 2009 17:51:33 +0900 (JST)
> Received: from elvis.elte.hu ([157.181.1.14])
> by mx3.mail.elte.hu with esmtp (Exim)
> id 1MQHFr-0003wM-HT
> from <mingo@xxxxxxx>; Mon, 13 Jul 2009 10:51:28 +0200
> Received: by elvis.elte.hu (Postfix, from userid 1004)
> id 115B83E22CE; Mon, 13 Jul 2009 10:51:21 +0200 (CEST)
> Message-ID: <20090713085119.GA6757@xxxxxxx>
> References: <1247230336.7529.34.camel@twins> <20090712.162337.287595819039280884.mitake@xxxxxxxxxxxxxxxxxxxxx> <1247405045.6733.2.camel@laptop> <20090713.150612.886429910823138064.mitake@xxxxxxxxxxxxxxxxxxxxx>
> MIME-Version: 1.0
> In-Reply-To: <20090713.150612.886429910823138064.mitake@xxxxxxxxxxxxxxxxxxxxx>
> X-ELTE-SpamScore: -1.5
> X-ELTE-SpamLevel:
> X-ELTE-SpamCheck: no
> X-ELTE-SpamVersion: ELTE 2.0
> X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000]
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Subject: Re: [PATCH][RFC] Adding information of counts processes acquired how many spinlocks to schedstat
> From: Ingo Molnar <mingo@xxxxxxx>
> To: Hitoshi Mitake <mitake@xxxxxxxxxxxxxxxxxxxxx>
> Cc: a.p.zijlstra@xxxxxxxxx, andi@xxxxxxxxxxxxxx, fweisbec@xxxxxxxxx,
> acme@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx,
> Jason Baron <jbaron@xxxxxxxxxx>
> Date: Mon, 13 Jul 2009 10:51:19 +0200
> User-Agent: Mutt/1.5.18 (2008-05-17)
> Received-SPF: neutral (mx3: 157.181.1.14 is neither permitted nor denied by domain of elte.hu) client-ip=157.181.1.14; envelope-from=mingo@xxxxxxx; helo=elvis.elte.hu;
> X-Mew: tab/spc characters on Subject: are simplified.
>
>
> * Hitoshi Mitake <mitake@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> > > Yeah, steve broke it, but then Jason fixed it again, but his
> > > patches might not have made it in yet.
> > >
> > > http://lkml.org/lkml/2009/7/6/313
> >
> > Wow! I can obtain lock_acquire with Jason's patch,
> >
> > % perf stat -e lockdep:lock_acquire sleep 1
> >
> > Performance counter stats for 'sleep 1':
> >
> > 1420 lockdep:lock_acquire
> >
> > 1.004953591 seconds time elapsed
> >
> > I wanted this.
> > So I don't have nothing to do.., but thanks Jason!
>
> I gave some review feedback about those patches, see:
>
> http://lkml.org/lkml/2009/7/13/360
>
> Once they are addressed we can try them in -tip.

Thanks! I'll try new features of perfcounters. It's interesting.
But I told "not found" by lkml.org.
Is the post you attempted to point http://lkml.org/lkml/2009/7/13/36 ?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/