Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf docs: Update link to AMD documentation

This updates the link to documentation on AMD processors. The new link
points to a page where users can find the Processor Programming
Reference (PPR) documents for the family and model codes corresponding
to processors they are using.

Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ananth Narayan <ananth.narayan@amd.com>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Kim Phillips <kim.phillips@amd.com>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
Cc: Robert Richter <rrichter@amd.com>
Cc: Santosh Shukla <santosh.shukla@amd.com>
Link: https://lore.kernel.org/r/20211123084613.243792-2-sandipan.das@amd.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Sandipan Das and committed by
Arnaldo Carvalho de Melo
7a2e1496 4edb117e

+10 -4
+10 -4
tools/perf/Documentation/perf-list.txt
··· 81 81 The precise modifier works with event types 0x76 (cpu-cycles, CPU 82 82 clocks not halted) and 0xC1 (micro-ops retired). Both events map to 83 83 IBS execution sampling (IBS op) with the IBS Op Counter Control bit 84 - (IbsOpCntCtl) set respectively (see AMD64 Architecture Programmer’s 84 + (IbsOpCntCtl) set respectively (see the 85 + Core Complex (CCX) -> Processor x86 Core -> Instruction Based Sampling (IBS) 86 + section of the [AMD Processor Programming Reference (PPR)] relevant to the 87 + family, model and stepping of the processor being used). 88 + 85 89 Manual Volume 2: System Programming, 13.3 Instruction-Based 86 90 Sampling). Examples to use IBS: 87 91 ··· 100 96 101 97 For instance on x86 CPUs, N is a hexadecimal value that represents the raw register encoding with the 102 98 layout of IA32_PERFEVTSELx MSRs (see [Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System Programming Guide] Figure 30-1 Layout 103 - of IA32_PERFEVTSELx MSRs) or AMD's PerfEvtSeln (see [AMD64 Architecture Programmer’s Manual Volume 2: System Programming], Page 344, 104 - Figure 13-7 Performance Event-Select Register (PerfEvtSeln)). 99 + of IA32_PERFEVTSELx MSRs) or AMD's PERF_CTL MSRs (see the 100 + Core Complex (CCX) -> Processor x86 Core -> MSR Registers section of the 101 + [AMD Processor Programming Reference (PPR)] relevant to the family, model 102 + and stepping of the processor being used). 105 103 106 104 Note: Only the following bit fields can be set in x86 counter 107 105 registers: event, umask, edge, inv, cmask. Esp. guest/host only and ··· 354 348 linkperf:perf-stat[1], linkperf:perf-top[1], 355 349 linkperf:perf-record[1], 356 350 http://www.intel.com/sdm/[Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System Programming Guide], 357 - http://support.amd.com/us/Processor_TechDocs/24593_APM_v2.pdf[AMD64 Architecture Programmer’s Manual Volume 2: System Programming] 351 + https://bugzilla.kernel.org/show_bug.cgi?id=206537[AMD Processor Programming Reference (PPR)]