linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Liang, Kan" <kan.liang@linux.intel.com>
To: Song Liu <songliubraving@fb.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: perf/x86/intel/uncore
Date: Fri, 25 Jan 2019 17:42:20 -0500	[thread overview]
Message-ID: <b2f5eaf7-066a-0492-a5fe-e4cc9b1161d0@linux.intel.com> (raw)
In-Reply-To: <700FE2CF-4DA0-4B62-B0B0-A740014CD7B6@fb.com>



On 1/25/2019 5:24 PM, Song Liu wrote:
> I also noticed that uncore_pci_probe() returns at
> 
>          if (atomic_inc_return(&pmu->activeboxes) > 1)
>                  return 0;
> 
> for bus 1-7. So we only probed bus 0 (socket 0). Is this expected behavior?

We probed all, but only need to register PMU once.
It can be distinguished by cpumask. E.g. you may want to check 
"/sys/devices/uncore_imc_0/cpumask".


Thanks,
Kan

  reply	other threads:[~2019-01-25 22:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-25 18:54 perf/x86/intel/uncore Song Liu
2019-01-25 20:08 ` perf/x86/intel/uncore Liang, Kan
2019-01-25 20:16   ` perf/x86/intel/uncore Song Liu
2019-01-25 21:35     ` perf/x86/intel/uncore Liang, Kan
2019-01-25 22:24       ` perf/x86/intel/uncore Song Liu
2019-01-25 22:42         ` Liang, Kan [this message]
2019-01-25 22:45           ` perf/x86/intel/uncore Song Liu

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=b2f5eaf7-066a-0492-a5fe-e4cc9b1161d0@linux.intel.com \
    --to=kan.liang@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=songliubraving@fb.com \
    /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;
as well as URLs for NNTP newsgroup(s).