summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/mem-phys-addr-record
blob: 5a875122a9049899c78de7329dac0c84ae86639e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

#
# Profiling physical memory by all retired load instructions/uops event
# MEM_INST_RETIRED.ALL_LOADS or MEM_UOPS_RETIRED.ALL_LOADS
#

load=`perf list | grep mem_inst_retired.all_loads`
if [ -z "$load" ]; then
	load=`perf list | grep mem_uops_retired.all_loads`
fi
if [ -z "$load" ]; then
	echo "There is no event to count all retired load instructions/uops."
	exit 1
fi

arg=$(echo $load | tr -d ' ')
arg="$arg:P"
perf record --phys-data -e $arg $@
s type casting from arch/x86/boot/bitops.hLi kunyu 2022-08-10x86: link vdso and boot with -z noexecstack --no-warn-rwx-segmentsNick Desaulniers 2022-07-06x86/compressed/64: Add identity mappings for setup_data entriesMichael Roth 2022-06-03Merge tag 'efi-next-for-v5.19-2' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds 2022-06-01efi: x86: Fix config name for setting the NX-compatibility flag in the PE headerLukas Bulwahn 2022-05-26Merge tag 'kbuild-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds 2022-05-25Merge tag 'drm-next-2022-05-25' of git://anongit.freedesktop.org/drm/drmLinus Torvalds 2022-05-23Merge tag 'x86_build_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds 2022-05-23Merge tag 'x86_tdx_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds 2022-05-23Merge tag 'x86_sev_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds 2022-05-19x86/boot: Wrap literal addresses in absolute_pointer()Kees Cook 2022-05-11kbuild: factor out the common installation code into scripts/install.shMasahiro Yamada 2022-05-03efi: x86: Set the NX-compatibility flag in the PE headerPeter Jones 2022-04-20x86/boot: Put globals that are accessed early into the .data sectionMichael Roth 2022-04-17x86/boot: Add an efi.h header for the decompressorBorislav Petkov 2022-04-07x86/boot: Avoid #VE during boot for TDX platformsSean Christopherson 2022-04-07x86/boot: Set CR0.NE early and keep it set during the bootKirill A. Shutemov 2022-04-07x86/boot: Port I/O: Add decompression-time support for TDXKirill A. Shutemov 2022-04-07x86/boot: Port I/O: Allow to hook up alternative helpersKirill A. Shutemov 2022-04-07x86: Consolidate port I/O helpersKirill A. Shutemov 2022-04-07x86/tdx: Detect TDX at early kernel decompression timeKuppuswamy Sathyanarayanan 2022-04-07x86/sev: Use firmware-validated CPUID for SEV-SNP guestsMichael Roth 2022-04-07x86/sev: Add SEV-SNP feature detection/setupMichael Roth 2022-04-07x86/compressed/64: Add identity mapping for Confidential Computing blobMichael Roth 2022-04-07x86/compressed: Export and rename add_identity_map()Michael Roth 2022-04-07x86/compressed: Use firmware-validated CPUID leaves for SEV-SNP guestsMichael Roth 2022-04-07x86/compressed: Add SEV-SNP feature detection/setupMichael Roth 2022-04-07x86/sev: Move MSR-based VMGEXITs for CPUID to helperMichael Roth 2022-04-06x86/compressed/acpi: Move EFI kexec handling into common codeMichael Roth 2022-04-06x86/compressed/acpi: Move EFI vendor table lookup to helperMichael Roth 2022-04-06x86/compressed/acpi: Move EFI config table lookup to helperMichael Roth 2022-04-06x86/compressed/acpi: Move EFI system table lookup to helperMichael Roth 2022-04-06x86/compressed/acpi: Move EFI detection to helperMichael Roth 2022-04-06x86/compressed: Register GHCB memory when SEV-SNP is activeBrijesh Singh 2022-04-06x86/compressed: Add helper for validating pages in the decompression stageBrijesh Singh 2022-04-06x86/sev: Check the VMPL levelBrijesh Singh 2022-04-06x86/sev: Check SEV-SNP features supportBrijesh Singh 2022-04-06x86/sev: Define the Linux-specific guest termination reasonsBrijesh Singh 2022-04-06x86/compressed/64: Detect/setup SEV/SME features earlier during bootMichael Roth 2022-04-06x86/boot: Use MSR read/write helpers instead of inline assemblyMichael Roth 2022-04-06x86/boot: Introduce helpers for MSR reads/writesMichael Roth 2022-04-05Merge drm/drm-next into drm-misc-nextMaxime Ripard