aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
AgeCommit message (Expand)AuthorFilesLines
3 daysRevert "perf parse-events: Prefer sysfs/JSON hardware events over legacy"Arnaldo Carvalho de Melo4-103/+68
7 daysMerge tag 'perf-tools-for-v6.10-1-2024-05-21' of git://git.kernel.org/pub/scm...Linus Torvalds288-5882/+18043
2024-05-11perf pmu: Count sys and cpuid JSON events separatelyIan Rogers2-23/+53
2024-05-11perf stat: Don't display metric header for non-leader uncore eventsIan Rogers1-0/+3
2024-05-11perf annotate-data: Ensure the number of type histogramsNamhyung Kim1-1/+4
2024-05-11perf annotate: Fix segfault on sample histogramNamhyung Kim1-4/+5
2024-05-10perf daemon: Fix file leak in daemon_session__controlSamasth Norway Ananda1-2/+2
2024-05-10perf lock: Avoid memory leaks from strdup()Ian Rogers1-14/+4
2024-05-10perf sched: Rename 'switches' column header to 'count' and add usage descript...Madadi Vineeth Reddy2-1/+37
2024-05-10perf tools: Ignore deleted cgroupsNamhyung Kim2-4/+5
2024-05-10perf parse: Allow tracepoint names to start with digitsDominique Martinet2-2/+9
2024-05-10perf parse-events: Add new 'fake_tp' parameter for testsDominique Martinet8-19/+34
2024-05-10perf parse-events: pass parse_state to add_tracepointDominique Martinet3-15/+21
2024-05-09perf symbols: Fix ownership of string in dso__load_vmlinux()James Clark1-3/+8
2024-05-09perf symbols: Update kcore map before merging in remaining symbolsJames Clark1-19/+21
2024-05-09perf maps: Re-use __maps__free_maps_by_name()James Clark1-7/+7
2024-05-09perf symbols: Remove map from list before updating addressesJames Clark1-4/+6
2024-05-09perf tracepoint: Don't scan all tracepoints to test if one existsIan Rogers2-35/+24
2024-05-09perf dwarf-aux: Fix build with HAVE_DWARF_CFI_SUPPORTJames Clark1-28/+28
2024-05-09perf thread: Fixes to thread__new() related to initializing commIan Rogers1-9/+5
2024-05-09perf report: Avoid SEGV in report__setup_sample_type()Ian Rogers1-1/+1
2024-05-09perf comm: Fix comm_str__put() for reference count checkingIan Rogers1-14/+31
2024-05-09perf ui browser: Avoid SEGV on titleIan Rogers1-1/+1
2024-05-07perf dwarf-aux: Print array type name with "[]"Namhyung Kim1-1/+3
2024-05-07perf hist: Avoid 'struct hist_entry_iter' mem_info memory leakIan Rogers2-28/+19
2024-05-07perf mem-info: Add reference count checkingIan Rogers11-88/+135
2024-05-07perf mem-info: Move mem-info out of mem-events and symbolIan Rogers15-63/+85
2024-05-07perf comm: Add reference count checking to 'struct comm_str'Ian Rogers1-70/+126
2024-05-07perf cpumap: Remove refcnt from 'struct cpu_aggr_map'Ian Rogers3-17/+3
2024-05-07perf block-info: Remove unused refcountIan Rogers3-33/+8
2024-05-07perf annotate: Fix memory leak in annotated_sourceIan Rogers1-0/+6
2024-05-07perf ui browser: Don't save pointer to stack memoryIan Rogers2-2/+4
2024-05-07perf bench internals inject-build-id: Fix trap divide when collecting just on...He Zhe1-1/+1
2024-05-07perf probe: Use zfree() to avoid possibly accessing dangling pointersArnaldo Carvalho de Melo1-1/+1
2024-05-07perf auxtrace: Allow number of queues to be specifiedJames Clark2-2/+8
2024-05-07perf cs-etm: Print error for new PERF_RECORD_AUX_OUTPUT_HW_ID versionsJames Clark1-1/+4
2024-05-07perf annotate: Fix a comment about multi_regs in extract_reg_offset functionAthira Rajeev1-1/+1
2024-05-07perf kwork: Use zfree() to avoid possibly accessing dangling pointersArnaldo Carvalho de Melo1-1/+1
2024-05-07perf callchain: Use zfree() to avoid possibly accessing dangling pointersArnaldo Carvalho de Melo1-1/+1
2024-05-07perf annotate: Use zfree() to avoid possibly accessing dangling pointersArnaldo Carvalho de Melo3-11/+13
2024-05-06perf dso: Use container_of() to avoid a pointer in 'struct dso_data'Ian Rogers3-32/+46
2024-05-06perf symbol-elf: dso__load_sym_internal() reference count fixesIan Rogers1-26/+25
2024-05-06perf symbol-elf: Ensure dso__put() in machine__process_ksymbol_register()Ian Rogers1-3/+3
2024-05-06perf map: Add missing dso__put() in map__new()Ian Rogers1-0/+1
2024-05-06perf dso: Add reference count checking and accessor functionsIan Rogers57-739/+1169
2024-05-06perf dsos: Switch hand crafted code to bsearch()Ian Rogers1-19/+27
2024-05-06perf dsos: Remove __dsos__findnew_link_by_longname_id()Ian Rogers2-47/+10
2024-05-06perf dsos: Remove __dsos__addnew()Ian Rogers2-6/+0
2024-05-06perf dsos: Switch backing storage to array from rbtree/listIan Rogers4-109/+177
2024-05-04perf vendor events amd: Add Zen 5 mappingSandipan Das1-0/+1
2024-05-04perf vendor events amd: Add Zen 5 metricsSandipan Das2-0/+444
2024-05-04perf vendor events amd: Add Zen 5 uncore eventsSandipan Das2-0/+278
2024-05-04perf vendor events amd: Add Zen 5 core eventsSandipan Das7-0/+1983
2024-05-04perf trace: Disable syscall augmentation with recordIan Rogers1-0/+5
2024-05-03perf pmu: Assume sysfs events are always the same caseIan Rogers1-5/+26
2024-05-03perf test pmu: Test all sysfs PMU event names are the same caseIan Rogers1-0/+90
2024-05-03perf test pmu: Add an eagerly loaded event testIan Rogers2-21/+124
2024-05-03perf test pmu: Refactor format test and exposed test APIsIan Rogers7-179/+177
2024-05-03perf test pmu-events: Make it clearer that pmu-events tests JSON eventsIan Rogers1-1/+1
2024-05-02perf maps: Remove check_invariants() from maps__lock()Namhyung Kim1-5/+11
2024-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2024-05-02perf cs-etm: Improve version detection and error reportingJames Clark1-18/+43
2024-05-02perf cs-etm: Remove repeated fetches of the ETM PMUJames Clark1-33/+27
2024-05-02perf cs-etm: Use struct perf_cpu as much as possibleJames Clark1-116/+88
2024-05-02perf annotate-data: Check kind of stack variablesNamhyung Kim1-0/+6
2024-05-02perf annotate-data: Handle multi regs in find_data_type_block()Namhyung Kim1-11/+12
2024-05-02perf annotate-data: Check memory access with two registersNamhyung Kim1-5/+39
2024-05-02perf annotate-data: Handle direct global variable accessNamhyung Kim1-12/+15
2024-05-02perf annotate-data: Collect global variables in advanceNamhyung Kim1-2/+55
2024-05-02perf dwarf-aux: Add die_collect_global_vars()Namhyung Kim2-0/+70
2024-04-27Merge tag 'riscv-for-linus-6.9-rc6' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2024-04-26perf test: Reintroduce -p/--parallel and make -S/--sequential the defaultArnaldo Carvalho de Melo2-2/+19
2024-04-26tools headers: Synchronize linux/bits.h with the kernel sourcesArnaldo Carvalho de Melo1-0/+1
2024-04-26perf annotate: Fix data type profiling on stdioNamhyung Kim1-1/+1
2024-04-26perf build: Pretend scandirat is missing with msanIan Rogers1-1/+4
2024-04-26perf intel-pt: Fix unassigned instruction op (discovered by MemorySanitizer)Adrian Hunter2-0/+4
2024-04-26perf record: Fix comment misspellingsHoward Chu1-2/+2
2024-04-26perf annotate: Update DSO binary type when trying build-idNamhyung Kim1-0/+2
2024-04-26perf annotate: Fallback disassemble to objdump when capstone failsNamhyung Kim1-0/+14
2024-04-26perf annotate-data: Check if 'struct annotation_source' was allocated on 'per...Namhyung Kim1-1/+1
2024-04-26perf test: Add a new test for 'perf annotate'Namhyung Kim1-0/+83
2024-04-26perf parse-events: Tidy the setting of the default event nameIan Rogers4-7/+19
2024-04-26perf parse-events: Minor grouping tidy upIan Rogers2-1/+6
2024-04-26perf parse-event: Constify event_symbol arraysIan Rogers2-4/+4
2024-04-26perf parse-events: Improvements to modifier parsingIan Rogers4-182/+194
2024-04-26perf parse-events: Inline parse_events_evlist_errorIan Rogers3-13/+8
2024-04-26perf parse-events: Improve error message for bad numbersIan Rogers1-16/+24
2024-04-26perf parse-events: Inline parse_events_update_listsIan Rogers3-31/+25
2024-04-26perf parse-events: Prefer sysfs/JSON hardware events over legacyIan Rogers4-68/+103
2024-04-26perf parse-events: Constify parse_events_add_numericIan Rogers2-10/+12
2024-04-26perf parse-events: Handle PE_TERM_HW in name_or_rawIan Rogers1-26/+5
2024-04-26perf parse-events: Legacy cache names on all PMUs and lower priorityIan Rogers2-9/+32
2024-04-26perf tests parse-events: Use "branches" rather than "cache-references"Ian Rogers1-3/+3
2024-04-26perf pmu: Refactor perf_pmu__match()Ian Rogers3-26/+22
2024-04-26perf parse-events: Avoid copying an empty listIan Rogers1-12/+13
2024-04-26perf parse-events: Directly pass PMU to parse_events_add_pmu()Ian Rogers1-29/+17
2024-04-26perf parse-events: Factor out '<event_or_pmu>/.../' parsingIan Rogers3-73/+80
2024-04-26perf scripts python: Add a script to run instances of 'perf script' in parallelAdrian Hunter2-1/+1013
2024-04-26perf tests shell kprobes: Add missing description as used by 'perf test' outputArnaldo Carvalho de Melo1-0/+1
2024-04-26perf riscv: Fix the warning due to the incompatible typeBen Zong-You Xie1-1/+1
2024-04-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-2/+8
2024-04-22tools include UAPI: Sync linux/vhost.h with the kernel sourcesArnaldo Carvalho de Melo1-6/+14
2024-04-22Merge remote-tracking branch 'torvalds/master' into perf-tools-nextArnaldo Carvalho de Melo12-14/+369
2024-04-18Revert "tools headers: Remove almost unused copy of uapi/stat.h, add few cond...Arnaldo Carvalho de Melo1-0/+1
2024-04-18perf probe-event: Better error message for a too-long probe nameDima Kogan1-1/+1
2024-04-18perf probe-event: Un-hardcode sizeof(buf)Dima Kogan1-2/+2
2024-04-18perf stat: Add new field in stat_config to enable hardware aware groupingWeilin Wang4-0/+10
2024-04-18perf test shell arm_coresight: Increase buffer size for Coresight basic testsJames Clark1-1/+1
2024-04-18perf genelf: Fix compiling with libelf on rv32Chen Pei1-0/+3
2024-04-18perf vendor events arm64: AmpereOne/AmpereOneX: Mark L1D_CACHE_INVAL impacted...Ilkka Koskinen2-2/+6
2024-04-18perf test bpf-counters: Add test for BPF event modifierIan Rogers1-23/+52
2024-04-18perf docs: Document bpf event modifierIan Rogers1-0/+1
2024-04-17perf tools: Enable configs required for test_uprobe_from_different_cu.shChaitanya S Prakash1-0/+3
2024-04-17perf report: Add weight[123] output fieldsNamhyung Kim5-31/+115
2024-04-17perf hist: Add weight fields to hist entry statsNamhyung Kim2-2/+13
2024-04-17perf hist: Move histogram related code to hist.hNamhyung Kim3-196/+184
2024-04-16perf annotate-data: Handle RSP if it's not the FB registerNamhyung Kim1-8/+19
2024-04-16perf dwarf-aux: Check variable address range properlyNamhyung Kim1-4/+3
2024-04-16perf dwarf-aux: Check pointer offset when checking variablesNamhyung Kim1-7/+21
2024-04-16perf annotate-data: Improve debug message with location infoNamhyung Kim1-17/+82
2024-04-12perf bench uprobe: Add uretprobe variant of uprobe benchmarksIan Rogers4-3/+37
2024-04-12perf bench uprobe: Remove lib64 from libc.so.6 binary pathIan Rogers1-1/+1
2024-04-12perf trace beauty: Add shellcheck to scriptsIan Rogers2-3/+19
2024-04-12perf util: Add shellcheck to generate-cmdlist.shIan Rogers1-0/+14
2024-04-12perf arch x86: Add shellcheck to buildIan Rogers3-1/+29
2024-04-12perf build: Add shellcheck to tools/perf scriptsIan Rogers3-8/+31
2024-04-12perf list: Escape '\r' in JSON outputIan Rogers1-0/+3
2024-04-12perf dsos: Switch more loops to dsos__for_each_dso()Ian Rogers4-102/+174
2024-04-12perf dso: Move dso functions out of dsos.cIan Rogers3-61/+65
2024-04-12perf dsos: Introduce dsos__for_each_dso()Ian Rogers5-65/+100
2024-04-12perf dsos: Tidy reference counting and lockingIan Rogers5-99/+97
2024-04-12perf dsos: Attempt to better abstract DSOs internalsIan Rogers11-86/+97
2024-04-12perf record: Fix debug message placement for test consumptionAdrian Hunter1-2/+2
2024-04-12perf annotate: Skip DSOs not foundNamhyung Kim1-0/+2
2024-04-12perf report: Do not collect sample histogram unnecessarilyNamhyung Kim2-1/+8
2024-04-12perf report: Add a menu item to annotate data type in TUINamhyung Kim2-0/+36
2024-04-12perf annotate-data: Support event group display in TUINamhyung Kim1-10/+40
2024-04-12perf annotate-data: Add hist_entry__annotate_data_tui()Namhyung Kim5-5/+324
2024-04-12perf annotate-data: Add hist_entry__annotate_data_tty()Namhyung Kim3-105/+122
2024-04-12perf annotate: Show progress of sample processingNamhyung Kim1-2/+13
2024-04-12perf annotate-data: Skip sample histogram for stack canaryNamhyung Kim1-2/+3
2024-04-12perf tests: Remove dependency on lscpuJames Clark1-1/+3
2024-04-12perf map: Remove kernel map before updating start and end addressesJames Clark1-1/+1
2024-04-12perf tests: Apply attributes to all events in object code reading testJames Clark1-5/+5
2024-04-12perf tests: Make "test data symbol" more robust on Neoverse N1James Clark1-0/+16
2024-04-12perf metrics: Remove the "No_group" metric groupIan Rogers1-2/+2
2024-04-12perf annotate: Get rid of symbol__ensure_annotate()Namhyung Kim1-12/+2
2024-04-12perf annotate-data: Do not delete non-asm linesNamhyung Kim2-25/+74
2024-04-12perf annotate-data: Fix global variable lookupNamhyung Kim1-1/+3
2024-04-11perf lock contention: Add a missing NULL checkNamhyung Kim1-1/+4
2024-04-11perf annotate: Make sure to call symbol__annotate2() in TUINamhyung Kim2-1/+4
2024-04-08perf annotate: Move 'start' field struct to 'struct annotated_source'Namhyung Kim2-6/+6
2024-04-08perf annotate: Move nr_events struct to 'struct annotated_source'Namhyung Kim2-5/+6
2024-04-08perf annotate: Move 'max_jump_sources' struct to 'struct annotated_source'Namhyung Kim3-5/+7
2024-04-08perf annotate: Move 'widths' struct to 'struct annotated_source'Namhyung Kim3-32/+35
2024-04-08perf annotate: Get rid of offsets arrayNamhyung Kim3-29/+7
2024-04-08perf annotate: Check annotation lines more efficientlyNamhyung Kim1-21/+35
2024-04-08perf annotate: Introduce annotated_source__get_line()Namhyung Kim3-6/+25
2024-04-08perf annotate: Staticize some local functionsNamhyung Kim2-6/+5
2024-04-08perf annotate: Fix annotation_calc_lines() to pass correct address to get_src...Namhyung Kim1-4/+6
2024-04-08perf script: Consolidate capstone print functionsAdrian Hunter3-86/+68
2024-04-05perf script: Add capstone support for '-F +brstackdisasm'Andi Kleen5-9/+86
2024-04-05perf script: Support 32bit code under 64bit OS with capstoneAndi Kleen3-10/+28
2024-04-04perf stat: Do not fail on metrics on s390 z/VM systemsThomas Richter1-14/+14
2024-04-04perf report: Fix PAI counter names for s390 virtual machinesThomas Richter1-1/+1
2024-04-03perf annotate: Initialize 'arch' variable not to trip some -Werror=maybe-unin...Arnaldo Carvalho de Melo1-1/+3
2024-04-03perf build: Add LIBTRACEEVENT_DIR build optionYang Jihong1-4/+16
2024-04-03perf beauty: Fix AT_EACCESS undeclared build error for system with kernel ver...Yang Jihong1-0/+8
2024-04-03perf annotate: Add symbol name when using capstoneNamhyung Kim1-3/+71
2024-04-03perf annotate: Use libcapstone to disassembleNamhyung Kim1-0/+160
2024-04-03perf annotate: Split out util/disasm.cNamhyung Kim5-1657/+1709
2024-04-03perf annotate: Add and use ins__is_nop()Namhyung Kim2-1/+7
2024-04-03perf annotate: Use ins__is_xxx() if possibleNamhyung Kim1-4/+4
2024-04-03perf evsel: Use evsel__name_is() helperYang Jihong6-33/+22
2024-04-03perf sched timehist: Fix -g/--call-graph option failureYang Jihong1-2/+5
2024-04-03perf annotate: Honor output options with --data-typeNamhyung Kim1-6/+38
2024-04-03perf annotate: Get rid of duplicate --group option itemNamhyung Kim1-2/+0
2024-04-01bitops: make BYTES_TO_BITS() treewide-availableAlexander Lobakin1-3/+1
2024-03-22Merge tag 'riscv-for-linus-6.9-mw2' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds5-0/+330
2024-03-21perf beauty: Move uapi/linux/vhost.h copy out of the directory used to build ...Arnaldo Carvalho de Melo4-7/+236
2024-03-21perf dso: Reorder members to save space in 'struct dso'Ian Rogers1-42/+42
2024-03-21perf lock contention: Trim backtrace by skipping traceiter functionsAnne Macedo2-1/+25
2024-03-21Merge tag 'net-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-7/+0
2024-03-21perf vendor events intel: Remove info metrics erroneously in TopdownL1Ian Rogers6-273/+181
2024-03-21perf vendor events intel: Update snowridgex to 1.22Ian Rogers4-17/+6
2024-03-21perf vendor events intel: Update skylake to v58Ian Rogers1-5/+5
2024-03-21perf vendor events intel: Update skylakex to 1.33Ian Rogers9-18/+27
2024-03-21perf vendor events intel: Update sierraforest to 1.02Ian Rogers2-6/+32
2024-03-21perf vendor events intel: Update sapphirerapids to 1.20Ian Rogers7-33/+130
2024-03-21perf vendor events intel: Update meteorlake to 1.08Ian Rogers7-14/+150
2024-03-21perf vendor events intel: Update lunarlake to 1.01Ian Rogers6-32/+113
2024-03-21perf vendor events intel: Update icelakex to 1.24Ian Rogers6-47/+55
2024-03-21perf vendor events intel: Update grandridge to 1.02Ian Rogers3-7/+66
2024-03-21perf vendor events intel: Update emeraldrapids to 1.06Ian Rogers6-17/+129
2024-03-21perf vendor events intel: Update cascadelakex to 1.21Ian Rogers7-17/+17
2024-03-21perf probe: Add missing libgen.h header needed for using basename()Arnaldo Carvalho de Melo1-0/+1
2024-03-21perf trace: Fix 'newfstatat'/'fstatat' argument pretty printingArnaldo Carvalho de Melo1-3/+4
2024-03-21perf trace: Beautify the 'flags' arg of unlinkatArnaldo Carvalho de Melo1-1/+3
2024-03-21perf beauty: Introduce faccessat2 flags scnprintf routineArnaldo Carvalho de Melo3-0/+36
2024-03-21perf beauty: Introduce scrape script for the 'statx' syscall 'mask' argumentArnaldo Carvalho de Melo5-41/+235