perf: Clarify perf_cpu_context::active_pmu usage by renaming it to ::unique_pmu
Peter Zijlstra authored
commit 3f1f3320

 upstream.

Stephane thought the perf_cpu_context::active_pmu name confusing and
suggested using 'unique_pmu' instead.

This pointer is a pointer to a 'random' pmu sharing the cpuctx
instance, therefore limiting a for_each_pmu loop to those where
cpuctx->unique_pmu matches the pmu we get a loop over unique cpuctx
instances.
Suggested-by: default avatarStephane Eranian <eranian@google.com>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-kxyjqpfj2fn9gt7kwu5ag9ks@git.kernel.org

Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Cc: Li Zefan <lizefan@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
2cd21fa1
Name Last commit Last update
..
acpi Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
asm-generic mm: allow arch code to control the user page table ceiling
crypto crypto: user - Fix lookup of algorithms with IV generator
drm drm/radeon: add new richland pci ids
keys keys: add a "logon" key type
linux perf: Clarify perf_cpu_context::active_pmu usage by renaming it to ::unique_pmu
math-emu math-emu: correct test for downshifting fraction in _FP_FROM_INT()
media media: v4l2: added missing mutex.h include to v4l2-ctrls.h
misc [media] altera-stapl: it is time to move out from staging
mtd mtd: document that MEMWRITE ioctl is NAND-specific
net ipv6: call udp_push_pending_frames when uncorking a socket with AF_INET pending data
pcmcia Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6
rdma infiniband: pass rdma_cm module to netlink_dump_start
rxrpc atomic: use <linux/atomic.h>
scsi SCSI: libsas: fix taskfile corruption in sas_ata_qc_fill_rtf
sound ALSA: Add a reference counter to card instance
target target: Add link_magic for fabric allow_link destination target_items
trace xen/mmu: Use Xen specific TLB flush instead of the generic one.
video atmel_lcdfb: fix 16-bpp modes on older SOCs
xen xen/blkback: correctly respond to unknown, non-native requests
Kbuild [SCSI] FC Pass Thru support