All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Shi, Yang" <yang.shi@linaro.org>
To: Arnaldo Carvalho de Melo <acme@kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>
Cc: linux-rt-users@vger.kernel.org
Subject: -rt kernel just can show 8 perf events?
Date: Tue, 01 Dec 2015 12:36:37 -0800	[thread overview]
Message-ID: <565E04D5.4000202@linaro.org> (raw)

Hi folks,

I'm running some perf program on my x86-64 machine with 4.1.12-rt13 
kernel, but I found just 8 perf events can be showed up with "perf stat 
-e" on -rt kernel, but mainline kernel is fine.

I traced 14 events (tried different number in my test, always > 8), then 
I got:

             29692      cs 

                104      page-faults 

                104      minor-faults 

                  0      major-faults 

          100122071      iTLB-load-misses 

             447793      dTLB-load-misses 

              13655      dTLB-store-misses 

          201620583      branch-misses 

      <not counted>      cache-misses               (0.00%)
      <not counted>      cycles                     (0.00%)
      <not counted>      dtlb_misses_walk_duration  (0.00%)
      <not counted>      dtlb_misses_walk_completed  (0.00%)
      <not counted>      itlb_misses_walk_duration  (0.00%)
      <not counted>      itlb_misses_walk_completed  (0.00%)

No matter how many events are traced, just 8 events are showed with 
meaningful data, all others are showed up as "not counted".

Any hint is appreciated.

Regards,
Yang

             reply	other threads:[~2015-12-01 20:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-01 20:36 Shi, Yang [this message]
2015-12-11 17:36 ` -rt kernel just can show 8 perf events? Sebastian Andrzej Siewior
2015-12-11 17:57   ` Shi, Yang
2016-02-04 15:16     ` Sebastian Andrzej Siewior
2016-02-04 23:41       ` Shi, Yang

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=565E04D5.4000202@linaro.org \
    --to=yang.shi@linaro.org \
    --cc=acme@kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=rostedt@goodmis.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.