aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/code-reading.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-06perf tests: Don't retest sections in "Object code reading"James Clark1-34/+85
2025-07-25perf machine: Explicitly pass in host perf_envIan Rogers1-2/+1
2025-07-25perf test: Avoid use perf_envIan Rogers1-1/+4
2025-07-02perf test code-reading: Avoid a leak of cpus and threadsIan Rogers1-7/+0
2025-02-12perf sample: Make user_regs and intr_regs optionalIan Rogers1-3/+9
2025-01-08perf tests code-reading: Handle change in objdump output from binutils >= 2.4...Charlie Jenkins1-1/+91
2024-05-06perf dso: Add reference count checking and accessor functionsIan Rogers1-4/+4
2024-04-12perf tests: Apply attributes to all events in object code reading testJames Clark1-5/+5
2023-12-12libperf cpumap: Replace usage of perf_cpu_map__new(NULL) with perf_cpu_map__n...Ian Rogers1-1/+1
2023-11-09perf test: Add option to change objdump binaryJames Clark1-1/+1
2023-11-09perf test: Simplify "object code reading" testNamhyung Kim1-53/+23
2023-10-04tools/perf/tests: Fix object code reading to skip address that falls out of t...Athira Rajeev1-0/+10
2023-06-12perf machine: Make delete_threads part of machine__exitIan Rogers1-1/+0
2023-06-12perf addr_location: Add init/exit/copy functionsIan Rogers1-1/+2
2023-06-12perf thread: Add accessor functions for threadIan Rogers1-1/+1
2023-04-06perf map: Changes to reference countingIan Rogers1-0/+1
2023-04-04perf map: Add accessor for start and endIan Rogers1-4/+4
2023-04-04perf map: Add accessor for dsoIan Rogers1-13/+15
2023-04-04perf maps: Add functions to access mapsIan Rogers1-1/+1
2023-03-20perf tests: Add common error route for code-readingIan Rogers1-16/+23
2022-12-14perf util: Add host_is_bigendian to util.hIan Rogers1-2/+2
2022-08-10perf tools: Do not pass NULL to parse_events()Adrian Hunter1-1/+1
2021-11-13perf test: Rename struct test to test_suiteIan Rogers1-1/+1
2021-11-13perf test: Move each test suite struct to its testIan Rogers1-1/+3
2021-10-08Merge remote-tracking branch 'torvalds/master' into perf/coreArnaldo Carvalho de Melo1-2/+2
2021-09-27perf tests: Fix flaky test 'Object code reading'James Clark1-2/+2
2021-09-17perf tools: Allow controlling synthesizing PERF_RECORD_ metadata events durin...Namhyung Kim1-1/+2
2021-03-23perf tools: Fix various typos in commentsIngo Molnar1-1/+1
2021-03-06perf test: Fix cpu and thread map leaks in code_reading testNamhyung Kim1-7/+3
2021-02-17perf tools: Add OCaml demanglingFabian Hemmer1-9/+1
2020-11-30perf evlist: Use the right prefix for 'struct evlist' event attribute config ...Arnaldo Carvalho de Melo1-1/+1
2020-11-30perf evlist: Use the right prefix for alternative 'struct evlist' constructorsArnaldo Carvalho de Melo1-1/+1
2020-11-30perf evlist: Use the right prefix for 'struct evlist' sample parsing methodsArnaldo Carvalho de Melo1-2/+2
2020-06-22perf evlist: Fix the class prefix for 'struct evlist' strerror methodsArnaldo Carvalho de Melo1-1/+1
2019-11-26perf thread: Rename thread->mg to thread->mapsArnaldo Carvalho de Melo1-1/+1
2019-10-10libperf: Adopt perf_mmap__read_event() from tools/perfJiri Olsa1-1/+1
2019-10-10libperf: Adopt perf_mmap__read_done() from tools/perfJiri Olsa1-1/+1
2019-10-10libperf: Adopt perf_mmap__read_init() from tools/perfJiri Olsa1-1/+1
2019-10-10libperf: Adopt perf_mmap__consume() function from tools/perfJiri Olsa1-1/+2
2019-09-25libperf: Add perf_evlist__first()/last() functionsJiri Olsa1-1/+1
2019-09-25libperf: Move 'nr_mmaps' from 'struct evlist' to 'struct perf_evlist'Jiri Olsa1-1/+1
2019-09-25perf evlist: Adopt backwards ring buffer state enumArnaldo Carvalho de Melo1-0/+1
2019-09-25perf tools: Rename perf_evlist__mmap() to evlist__mmap()Jiri Olsa1-2/+2
2019-09-25perf tools: Rename 'struct perf_mmap' to 'struct mmap'Jiri Olsa1-1/+1
2019-09-20perf tools: Move event synthesizing routines to separate headerArnaldo Carvalho de Melo1-0/+1
2019-09-20perf env: Remove needless cpumap.h headerArnaldo Carvalho de Melo1-1/+0
2019-08-31perf auxtrace: Uninline functions that touch perf_sessionArnaldo Carvalho de Melo1-0/+6
2019-08-31perf dsos: Move the dsos struct and its methods to separate source filesArnaldo Carvalho de Melo1-0/+1
2019-08-29perf tools: Remove debug.h from header files not needing itArnaldo Carvalho de Melo1-0/+1
2019-08-26perf record: Move record_opts and other record decls out of perf.hArnaldo Carvalho de Melo1-0/+1
2019-07-29libperf: Add perf_evlist__set_maps() functionJiri Olsa1-2/+3
2019-07-29libperf: Add perf_cpu_map__new()/perf_cpu_map__read() functionsJiri Olsa1-2/+3
2019-07-29libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evselJiri Olsa1-3/+3
2019-07-29libperf: Add perf_thread_map__get()/perf_thread_map__put()Jiri Olsa1-2/+2
2019-07-29libperf: Add perf_cpu_map__get()/perf_cpu_map__put()Jiri Olsa1-2/+2
2019-07-29perf evlist: Rename perf_evlist__disable() to evlist__disable()Jiri Olsa1-1/+1
2019-07-29perf evlist: Rename perf_evlist__enable() to evlist__enable()Jiri Olsa1-1/+1
2019-07-29perf evlist: Rename perf_evlist__open() to evlist__open()Jiri Olsa1-1/+1
2019-07-29perf evlist: Rename perf_evlist__delete() to evlist__delete()Jiri Olsa1-2/+2
2019-07-29perf evlist: Rename perf_evlist__new() to evlist__new()Jiri Olsa1-1/+1
2019-07-29perf evlist: Rename struct perf_evlist to struct evlistJiri Olsa1-4/+4
2019-07-29perf evsel: Rename struct perf_evsel to struct evselJiri Olsa1-1/+1
2019-07-29perf tools: Rename struct thread_map to struct perf_thread_mapJiri Olsa1-1/+1
2019-07-29perf cpu_map: Rename struct cpu_map to struct perf_cpu_mapJiri Olsa1-1/+1
2019-06-25tools perf: Move from sane_ctype.h obtained from git to the Linux's originalArnaldo Carvalho de Melo1-1/+1
2019-02-06perf tools: Add missing include for symbols.hArnaldo Carvalho de Melo1-0/+1
2019-02-06pref tools: Add missing map.h includesArnaldo Carvalho de Melo1-0/+1
2018-12-17perf tools: Allow specifying proc-map-timeout in config fileMark Drayton1-1/+1
2018-08-20perf tools: Get rid of dso__needs_decompress() call in read_object_code()Jiri Olsa1-1/+3
2018-06-06perf test code-reading: Fix perf_env setup for PTI entry trampolinesAdrian Hunter1-0/+1
2018-04-26perf thread: Make thread__find_map() return the mapArnaldo Carvalho de Melo1-2/+1
2018-04-26perf thread: Introduce thread__find_map()Arnaldo Carvalho de Melo1-2/+2
2018-03-08perf mmap: Simplify perf_mmap__read_init()Kan Liang1-2/+1
2018-03-08perf mmap: Simplify perf_mmap__read_event()Kan Liang1-1/+1
2018-03-08perf mmap: Simplify perf_mmap__consume()Kan Liang1-1/+1
2018-03-05perf test: Switch to new perf_mmap__read_event() interface for 'code reading'...Kan Liang1-2/+9
2018-02-16perf test: Fix test case 23 for s390 z/VM or KVM guestsThomas Richter1-4/+29
2017-12-05perf evlist: Remove 'overwrite' parameter from perf_evlist__mmapWang Nan1-1/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-01perf test powerpc: Fix 'Object code reading' testRavi Bangoria1-0/+5
2017-08-11perf test: Add 'struct test *' to the test functionsArnaldo Carvalho de Melo1-1/+1
2017-06-08perf tests: Decompress kernel module before objdumpNamhyung Kim1-1/+19
2017-04-24perf tools: Include sys/param.h where neededArnaldo Carvalho de Melo1-0/+1
2017-04-19perf tools: Include errno.h where neededArnaldo Carvalho de Melo1-0/+1
2017-04-19perf tools: Move sane ctype stuff from util.h to sane_ctype.hArnaldo Carvalho de Melo1-1/+2
2017-04-19perf tools: Including missing inttypes.h headerArnaldo Carvalho de Melo1-0/+1
2017-04-19perf tools: Add include <linux/kernel.h> where ARRAY_SIZE() is usedArnaldo Carvalho de Melo1-0/+1
2017-02-20perf utils: Check verbose flag properlyNamhyung Kim1-1/+1
2016-09-05perf symbols: Remove symbol_filter_t machineryArnaldo Carvalho de Melo1-2/+2
2016-08-02perf tests: objdump output can contain multi byte chunksJan Stancek1-29/+71
2016-04-11perf evsel: Do not use globals in config()Arnaldo Carvalho de Melo1-1/+1
2016-03-23perf tools: Add cpumode to struct perf_sampleArnaldo Carvalho de Melo1-4/+1
2016-02-19perf test: Reduce the sample_freq for the 'object code reading' testArnaldo Carvalho de Melo1-1/+1
2016-02-19perf tests: Use perf_evlist__strerror_open() to provide hints about max_freqArnaldo Carvalho de Melo1-1/+7
2015-12-07perf test: Fix cpus and thread maps reference in error pathJiri Olsa1-0/+7
2015-12-07perf test: Use machine__new_host in mmap thread code reading testJiri Olsa1-5/+2
2015-11-19perf tests: Pass the subtest index to each test routineArnaldo Carvalho de Melo1-1/+1
2015-11-03perf test: Keep test result clean if '-v' not setWang Nan1-4/+4
2015-09-30perf machine: Add method for common kernel_map(FUNCTION) operationArnaldo Carvalho de Melo1-1/+1
2015-09-30perf machine: Use machine__kernel_map() thoroughlyArnaldo Carvalho de Melo1-1/+1
2015-09-14perf tests: Print objdump/dso buffers if they don't matchJan Stancek1-0/+16
2015-09-14perf tests: Stop reading if objdump output crossed sectionsJan Stancek1-1/+6
2015-09-14perf tests: Make objdump disassemble zero blocksJan Stancek1-1/+1
2015-09-14perf tests: Take into account address of each objdump lineJan Stancek1-13/+38
2015-06-25perf tools: Add reference counting for thread_map objectJiri Olsa1-1/+1
2015-06-25perf tools: Add reference counting for cpu_map objectJiri Olsa1-1/+1
2015-06-19perf tools: Configurable per thread proc map processing time outKan Liang1-1/+1
2015-05-08perf machine: Protect the machine->threads with a rwlockArnaldo Carvalho de Melo1-8/+14
2015-04-29perf tools: Add parse_events_error interfaceJiri Olsa1-1/+1
2014-10-29perf tests: Use thread->mg->machineArnaldo Carvalho de Melo1-6/+4
2014-10-29perf tools: A thread's machine can be found via thread->mg->machineArnaldo Carvalho de Melo1-2/+1
2014-05-12perf tools: Use tid for finding threadNamhyung Kim1-1/+1
2014-05-01tools: Consolidate types.hBorislav Petkov1-2/+1
2014-04-15perf tools: Fix double free in perf test 21 (code-reading.c)Adrian Hunter1-0/+1
2014-01-13perf evlist: Auto unmap on destructorArnaldo Carvalho de Melo1-1/+0
2014-01-13perf evlist: Close fds on destructorArnaldo Carvalho de Melo1-1/+0
2014-01-13perf evlist: Move destruction of maps to evlist destructorArnaldo Carvalho de Melo1-3/+2
2013-12-19perf tools: Rename 'perf_record_opts' to 'record_optsArnaldo Carvalho de Melo1-1/+1
2013-11-12perf tests: Handle throttle events in 'object code reading' testAdrian Hunter1-2/+13
2013-11-11perf record: Synthesize non-exec MMAP records when --data usedArnaldo Carvalho de Melo1-1/+1
2013-11-04perf tools: Add time argument on COMM settingFrederic Weisbecker1-1/+1
2013-10-28perf tools: Fixup mmap event consumptionZhouyi Zhou1-0/+1
2013-08-29perf tools: change machine__findnew_thread() to set thread pidAdrian Hunter1-2/+2
2013-08-14perf tests: Fix compile failure on do_sort_somethingDavid Ahern1-6/+5
2013-08-12perf tools: Remove filter parameter of thread__find_addr_map()Adrian Hunter1-1/+1
2013-08-07perf tests: Add kcore to the object code reading testAdrian Hunter1-18/+82
2013-08-07perf symbols: Load kernel maps before usingAdrian Hunter1-1/+1
2013-08-07perf tests: Add test for reading object codeAdrian Hunter1-0/+509