From: Frederic Weisbecker <fweisbec@gmail.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Li Zefan <lizf@cn.fujitsu.com>,
Pekka Enberg <penberg@cs.helsinki.fi>,
Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>,
Peter Zijlstra <peterz@infradead.org>,
LKML <linux-kernel@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: [PATCH 0/5] perf kmem: Add more functions and show more statistics
Date: Tue, 24 Nov 2009 19:49:35 +0100 [thread overview]
Message-ID: <20091124184927.GA4994@nowhere> (raw)
In-Reply-To: <20091124100724.GA5570@elte.hu>
On Tue, Nov 24, 2009 at 11:07:24AM +0100, Ingo Molnar wrote:
>
> * Li Zefan <lizf@cn.fujitsu.com> wrote:
>
> > > 3)
> > >
> > > it doesnt seem to be working on one of my boxes, which has perf and kmem
> > > events as well:
> > >
> > > aldebaran:~/linux/linux/tools/perf> perf kmem record
> > > ^C[ perf record: Woken up 1 times to write data ]
> > > [ perf record: Captured and wrote 0.050 MB perf.data (~2172 samples) ]
> > >
> >
> > Seems no kmem event is recorded. No sure what happened here.
> >
> > Might be that the parameters that perf-kmem passes to perf-record
> > are not properly selected?
> >
> > Do perf-sched and perf-timechart work on this box?
>
> yeah:
>
> aldebaran:~> perf sched record sleep 1
> [ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 0.017 MB perf.data (~758 samples) ]
> aldebaran:~> perf trace | tail -5
> distccd-20944 [010] 1792.787376: sched_stat_runtime: comm=distccd pid=20944 runtime=11196 [ns] vruntime=696395420043 [ns]
> init-0 [009] 1792.914837: sched_stat_wait: comm=x86_64-linux-gc pid=881 delay=10686 [ns]
> init-0 [009] 1792.915082: sched_stat_sleep: comm=events/9 pid=44 delay=2183651362 [ns]
> as-889 [013] 1793.008008: sched_stat_runtime: comm=as pid=889 runtime=156807 [ns] vruntime=1553569219042 [ns]
> init-0 [004] 1793.154400: sched_stat_wait: comm=events/4 pid=39 delay=12155 [ns]
>
> aldebaran:~> perf kmem record sleep 1
> [ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 0.078 MB perf.data (~3398 samples) ]
> aldebaran:~> perf trace | tail -5
> aldebaran:~>
>
> the perf.data has mmap and exit events - but no kmem events.
>
> I've attached the config, in case it matters. It runs latest -tip, with
> your latest series applied as well.
>
> Ingo
I think this is a problem external to kmem events. It's about
trace events/perf in general. It looks like we have some losses.
Steve and Arjan have reported similar things.
I'll investigate this way.
Thanks.
--
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>
prev parent reply other threads:[~2009-11-24 18:49 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-24 5:25 Li Zefan
2009-11-24 5:25 ` [PATCH 1/5] perf kmem: Add new option to show raw ip Li Zefan
2009-11-24 16:54 ` [tip:perf/core] " tip-bot for Li Zefan
2009-11-24 5:26 ` [PATCH 2/5] perf kmem: Default to sort by fragmentation Li Zefan
2009-11-24 16:55 ` [tip:perf/core] " tip-bot for Li Zefan
2009-11-24 5:26 ` [PATCH 3/5] perf kmem: Collect cross node allocation statistics Li Zefan
2009-11-24 16:55 ` [tip:perf/core] " tip-bot for Li Zefan
2009-11-24 5:26 ` [PATCH 4/5] perf kmem: Measure kmalloc/kfree CPU ping-pong call-sites Li Zefan
2009-11-24 16:55 ` [tip:perf/core] " tip-bot for Li Zefan
2009-11-24 5:27 ` [PATCH 5/5] perf kmem: Add help file Li Zefan
2009-11-24 16:55 ` [tip:perf/core] " tip-bot for Li Zefan
2009-11-24 7:15 ` [PATCH 0/5] perf kmem: Add more functions and show more statistics Pekka Enberg
2009-11-24 7:34 ` Ingo Molnar
2009-11-24 7:45 ` Pekka Enberg
2009-11-24 7:47 ` Ingo Molnar
2009-11-24 8:04 ` Li Zefan
2009-11-24 8:34 ` Ingo Molnar
2009-11-24 14:57 ` Arjan van de Ven
2009-11-24 7:18 ` Pekka Enberg
2009-11-24 9:04 ` Ingo Molnar
2009-11-24 9:38 ` Li Zefan
2009-11-24 10:07 ` Ingo Molnar
2009-11-24 11:04 ` Li Zefan
2009-11-24 20:35 ` Ingo Molnar
2009-11-24 22:34 ` Ingo Molnar
2009-11-24 18:49 ` Frederic Weisbecker [this message]
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=20091124184927.GA4994@nowhere \
--to=fweisbec@gmail.com \
--cc=eduard.munteanu@linux360.ro \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lizf@cn.fujitsu.com \
--cc=mingo@elte.hu \
--cc=penberg@cs.helsinki.fi \
--cc=peterz@infradead.org \
/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