aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
AgeCommit message (Expand)AuthorFilesLines
2023-05-26perf evsel: Separate bpf_counter_list and bpf_filters, can be used at the sam...Song Liu2-4/+3
2023-05-26perf cs-etm: Copy kernel coresight-pmu.h headerJames Clark1-0/+13
2023-05-26perf bpf: Do not use llvm-strip on BPF binarySong Liu1-2/+1
2023-05-26perf build: Don't compile demangle-cxx.cpp if not necessaryIan Rogers3-1/+29
2023-05-26perf arm: Fix include path to cs-etm.hIan Rogers1-1/+1
2023-05-26perf bpf filter: Fix a broken perf sample data naming for BPF CO-RENamhyung Kim1-2/+2
2023-05-26perf ftrace latency: Remove unnecessary "--" from --use-nsec optionNamhyung Kim1-1/+1
2023-05-19perf test attr: Fix python SafeConfigParser() deprecation warningIan Rogers1-3/+3
2023-05-19perf test attr: Update no event/metric expectationsIan Rogers5-174/+249
2023-05-17tools headers UAPI: Sync arch prctl headers with the kernel sourcesArnaldo Carvalho de Melo2-0/+3
2023-05-17tools headers: Update the copy of x86's mem{cpy,set}_64.S used in 'perf bench'Arnaldo Carvalho de Melo4-10/+2
2023-05-16tools headers UAPI: Sync s390 syscall table file that wires up the memfd_secr...Arnaldo Carvalho de Melo1-1/+1
2023-05-16perf metrics: Avoid segv with --topdown for metrics without a groupIan Rogers1-1/+1
2023-05-10perf lock contention: Add empty 'struct rq' to satisfy libbpf 'runqueue' type...Jiri Olsa1-0/+2
2023-05-10perf cs-etm: Fix contextid validationJames Clark1-5/+4
2023-05-10perf arm64: Fix build with refcount checkingJames Clark2-3/+3
2023-05-10perf test: Add stat test for record and scriptSandipan Das1-0/+13
2023-05-10perf script: Skip aggregation for stat eventsSandipan Das1-0/+7
2023-05-10perf build: Add system include paths to BPF buildsIan Rogers1-1/+18
2023-05-10perf bpf skels: Make vmlinux.h use bpf.h and perf_event.h in source directoryYang Jihong2-1/+3
2023-05-10perf parse-events: Do not break up AUX event groupAdrian Hunter1-6/+3
2023-05-10perf test test_intel_pt.sh: Test sample mode with event with PMU nameAdrian Hunter1-0/+7
2023-05-10perf evsel: Modify group pmu name for software eventsIan Rogers1-6/+9
2023-05-10perf build: Gracefully fail the build if BUILD_BPF_SKEL=1 is specified and cl...Arnaldo Carvalho de Melo1-0/+6
2023-05-10perf test java symbol: Remove needless debuginfod queriesThomas Richter1-1/+1
2023-05-10perf parse-events: Don't reorder ungrouped events by PMUIan Rogers1-8/+15
2023-05-10perf metric: JSON flag to not group events if gathering a metric groupIan Rogers21-5/+240
2023-05-10perf stat: Introduce skippable evselsIan Rogers3-11/+43
2023-05-10perf metric: Change divide by zero and !support events behaviorIan Rogers5-9/+28
2023-05-07Merge tag 'perf-tools-for-v6.4-3-2023-05-06' of git://git.kernel.org/pub/scm/...Linus Torvalds485-144419/+167336
2023-05-06Revert "perf build: Make BUILD_BPF_SKEL default, rename to NO_BPF_SKEL"Arnaldo Carvalho de Melo6-20/+14
2023-05-06Revert "perf build: Warn for BPF skeletons if endian mismatches"Arnaldo Carvalho de Melo1-10/+7
2023-05-05perf metrics: Fix SEGV with --for-each-cgroupIan Rogers1-0/+1
2023-05-05perf bpf skels: Stop using vmlinux.h generated from BTF, use subset of used s...Arnaldo Carvalho de Melo3-20/+174
2023-05-05perf stat: Separate bperf from bpf_profilerDmitrii Dolgov2-2/+7
2023-05-04Merge tag 'loongarch-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/ch...Linus Torvalds19-3/+469
2023-05-03perf test record+probe_libc_inet_pton: Fix call chain match on x86_64Thomas Richter1-1/+0
2023-05-03perf test record+probe_libc_inet_pton: Fix call chain match on s390Thomas Richter1-2/+0
2023-05-02perf tracepoint: Fix memory leak in is_valid_tracepoint()Yang Jihong1-0/+1
2023-05-02perf cs-etm: Add fix for coresight trace for any range of CPUsGanapatrao Kulkarni1-1/+23
2023-05-02perf build: Fix unescaped # in perf build-testJames Clark1-1/+1
2023-05-02perf unwind: Suppress massive unsupported target platform errorsChangbin Du1-1/+1
2023-05-02perf script: Add new parameter in kfree_skb tracepoint to the python scripts ...Sriram Yagnaraman2-5/+5
2023-05-02perf script: Print raw ip instead of binary offset for callchainChangbin Du1-7/+2
2023-05-02perf symbols: Fix return incorrect build_id size in elf_read_build_id()Yang Jihong1-1/+1
2023-05-02perf list: Modify the warning message about scandirat(3)Namhyung Kim1-1/+1
2023-05-02perf list: Fix memory leaks in print_tracepoint_events()Namhyung Kim1-4/+8
2023-05-02perf lock contention: Rework offset calculation with BPF CO-RENamhyung Kim1-7/+7
2023-05-02perf lock contention: Fix struct rq lock accessNamhyung Kim1-4/+4
2023-05-01tools/perf: Add basic support for LoongArchHuacai Chen19-3/+469
2023-04-28perf stat: Disable TopdownL1 on hybridIan Rogers1-1/+7
2023-04-28perf stat: Avoid SEGV on counter->nameIan Rogers1-1/+1
2023-04-27Merge tag 'mm-nonmm-stable-2023-04-27-16-01' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+1
2023-04-27Merge tag 'sh-for-v6.4-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+0
2023-04-24perf cs-etm: Add separate decode paths for timeless and per-thread modesJames Clark2-38/+148
2023-04-24perf cs-etm: Use bool type for boolean valuesJames Clark3-10/+10
2023-04-24perf cs-etm: Allow user to override timestamp and contextid settingsJames Clark3-6/+27
2023-04-24perf cs-etm: Validate options after applying themJames Clark1-84/+68
2023-04-24perf cs-etm: Don't test full_auxtrace because it's always setJames Clark1-31/+25
2023-04-24perf tools: Add util function for overriding user set config valuesJames Clark4-44/+37
2023-04-24perf cs-etm: Fix timeless decode mode detectionJames Clark1-12/+18
2023-04-24perf evsel: Introduce evsel__name_is() method to check if the evsel name is e...Arnaldo Carvalho de Melo13-25/+31
2023-04-20perf test: Fix maps use after putIan Rogers1-4/+4
2023-04-19perf probe: Add missing 0x prefix for addresses printed in hexadecimalArnaldo Carvalho de Melo1-1/+1
2023-04-19perf build: Test the refcnt check buildArnaldo Carvalho de Melo1-0/+2
2023-04-19perf map: Add reference count checkingIan Rogers6-51/+62
2023-04-19perf map: Add set_ methods for map->{start,end,pgoff,pgoff,reloc,erange_warne...Arnaldo Carvalho de Melo9-65/+132
2023-04-19perf map: Add missing conversions to map__refcnt()Arnaldo Carvalho de Melo2-4/+4
2023-04-19perf maps: Add reference count checkingIan Rogers7-43/+50
2023-04-19perf maps: Use maps__nr_maps() instead of open coded maps->nr_mapsArnaldo Carvalho de Melo1-1/+1
2023-04-19perf maps: Add maps__refcnt() accessor to allow checking maps pointerArnaldo Carvalho de Melo3-9/+14
2023-04-19perf dso: Fix use before NULL check introduced by map__dso() introductionArnaldo Carvalho de Melo3-7/+6
2023-04-18perf cs-etm: Fix segfault in dso lookupJames Clark1-2/+4
2023-04-17perf script task-analyzer: Fix spelling mistake "miliseconds" -> "milliseconds"Colin Ian King1-1/+1
2023-04-17perf namespaces: Introduce nsinfo__mntns_path() accessor to avoid accessing -...Arnaldo Carvalho de Melo1-3/+8
2023-04-17perf namespaces: Introduce nsinfo__refcnt() accessor to avoid accessing ->ref...Arnaldo Carvalho de Melo1-4/+8
2023-04-17perf namespaces: Use the need_setns() accessors instead of accessing ->need_s...Arnaldo Carvalho de Melo1-3/+3
2023-04-17perf namespaces: Add reference count checkingIan Rogers2-57/+78
2023-04-17perf dso: Add dso__filename_with_chroot() to reduce number of accesses to dso...Arnaldo Carvalho de Melo6-10/+12
2023-04-17perf cpumap: Add reference count checkingIan Rogers2-8/+8
2023-04-17perf cpumap: Use perf_cpu_map__cpu(map, cpu) instead of accessing map->map[cp...Ian Rogers1-5/+5
2023-04-17perf cpumap: Remove initializations done in perf_cpu_map__alloc()Arnaldo Carvalho de Melo1-6/+1
2023-04-17libperf: Add perf_cpu_map__refcnt() interanl accessor to use in the maps testArnaldo Carvalho de Melo1-2/+2
2023-04-14perf test: Simplify for_each_test() to avoid tripping on -Werror=array-boundsArnaldo Carvalho de Melo1-2/+2
2023-04-13perf map: Delete two variable initialisations before null pointer checks in s...Markus Elfring1-2/+1
2023-04-13perf vendor events intel: Fix uncore topics for tigerlakeIan Rogers2-88/+90
2023-04-13perf vendor events intel: Fix uncore topics for snowridgexIan Rogers4-22056/+22060
2023-04-13perf vendor events intel: Fix uncore topics for skylakexIan Rogers5-26144/+26148
2023-04-13perf vendor events intel: Fix uncore topics for skylakeIan Rogers3-79/+81
2023-04-13perf vendor events intel: Fix uncore topics for sandybridgeIan Rogers2-25/+25
2023-04-13perf vendor events intel: Fix uncore topics for knightslandingIan Rogers3-260/+262
2023-04-13perf vendor events intel: Fix uncore topics for jaketownIan Rogers4-1574/+1574
2023-04-13perf vendor events intel: Fix uncore topics for ivytownIan Rogers4-2531/+2531
2023-04-13perf vendor events intel: Fix uncore topics for ivybridgeIan Rogers2-25/+25
2023-04-13perf vendor events intel: Fix uncore topics for icelakexIan Rogers4-33697/+33701
2023-04-13perf vendor events intel: Fix uncore topics for icelakeIan Rogers2-72/+74
2023-04-13perf vendor events intel: Fix uncore topics for haswellxIan Rogers4-3491/+3491
2023-04-13perf vendor events intel: Fix uncore topics for haswellIan Rogers3-75/+77
2023-04-13perf vendor events intel: Fix uncore topics for cascadelakexIan Rogers5-26345/+26349
2023-04-13perf vendor events intel: Fix uncore topics for broadwellxIan Rogers4-3572/+3572
2023-04-13perf vendor events intel: Fix uncore topics for broadwelldeIan Rogers3-774/+776
2023-04-13perf vendor events intel: Fix uncore topics for broadwellIan Rogers3-74/+76
2023-04-13perf vendor events intel: Fix uncore topics for alderlakeIan Rogers4-112/+116
2023-04-13perf vendor events intel: Add sierraforestIan Rogers7-0/+332
2023-04-13perf vendor events intel: Add grandridgeIan Rogers7-0/+332
2023-04-13perf vendor events intel: Update sapphirerapids to v1.12Ian Rogers10-4530/+18906
2023-04-12perf sched: Fix sched latency analysis incorrection when using 'sched:sched_w...Chunxin Zang1-1/+14
2023-04-12perf pmu: Use perf_cpu_map__set_nr() in perf_pmu__cpus_match() to allow for r...Arnaldo Carvalho de Melo1-2/+2
2023-04-12libperf: Make perf_cpu_map__alloc() available as an internal function for too...Ian Rogers1-1/+1
2023-04-12perf cpumap: Use perf_cpu_map__nr(cpus) to access cpus->nrIan Rogers1-6/+6
2023-04-12perf map: Add map__refcnt() accessor to use in the maps testArnaldo Carvalho de Melo2-2/+7
2023-04-12perf scripts python intel-pt-events: Delete unused 'event_attr variableAlexander Pantyukhin1-3/+3
2023-04-12perf top: Expand the range of multithreaded phaseHangliang Lai1-2/+2
2023-04-12tools headers: Remove s390 ptrace.h in check-headers.shTiezhu Yang1-1/+0
2023-04-12perf pmu: zfree() expects a pointer to a pointer to zero it after freeing its...Arnaldo Carvalho de Melo1-1/+1
2023-04-12perf metricgroups: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-9/+9
2023-04-12perf arm-spe: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-1/+1
2023-04-12perf tests api-io: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-1/+2
2023-04-12perf bench inject-buildid: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-1/+2
2023-04-12perf genelf: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-1/+2
2023-04-12perf evlist: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-2/+2
2023-04-12perf annotate: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-1/+2
2023-04-12perf parse-events: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-1/+1
2023-04-12perf expr: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-7/+7
2023-04-12perf evsel: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-3/+2
2023-04-12perf pmu: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-8/+7
2023-04-12perf env: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-1/+1
2023-04-12perf x86 iostat: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-3/+4
2023-04-12perf symbol: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-2/+2
2023-04-12perf list: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-2/+2
2023-04-12perf c2c: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-7/+7
2023-04-12perf trace: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-4/+4
2023-04-12perf daemon: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-7/+7
2023-04-12perf inject: Use zfree() to reduce chances of use after freeArnaldo Carvalho de Melo1-3/+3
2023-04-12perf vendor events: Update icelakex to v1.20Ian Rogers2-2/+2
2023-04-12perf vendor events: Update alderlake to v1.20Ian Rogers3-4/+7
2023-04-11perf bperf: Avoid use after free via unrelated 'struct evsel' anonymous union...Ian Rogers1-0/+1
2023-04-10perf evsel: Avoid SEGV if delete is called on NULLIan Rogers1-0/+3
2023-04-10perf script ibs: Change bit description according to latest AMD PPR ("Process...Ravi Bangoria1-7/+7
2023-04-10perf mem: Increase HISTC_MEM_LVL column size to 39 charsRavi Bangoria1-1/+1
2023-04-10perf mem: Refactor perf_mem__lvl_scnprintf() to process 'union perf_mem_data_...Ravi Bangoria1-42/+47
2023-04-10perf mem: Add support for printing PERF_MEM_LVLNUM_UNCRavi Bangoria1-0/+1
2023-04-10perf mem: Add PERF_MEM_LVLNUM_NA to PERF_MEM_DATA_SRC_NONERavi Bangoria1-1/+2
2023-04-10perf build: Warn for BPF skeletons if endian mismatchesIan Rogers1-7/+10
2023-04-10perf util: Move perf_guest/host declarationsIan Rogers11-10/+12
2023-04-10perf util: Move input_name to utilIan Rogers16-14/+16
2023-04-10perf version: Use regular verbose flagIan Rogers3-5/+3
2023-04-10perf header: Move perf_version_string declarationIan Rogers3-2/+3
2023-04-10perf usage: Move usage stringsIan Rogers5-9/+10
2023-04-10perf ui: Move window resize signal functionsIan Rogers5-21/+22
2023-04-10perf test stat+json_output: Write JSON output to a fileIan Rogers2-13/+38
2023-04-10perf stat: Don't write invalid "started on" comment for JSON outputIan Rogers1-2/+4
2023-04-10perf test stat+csv_output: Write CSV output to a fileIan Rogers1-16/+42
2023-04-10perf bpf filter: Support pre-5.16 kernels where 'mem_hops' isn't in 'union pe...Ian Rogers1-2/+26
2023-04-10perf lock contention: Support pre-5.14 kernelsIan Rogers1-1/+14
2023-04-08ELF: fix all "Elf" typosAlexey Dobriyan1-1/+1
2023-04-06perf map: Changes to reference countingIan Rogers11-44/+112
2023-04-06perf maps: Modify maps_by_name to hold a reference to a mapIan Rogers2-18/+33
2023-04-06perf test: Add extra diagnostics to maps testIan Rogers1-15/+36
2023-04-06perf map: Add accessors for ->pgoff and ->relocIan Rogers9-23/+33
2023-04-06perf map: Add accessors for ->prot, ->priv and ->flagsIan Rogers6-12/+28
2023-04-06perf map: Add helper for ->map_ip() and ->unmap_ip()Ian Rogers26-69/+81
2023-04-06perf map: Rename map_ip() and unmap_ip()Ian Rogers6-13/+13
2023-04-06perf vendor events intel: Update free running tigerlake eventsIan Rogers2-36/+50
2023-04-06perf vendor events intel: Update free running snowridgex eventsIan Rogers2-66/+30
2023-04-06perf vendor events intel: Correct knightslanding memory topicIan Rogers2-36/+38
2023-04-06perf vendor events intel: Update free running icelakex eventsIan Rogers2-58/+30
2023-04-06perf vendor events intel: Update free running alderlake eventsIan Rogers2-8/+24
2023-04-06perf pmu: Sort and remove duplicates using JSON PMU nameIan Rogers1-16/+31
2023-04-06perf pmu: Improve name/comments, avoid a memory allocationIan Rogers2-10/+25
2023-04-06perf pmu: Fewer const castsIan Rogers1-6/+6
2023-04-06perf lock contention: Do not try to update if hash map is fullNamhyung Kim1-3/+19
2023-04-06perf lock contention: Revise needs_callstack() conditionNamhyung Kim2-2/+2
2023-04-06perf lock contention: Update total/bad stats for hidden entriesNamhyung Kim3-1/+15
2023-04-06perf lock contention: Add data failure statNamhyung Kim4-2/+8
2023-04-06perf lock contention: Update default map size to 16384Namhyung Kim4-6/+7
2023-04-06perf lock contention: Use -M for --map-nr-entriesNamhyung Kim2-1/+2
2023-04-06perf lock contention: Simplify parse_lock_type()Namhyung Kim1-35/+8
2023-04-06tools: Rename __fallthrough to fallthroughLiam Howlett13-17/+17
2023-04-06perf pmu: Fix a few potential fd leaksIan Rogers1-2/+10
2023-04-06perf pmu: Make parser reentrantIan Rogers4-13/+37
2023-04-04perf map: Add accessor for start and endIan Rogers29-114/+125
2023-04-04perf map: Add accessor for dsoIan Rogers54-319/+447
2023-04-04perf maps: Add functions to access mapsIan Rogers20-111/+175
2023-04-04perf maps: Remove rb_node from struct mapIan Rogers17-186/+295
2023-04-04perf map: Move map list node into symbolIan Rogers2-24/+54
2023-04-04perf jit: Fix a few memory leaksIan Rogers2-18/+34
2023-04-04perf build: Allow C++ demangle without libelfIan Rogers1-1/+0
2023-04-04perf srcline: Avoid addr2line SIGPIPEsIan Rogers1-0/+2
2023-04-04perf srcline: Support for llvm-addr2lineIan Rogers1-7/+67
2023-04-04perf srcline: Simplify addr2line subprocessIan Rogers1-65/+38
2023-04-04tools api: Add io__getlineIan Rogers1-0/+36
2023-04-04perf intel-pt: Use perf_pmu__scan_file_at() if possibleNamhyung Kim1-20/+32
2023-04-04perf pmu: Add perf_pmu__{open,scan}_file_at()Namhyung Kim2-13/+50
2023-04-04perf pmu: Use relative path in setup_pmu_alias_list()Namhyung Kim1-6/+7
2023-04-04perf pmu: Use relative path in perf_pmu__caps_parse()Namhyung Kim1-4/+6
2023-04-04perf pmu: Use relative path for sysfs scanNamhyung Kim3-63/+111
2023-04-04perf bench: Add pmu-scan benchmarkNamhyung Kim4-0/+187
2023-04-04perf pmu: Add perf_pmu__destroy() functionNamhyung Kim2-0/+52
2023-04-04perf tools: Fix a asan issue in parse_events_multi_pmu_add()Namhyung Kim1-1/+1