aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKajol Jain <kjain@linux.ibm.com>2021-08-18 22:45:56 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-25 22:38:19 +1000
commit3c69a5f22223fa3e312689ec218b5059784d49d7 (patch)
tree44a26287f383bb63ce61cab83a3501e9d0c4d089 /tools/perf/scripts/python
parentpowerpc/perf: Drop the case of returning 0 as instruction pointer (diff)
downloadlinux-3c69a5f22223fa3e312689ec218b5059784d49d7.tar.gz
linux-3c69a5f22223fa3e312689ec218b5059784d49d7.zip
powerpc/perf: Fix the check for SIAR value
Incase of random sampling, there can be scenarios where Sample Instruction Address Register(SIAR) may not latch to the sampled instruction and could result in the value of 0. In these scenarios it is preferred to return regs->nip. These corner cases are seen in the previous generation (p9) also. Patch adds the check for SIAR value along with regs_use_siar and siar_valid checks so that the function will return regs->nip incase SIAR is zero. Patch drops the code under PPMU_P10_DD1 flag check which handles SIAR 0 case only for Power10 DD1. Fixes: 2ca13a4cc56c9 ("powerpc/perf: Use regs->nip when SIAR is zero") Signed-off-by: Kajol Jain <kjain@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210818171556.36912-3-kjain@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
class='deletions'>-5/+231 2018-03-20MAINTAINERS: Update maintainer for dwc2John Youn1-1/+1 2018-03-20usb: core: urb: Check SSP isoc ep comp descriptorThinh Nguyen1-0/+8 2018-03-18Linux 4.16-rc6v4.16-rc6Linus Torvalds1-1/+1 2018-03-17parisc: Handle case where flush_cache_range is called with no contextJohn David Anglin1-9/+32 2018-03-16x86/microcode: Fix CPU synchronization routineBorislav Petkov1-27/+41 2018-03-16x86/microcode: Attempt late loading only when new microcode is presentBorislav Petkov4-19/+28 2018-03-16USB: wusbcore: crypto: Remove VLA usageGustavo A. R. Silva1-2/+6 2018-03-16USB: host: sl811: Re-use DEFINE_SHOW_ATTRIBUTE() macroAndy Shevchenko1-14/+3 2018-03-16xhci: Show what USB release number the xHC supports from protocol capablityMathias Nyman1-3/+11 2018-03-16xhci: Clear the host side toggle manually when endpoint is soft resetMathias Nyman3-17/+95 2018-03-16xhci: refactor xhci_urb_enqueue a bit with minor changesMathias Nyman1-11/+9 2018-03-16xhci: Don't always run the default stop endpoint command completion handlerMathias Nyman1-1/+2 2018-03-16xhci: zero usb device slot_id member when disabling and freeing a xhci slotMathias Nyman1-0/+2 2018-03-16usb: xhci: Remove ep_trb from finish_td()Lu Baolu1-4/+4 2018-03-16usb: xhci: Remove ep_trb from xhci_cleanup_halted_endpoint()Lu Baolu1-7/+4 2018-03-16usb: xhci: Clean up error code in xhci_dbc_tty_register_device()Dan Carpenter1-2/+3 2018-03-16Revert "btrfs: use proper endianness accessors for super_copy"David Sterba2-15/+13 2018-03-16KVM: x86: Fix device passthrough when SME is activeTom Lendacky1-1/+3 2018-03-16microblaze: switch to NO_BOOTMEMRob Herring2-50/+7 2018-03-16microblaze: remove unused alloc_maybe_bootmemRob Herring2-9/+0 2018-03-16microblaze: Setup dependencies for ASM optimized lib functionsMichal Simek2-5/+1 2018-03-16x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklistAlexander Sergeyev1-2/+1 2018-03-16phy: tegra: xusb: Uncomment register writeThierry Reding1-4/+2 2018-03-16phy: rockchip-typec: fall back to working in host-mode if extcon is missing.Enric Balletbo i Serra1-3/+10 2018-03-16dt-bindings: phy-rockchip-typec: move extcon property to be optional.Enric Balletbo i Serra1-0/+2 2018-03-16phy: rockchip-typec: support DP phy switchChris Zhong1-1/+8 2018-03-16phy: rockchip-typec: force to USB2 if DP at 4 lanes modeChris Zhong1-3/+18 2018-03-16phy: rockchip-typec: enable usb3 host during usb3 phy power onWilliam wu1-0/+11 2018-03-16dt-bindings: phy-rockchip-typec: deprecate some register properties.Enric Balletbo i Serra1-26/+7 2018-03-16phy: rockchip-typec: deprecate some DT properties for various register fields.Enric Balletbo i Serra1-49/+63 2018-03-16phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4Tony Lindgren4-0/+580 2018-03-16phy: add inno-usb2-phy driver for hi3798cv200 SoCPengcheng Li3-0/+208