aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util
AgeCommit message (Expand)AuthorFilesLines
2 daysMerge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/bp...Mark Brown1-1/+1
3 daysperf session: Snapshot event->header.size in process_user_event()Arnaldo Carvalho de Melo1-14/+13
3 daysperf kwork: Bounds check work->cpu before indexing cpus_runtime[]Arnaldo Carvalho de Melo1-0/+1
3 daysperf session: Bound nr_cpus_avail and validate sample CPUArnaldo Carvalho de Melo2-1/+117
3 daysperf session: Check for decompression buffer size overflowArnaldo Carvalho de Melo1-0/+13
3 daysperf tools: Harden compressed event processingArnaldo Carvalho de Melo2-1/+54
3 daysperf session: Add byte-swap handler for PERF_RECORD_COMPRESSED2Arnaldo Carvalho de Melo1-0/+9
3 daysperf header: Validate bitmap size before allocating in do_read_bitmap()Arnaldo Carvalho de Melo1-5/+29
3 daysperf header: Sanity check HEADER_EVENT_DESC attr.size before swapArnaldo Carvalho de Melo1-0/+54
3 daysperf header: Validate feature section size and add read path bounds checkingArnaldo Carvalho de Melo1-9/+57
3 daysperf header: Validate f_attr.ids section before use in perf_session__read_hea...Arnaldo Carvalho de Melo1-1/+76
3 daysperf header: Propagate feature section processing errorsArnaldo Carvalho de Melo1-13/+38
3 daysperf tools: Bounds check perf_event_attr fields against attr.size before prin...Arnaldo Carvalho de Melo1-49/+92
3 daysperf header: Validate null-termination in PERF_RECORD_EVENT_UPDATE string fieldsArnaldo Carvalho de Melo2-7/+242
3 daysperf session: Add byte-swap and bounds check for PERF_RECORD_BPF_METADATA eventsArnaldo Carvalho de Melo1-1/+88
3 daysperf auxtrace: Harden auxtrace_error event handlingArnaldo Carvalho de Melo3-9/+61
3 daysperf cpumap: Reject RANGE_CPUS with start_cpu > end_cpuArnaldo Carvalho de Melo1-17/+45
3 daysperf header: Byte-swap build ID event pid and bounds check section entriesArnaldo Carvalho de Melo2-5/+72
3 daysperf session: Validate nr fields against event size on both swap and common p...Arnaldo Carvalho de Melo1-19/+234
3 daysperf session: Validate HEADER_ATTR attr.size before swappingArnaldo Carvalho de Melo3-9/+143
3 daysperf session: Use bounded copy for PERF_RECORD_TIME_CONVArnaldo Carvalho de Melo1-1/+8
3 daysperf session: Add validated swap infrastructure with null-termination checksArnaldo Carvalho de Melo1-81/+325
3 daysperf session: Fix swap_sample_id_all() crash on crafted eventsArnaldo Carvalho de Melo1-3/+11
3 daysperf session: Fix PERF_RECORD_READ swap and dump for variable-length eventsArnaldo Carvalho de Melo1-17/+44
3 daysperf zstd: Fix multi-iteration decompression and error handlingArnaldo Carvalho de Melo1-4/+16
3 daysperf zstd: Fix compression error path in zstd_compress_stream_to_records()Arnaldo Carvalho de Melo1-2/+25
3 daysperf tools: Fix event_contains() macro to verify full field extentArnaldo Carvalho de Melo4-4/+4
3 daysperf session: Bounds-check one_mmap event pointer in peek_eventArnaldo Carvalho de Melo2-3/+28
3 daysperf session: Add minimum event size and alignment validationArnaldo Carvalho de Melo1-33/+220
5 daysperf script: Sort includes and add missed explicit dependenciesIan Rogers1-2/+3
5 daysperf: Apply is_ignored_kernel_symbol() filter in ELF loading path for kernel ...Rui Qi1-2/+8
5 daysperf: Extract is_ignored_kernel_symbol() for kernel mapping symbol filteringRui Qi3-3/+34
5 daysperf auxtrace: Add kernel-doc comment to auxtrace_record__init() functionAthira Rajeev1-0/+15
6 daysperf stat: Propagate supported flag to follower cgroup BPF eventsIan Rogers1-0/+20
9 daysperf tool_pmu: Make tool PMU events respect enable/disableIan Rogers5-97/+375
9 daysperf amd ibs: Decode Streaming-store flag in IBS OP raw dumpRavi Bangoria1-4/+14
9 daysperf amd ibs: Decode Remote-Socket flag in IBS OP raw dumpRavi Bangoria1-2/+16
9 daysperf amd ibs: Make Fetch status bits dependent on PhyAddrValid for newer plat...Ravi Bangoria1-2/+40
9 daysperf amd ibs: Suppress bogus TlbRefillLat and DCPhysAd on Zen4+Ravi Bangoria1-3/+14
9 daysperf kwork: Fix memory management of kwork_workIan Rogers2-4/+19
9 daysperf stat: Make metric only column line up with headerAndi Kleen1-12/+10
11 daysperf build: Move BPF skeleton generation out of Makefile.perfIan Rogers2-39/+13
11 daysperf trace beauty: Make beauty generated C code standalone .o filesIan Rogers6-152/+5
11 daysperf evsel: Add bounds checking to trace point raw data accessorsIan Rogers1-5/+49
11 daysperf synthetic-events: Bound check when synthesizing mmap2 and build_id eventsIan Rogers1-3/+16
11 daysperf evsel: Don't pass evsel with sampleIan Rogers1-24/+37
11 daysperf s390-sample-raw: Don't pass evsel or its PMU with sampleIan Rogers1-14/+17
11 daysperf script: Don't pass evsel with sampleIan Rogers4-41/+25
11 daysperf kwork: Don't pass evsel with sampleIan Rogers1-5/+4
11 daysperf inject: Don't pass evsel with sampleIan Rogers2-19/+13
11 daysperf hist: Remove evsel from struct hist_entry_iterIan Rogers2-14/+13
11 daysperf db-export: Remove evsel from struct export_sampleIan Rogers3-9/+7
11 daysperf hist: Remove evsel parameter from inc samples functionsIan Rogers2-14/+11
11 daysperf callchain: Don't pass evsel and sampleIan Rogers9-29/+22
11 daysperf evsel: Refactor evsel tracepoint sample accessors perf_sampleIan Rogers10-39/+36
11 daysperf kvm: Don't pass evsel with sampleIan Rogers8-115/+81
11 daysperf tool: Remove evsel from tool APIs that pass the sampleIan Rogers9-40/+28
11 daysperf inject: Fix itrace branch stack synthesisIan Rogers1-3/+5
11 daysperf event: Fix size of synthesized sample with branch stacksIan Rogers6-23/+94
12 daysperf riscv: Add SDT argument parsing for RISC-VChen Pei3-0/+132
2026-05-15perf unwind-libunwind: Add RISC-V libunwind supportIan Rogers4-0/+341
2026-05-15perf unwind-libunwind: Remove libunwind-localIan Rogers19-955/+3350
2026-05-15perf unwind-libunwind: Move flush/finish access out of localIan Rogers17-90/+309
2026-05-15perf unwind-libunwind: Make libunwind register reading cross platformIan Rogers17-28/+340
2026-05-15perf unwind: Refactor get_entries to allow dynamic libdw/libunwind selectionIan Rogers8-33/+196
2026-05-14perf metricgroup: Avoid scanning unnecessary PMUs for identifier matchIan Rogers3-9/+21
2026-05-14perf record: Refactor ARM64 leaf caller setup out of archIan Rogers3-2/+8
2026-05-11perf tool: Fix missing schedstat delegates and dont_split_sample_group in del...Ian Rogers1-0/+6
2026-05-05perf arm_spe: Print remaining IMPDEF event numbersJames Clark1-0/+18
2026-05-05perf arm_spe: Decode Arm N1 IMPDEF eventsJames Clark3-2/+41
2026-05-05perf arm_spe: Turn event name mappings into an arrayJames Clark1-45/+43
2026-05-05perf arm_spe: Store MIDR in arm_spe_pktJames Clark5-17/+30
2026-05-05perf arm_spe: Handle missing CPU IDsJames Clark1-1/+8
2026-05-05perf arm_spe: Make a function to get the MIDRJames Clark1-14/+22
2026-05-05perf debuginfo: Fix libdw API contract violationsIan Rogers1-3/+6
2026-05-05perf annotate-data: Fix libdw API contract violationsIan Rogers1-10/+17
2026-05-05perf probe-finder: Fix libdw API contract violationsIan Rogers1-37/+65
2026-05-05perf libdw: Fix libdw API contract violations and memory leaksIan Rogers1-6/+43
2026-05-05perf libdw: Support DWARF line 0 in inline listIan Rogers1-1/+2
2026-05-05perf libdw: Fix callchain parent update in ORDER_CALLER modeIan Rogers1-7/+13
2026-05-05perf srcline: Introduce inline_node__clear_frames()Ian Rogers2-1/+9
2026-05-05perf dwarf-aux: Fix libdw API contract violationsIan Rogers2-17/+22
2026-05-05perf dwarf-aux: Fix libdw segmentation fault in cu_walk_functions_atIan Rogers1-3/+2
2026-04-13perf annotate: Use jump__delete when freeing LoongArch jumpsRong Bao3-1/+4
2026-04-13perf header: Add sanity checks to HEADER_BPF_BTF processingArnaldo Carvalho de Melo1-0/+17
2026-04-13perf header: Sanity check HEADER_BPF_PROG_INFOArnaldo Carvalho de Melo1-0/+20
2026-04-13perf header: Sanity check HEADER_PMU_CAPSArnaldo Carvalho de Melo1-0/+19
2026-04-13perf header: Sanity check HEADER_HYBRID_TOPOLOGYArnaldo Carvalho de Melo1-0/+12
2026-04-13perf header: Sanity check HEADER_CACHEArnaldo Carvalho de Melo1-0/+13
2026-04-13perf header: Sanity check HEADER_GROUP_DESCArnaldo Carvalho de Melo1-1/+15
2026-04-13perf header: Sanity check HEADER_PMU_MAPPINGSArnaldo Carvalho de Melo1-0/+13
2026-04-13perf header: Sanity check HEADER_MEM_TOPOLOGYArnaldo Carvalho de Melo1-0/+12
2026-04-13perf header: Sanity check HEADER_NUMA_TOPOLOGYArnaldo Carvalho de Melo1-0/+13
2026-04-13perf header: Sanity check HEADER_CPU_TOPOLOGYArnaldo Carvalho de Melo1-2/+25
2026-04-13perf header: Sanity check HEADER_NRCPUS and HEADER_CPU_DOMAIN_INFOArnaldo Carvalho de Melo1-1/+44
2026-04-13perf header: Bump up the max number of command line args allowedArnaldo Carvalho de Melo1-2/+5
2026-04-13perf header: Validate nr_domains when reading HEADER_CPU_DOMAIN_INFOArnaldo Carvalho de Melo1-0/+6
2026-04-12perf sample: Fix documentation typoIan Rogers1-1/+1
2026-04-10perf arm_spe: Improve SIMD flags settingLeo Yan1-5/+19
2026-04-10perf sort: Sort disabled and full predicated flagsLeo Yan2-9/+19
2026-04-10perf sort: Support sort ASE and SMELeo Yan2-4/+14
2026-04-08perf data: Clean up use_stdio and structuresIan Rogers3-41/+112
2026-04-08perf tools: Replace basename() calls with perf_basename()Arnaldo Carvalho de Melo8-49/+28
2026-04-08perf tools: Use calloc() where applicableArnaldo Carvalho de Melo22-41/+38
2026-04-08perf header: Do validation of perf.data HEADER_CPU_DOMAIN_INFOArnaldo Carvalho de Melo1-0/+11
2026-04-08perf header: Use a max number of command line argsArnaldo Carvalho de Melo1-0/+6
2026-04-08perf tools: Make more global variables staticIan Rogers7-69/+66
2026-04-08perf util: Kill die() prototype, dead for a long timeArnaldo Carvalho de Melo1-1/+0
2026-04-08perf symbols: Make variable receiving result strrchr() constArnaldo Carvalho de Melo1-1/+1
2026-04-08perf maps: Fix copy_from that can break sorted by name orderIan Rogers1-10/+3
2026-04-08perf maps: Fix fixup_overlap_and_insert that can break sorted by name orderIan Rogers1-0/+2
2026-04-08perf maps: Move getting debug_file to verbose pathIan Rogers1-5/+4
2026-04-08perf addr2line: Remove global variable addr2line_timeout_msThomas Richter5-8/+4
2026-04-08perf config: Make symbol_conf::addr2line_disable_warn configurableThomas Richter1-0/+3
2026-04-08perf config: Rename symbol_conf::disable_add2line_warnThomas Richter4-9/+9
2026-04-05perf cgroup: Update metric leader in evlist__expand_cgroupIan Rogers1-7/+23
2026-04-05perf sample: Add evsel to struct perf_sampleIan Rogers4-13/+27
2026-04-05perf sample: Make sure perf_sample__init/exit are usedIan Rogers7-33/+66
2026-04-05perf sample: Document struct perf_sampleIan Rogers1-4/+105
2026-04-05perf tools: Save cln_size headerRicky Ringler4-11/+60
2026-04-02perf data convert ctf: Pipe mode improvementsIan Rogers1-4/+59
2026-04-02perf evsel: Make unknown event names more uniqueIan Rogers1-3/+4
2026-04-02perf ordered-events: Event processing consistency with the regular readerIan Rogers1-1/+1
2026-04-02perf header: Refactor pipe mode end marker handlingIan Rogers5-42/+62
2026-04-02perf session: Extra logging for failed to process eventsIan Rogers1-8/+20
2026-04-02perf header: Properly warn/print when libtraceevent/libbpf support is missingIan Rogers1-23/+47
2026-04-02perf header: Add utility to convert feature number to a stringIan Rogers2-0/+9
2026-04-02perf clockid: Add missing includeIan Rogers1-1/+2
2026-04-02perf header: Validate build_id filename length to prevent buffer overflowSeungJu Cheon1-0/+10
2026-04-02perf metricgroup: Refine error logsLeo Yan1-5/+6
2026-04-02perf expr: Add '\n' in literal parse errorsLeo Yan1-2/+2
2026-04-02perf expr: Return -EINVAL for syntax error in expr__find_ids()Leo Yan1-1/+2
2026-04-02perf tools: prevent null dsos from being addedAnubhav Shelat1-0/+3
2026-04-02perf tools: Fix module symbol resolution for non-zero .text sh_addrChuck Lever1-2/+6
2026-04-01libperf cpumap: Make index and nr types unsignedIan Rogers17-36/+47
2026-03-27perf tools: Add --pmu-filter option for filtering PMUsQinxin Xia2-6/+14
2026-03-26perf report: Add comm_nodigit sort keyStephen Brennan4-0/+121
2026-03-26perf record: Add support for arch_sdt_arg_parse_op() on s390Thomas Richter3-0/+82
2026-03-25Merge tag 'perf-tools-fixes-for-v7.0-2-2026-03-23' into perf-tools-nextNamhyung Kim7-27/+40
2026-03-19perf evlist: Improve default event for s390Ian Rogers3-12/+27
2026-03-19perf callchain: Refactor callchain option parsingIan Rogers2-22/+63
2026-03-19perf evsel: Constify option arguments to config functionsIan Rogers2-14/+14
2026-03-19perf target: Constify simple check functionsIan Rogers1-6/+6
2026-03-19perf evsel: Improve falling back from cyclesIan Rogers2-14/+33
2026-03-19perf dwarf-aux: Collect all variable locations for insn trackingZecheng Li1-29/+29
2026-03-19perf annotate-data: Use DWARF location ranges to preserve reg stateZecheng Li5-6/+54
2026-03-19perf annotate-data: Invalidate caller-saved regs for all callsZecheng Li1-6/+13
2026-03-19perf annotate-data: Add invalidate_reg_state() helper for x86Zecheng Li1-12/+17
2026-03-19perf annotate-data: Handle global variable access with const registerZecheng Li1-0/+5
2026-03-19perf annotate-data: Collect global variables without nameZecheng Li1-6/+1
2026-03-19perf dwarf-aux: Handle array types in die_get_member_typeZecheng Li1-1/+16
2026-03-19perf annotate-data: Improve type comparison from different scopesZecheng Li1-1/+3
2026-03-19perf dwarf-aux: Skip check_variable for variable lookupZecheng Li3-30/+30
2026-03-19perf dwarf-aux: Preserve typedefs in match_var_offsetZecheng Li1-11/+15
2026-03-19perf dwarf-aux: Add die_get_pointer_type to get pointer typesZecheng Li3-17/+51
2026-03-18perf symbol: Add RISCV case in get_plt_sizesChen Pei1-3/+1
2026-03-18perf tools: Remove duplicate include of stat.hChen Ni1-1/+0
2026-03-18perf tools: Remove duplicate include of debug.hChen Ni1-1/+0
2026-03-18perf: tools: cs-etm: Enhance raw Coresight trace debug displayMike Leach1-1/+4
2026-03-18perf: tools: cs-etm: Fix print issue for Coresight debug in ETE/TRBE traceMike Leach1-38/+13
2026-03-17perf kvm stat: Fix relative paths for including headersLeo Yan1-3/+3
2026-03-17perf parse-events: Fix big-endian 'overwrite' by writing correct union memberThomas Richter1-17/+65
2026-03-17perf metricgroup: Fix metricgroup__has_metric_or_groups()Ian Rogers1-3/+3
2026-03-13perf record: Remove unused cpu-set-sched.hIan Rogers1-50/+0
2026-03-13perf bpf_map: Remove unused codeIan Rogers3-94/+0
2026-03-13perf dump-insn: Remove dump-insn.cIan Rogers2-24/+0
2026-03-13perf symbol: Reduce scope of elf__needs_adjust_symbolsIan Rogers2-5/+4
2026-03-13perf branch: Avoid incrementing NULLIan Rogers1-0/+3
2026-03-11perf synthetic-events: Fix stale build ID in module MMAP2 recordsChuck Lever1-0/+5
2026-03-10perf disasm: Fix potential use-after-free on filelocIan Rogers1-4/+4
2026-03-10perf tools: Add layout support for --symfs optionChangbin Du3-4/+50
2026-03-10perf annotate loongarch: Fix off-by-one bug in outside checkIan Rogers1-1/+1
2026-03-10perf annotate: Fix hashmap__new() error checkingChen Ni1-1/+4
2026-03-10perf cs-etm: Finish removal of ETM_OPT_*James Clark3-24/+29
2026-03-05perf disasm: Fix off-by-one bug in outside checkPeter Collingbourne1-1/+1
2026-03-04perf annotate: Specify llvm features="+all" for aarch64Peter Collingbourne1-2/+8
2026-03-03perf pmu: Replace starts_with with strstartsIan Rogers1-20/+16
2026-03-02perf kvm stat: Fix relative paths for including headersLeo Yan1-3/+3
2026-02-26perf trace: Handle task exit in BPF syscall summaryNamhyung Kim1-3/+15
2026-02-24perf metricgroup: Fix metricgroup__has_metric_or_groupsIan Rogers1-3/+3
2026-02-24perf parse-events: Fix big-endian 'overwrite' by writing correct union memberThomas Richter1-17/+65
2026-02-21Merge tag 'perf-tools-for-v7.0-1-2026-02-21' of git://git.kernel.org/pub/scm/...Linus Torvalds158-1867/+8857
2026-02-12perf json: Pipe mode --to-ctf supportIan Rogers1-2/+52
2026-02-12perf json: Pipe mode --to-json supportIan Rogers1-0/+16
2026-02-12perf libunwind: Fix calls to thread__e_machine()Ian Rogers1-2/+4
2026-02-10Merge tag 'perf-core-2026-02-09' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-6/+8
2026-02-10perf stat: Add no-affinity flagIan Rogers2-5/+2
2026-02-10perf evlist: Reduce affinity use and move into iterator, fix no affinityIan Rogers4-67/+130
2026-02-10perf evlist: Missing TPEBS close in evlist__close()Ian Rogers1-0/+2
2026-02-10perf evlist: Special map propagation for tool events that read on 1 CPUIan Rogers3-0/+14
2026-02-10perf stat-shadow: In prepare_metric fix guard on reading NULL perf_stat_evselIan Rogers1-8/+16
2026-02-10Revert "perf tool_pmu: More accurately set the cpus for tool events"Ian Rogers3-27/+2
2026-02-09perf test: Fix test case perftool-testsuite_report for s390Thomas Richter1-2/+2
2026-02-06perf lock contention: fix segfault in `lock contention -b/--use-bpf`Tycho Andersen (AMD)1-0/+3
2026-02-06perf sort: Replace static cacheline size with sysconf cacheline sizeRicky Ringler1-5/+12
2026-02-06perf annotate: Fix register usage in data type profilingNamhyung Kim1-31/+30
2026-02-06perf stat: Ensure metrics are displayed even with failed eventsChun-Tse Shao3-37/+26
2026-02-06perf callchain lbr: Make the leaf IP that of the sampleIan Rogers1-4/+16
2026-02-06perf kvm stat: Fix build errorLeo Yan1-3/+3
2026-02-06perf regs: Remove __weak attributive arch_sdt_arg_parse_op() functionDapeng Mi6-5/+441