1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/perf/arch/x86/util
Adrian Hunter b40934ae32 perf intel-pt: Fix exclude_guest setting
In the past, the exclude_guest setting has had no effect on Intel PT
tracing, but that may not be the case in the future.

Set the flag correctly based upon whether KVM is using Intel PT
"Host/Guest" mode, which is determined by the kvm_intel module
parameter pt_mode:

 pt_mode=0	System-wide mode : host and guest output to host buffer
 pt_mode=1	Host/Guest mode : host/guest output to host/guest
                buffers respectively

Fixes: 6e86bfdc4a ("perf intel-pt: Support decoding of guest kernel")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20240625104532.11990-3-adrian.hunter@intel.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2024-07-02 15:24:07 -07:00
..
archinsn.c tools/perf: Convert to insn_decode() 2021-03-15 12:41:26 +01:00
auxtrace.c perf pmu: Separate pmu and pmus 2023-05-27 09:41:39 -03:00
Build perf util: Make util its own library 2024-06-26 11:07:42 -07:00
cpuid.h perf tsc: Add arch TSC frequency information 2022-07-25 12:28:00 -03:00
dwarf-regs.c perf dwarf-regs: Add get_dwarf_regnum() 2023-12-23 10:56:05 -03:00
env.c perf tool x86: Fix perf_env memory leak 2023-06-14 18:19:06 -03:00
env.h perf tool x86: Consolidate is_amd check into single function 2023-06-13 23:40:33 -03:00
event.c perf events x86: Use function to add missing lock 2023-12-18 21:34:56 -03:00
evlist.c perf parse-events x86: Avoid sorting uops_retired.slots 2023-08-03 17:01:27 -03:00
evsel.c perf parse-events x86: Avoid sorting uops_retired.slots 2023-08-03 17:01:27 -03:00
evsel.h perf record: Support sample-read topdown metric group for hybrid platforms 2022-06-03 21:30:10 +02:00
header.c perf tsc: Add arch TSC frequency information 2022-07-25 12:28:00 -03:00
intel-bts.c perf intel-pt/intel-bts: Switch perf_cpu_map__has_any_cpu_or_is_empty use 2024-03-21 10:41:28 -03:00
intel-pt.c perf intel-pt: Fix exclude_guest setting 2024-07-02 15:24:07 -07:00
iostat.c perf x86 iostat: Use zfree() to reduce chances of use after free 2023-04-12 09:59:19 -03:00
kvm-stat.c perf evsel: Introduce evsel__name_is() method to check if the evsel name is equal to a given string 2023-04-24 14:28:11 -03:00
machine.c tools: Fix off-by 1 relative directory includes 2020-03-06 08:36:46 -03:00
mem-events.c perf mem: Clean up is_mem_loads_aux_event() 2024-01-24 14:05:00 -08:00
mem-events.h perf mem: Clean up perf_mem_events__name() 2024-01-24 14:04:28 -08:00
perf_regs.c perf parse-regs: Introduce a weak function arch__sample_reg_masks() 2024-02-15 13:48:36 -08:00
pmu.c perf mem: Clean up perf_pmus__num_mem_pmus() 2024-01-24 14:05:22 -08:00
topdown.c perf pmu: Separate pmu and pmus 2023-05-27 09:41:39 -03:00
topdown.h perf stat: Add TopdownL1 metric as a default if present 2023-02-19 08:07:19 -03:00
tsc.c perf tsc: Add missing newlines to debug statements 2024-02-02 13:07:18 -08:00
unwind-libdw.c perf parse-regs: Move out arch specific header from util/perf_regs.h 2023-08-16 08:52:45 -03:00
unwind-libunwind.c perf unwind: Fix libunwind build failure on i386 systems 2019-09-26 21:59:38 +02:00