aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines
AgeCommit message (Expand)AuthorFilesLines
2025-10-06perf build: Disable thread safety analysis for perl headerLeo Yan1-1/+1
2025-07-25perf build-id: Change sprintf functions to snprintfIan Rogers1-4/+3
2025-06-09perf script: perf script tests fails with segfaultAditya Bodkhe1-1/+1
2025-02-12perf sample: Make user_regs and intr_regs optionalIan Rogers1-9/+20
2024-12-18perf python: Remove python 2 scripting supportIan Rogers1-60/+3
2024-12-09perf evsel: Add/use accessor for tp_formatIan Rogers2-2/+4
2024-11-08perf build: Include libtraceevent headers directly indicated by pkg-configYicong Yang2-2/+2
2024-11-08perf script cs_etm: Add map_pgoff to python dictionarySteve Clevenger1-3/+6
2024-09-06perf script python: Avoid buffer overflow in python PEBS register interfaceAndi Kleen1-8/+3
2024-08-09perf script python: Add the 'ins_lat' field to event handlerZixian Cai1-1/+4
2024-06-26perf util: Make util its own libraryIan Rogers1-2/+2
2024-05-07perf mem-info: Add reference count checkingIan Rogers1-3/+8
2024-05-07perf mem-info: Move mem-info out of mem-events and symbolIan Rogers1-0/+1
2024-05-06perf dso: Add reference count checking and accessor functionsIan Rogers2-13/+14
2024-03-21perf cpumap: Use perf_cpu_map__for_each_cpu when possibleIan Rogers1-5/+7
2024-02-02tools: perf: Expose sample ID / stream ID to python scriptsBen Gainey1-1/+7
2023-11-27perf script perl: Fail check on dynamic allocationzhaimingbing1-0/+3
2023-11-27perf script python: Fail check on dynamic allocationParan Lee1-2/+15
2023-08-03perf script python: Cope with declarations after statements found in Python.hArnaldo Carvalho de Melo1-1/+2
2023-06-22perf script: Initialize buffer for regs_map()Namhyung Kim1-2/+2
2023-06-20tools: Fix incorrect calculation of object size by sizeofLi Dong1-2/+2
2023-06-12perf callchain: Use pthread keys for tls callchain_cursorIan Rogers2-8/+13
2023-06-12perf python: Avoid 2 leak sanitizer issuesIan Rogers1-1/+5
2023-06-12perf addr_location: Add init/exit/copy functionsIan Rogers1-2/+8
2023-06-12perf thread: Add accessor functions for threadIan Rogers1-7/+7
2023-05-28perf scripting-engines: Move static to local variable, remove 16384 from .bssIan Rogers2-4/+5
2023-04-06perf map: Add helper for ->map_ip() and ->unmap_ip()Ian Rogers1-1/+1
2023-04-04perf map: Add accessor for start and endIan Rogers1-3/+3
2023-04-04perf map: Add accessor for dsoIan Rogers2-11/+15
2023-04-04perf maps: Add functions to access mapsIan Rogers1-1/+1
2023-03-15perf script: Fix Python support when no libtraceeventAdrian Hunter2-23/+54
2023-01-19perf trace: Reduce #ifdefs for TEP_FIELD_IS_RELATIVEIan Rogers2-6/+2
2023-01-19perf tools: Remove HAVE_LIBTRACEEVENT_TEP_FIELD_IS_RELATIVEIan Rogers2-2/+2
2022-12-21perf scripting python: Don't be strict at handling libtraceevent enumerationsArnaldo Carvalho de Melo1-1/+1
2022-12-14perf tools: Check if libtracevent has TEP_FIELD_IS_RELATIVEArnaldo Carvalho de Melo2-0/+4
2022-12-14perf build: Use libtraceevent from the systemIan Rogers3-2/+6
2022-12-05perf tools: Use dedicated non-atomic clear/set bit helpersSean Christopherson2-2/+2
2022-11-16perf thread_map: Reduce exposure of libperf internal APIIan Rogers1-1/+1
2022-10-27perf scripting python: Add missing util/perf_regs.h include to get perf_reg_n...Arnaldo Carvalho de Melo1-0/+1
2022-10-27perf stat: Aggregate events using evsel->stats->aggrNamhyung Kim1-6/+0
2022-09-29perf build: Fixup disabling of -Wdeprecated-declarations for the python scrip...Arnaldo Carvalho de Melo1-1/+1
2022-08-19perf tools: Support reading PERF_FORMAT_LOSTNamhyung Kim1-5/+14
2022-08-12perf scripting python: Delete repeated word in commentsshaomin Deng1-1/+1
2022-08-02perf scripting python: Do not build fail on deprecation warningsArnaldo Carvalho de Melo1-1/+1
2022-07-20perf scripting perl: Ignore some warnings to keep building with perl headersArnaldo Carvalho de Melo1-1/+1
2022-07-20perf script python: Add machine_pid and vcpuAdrian Hunter1-1/+10
2022-07-20perf auxtrace: Add machine_pid and vcpu to auxtrace_errorAdrian Hunter1-1/+3
2022-05-27perf scripting python: Expose dso and map informationLeo Yan1-4/+17
2022-04-11perf scripting python: Expose symbol offset and source informationEelco Chaudron1-13/+36
2022-02-15perf scripting python: Add all sample flags to DB exportAdrian Hunter1-1/+2
2022-01-22perf cpumap: Migrate to libperf cpumap apiIan Rogers1-2/+2
2022-01-18Merge tag 'perf-tools-for-v5.17-2022-01-16' of git://git.kernel.org/pub/scm/l...Linus Torvalds1-7/+9
2022-01-12perf cpumap: Give CPUs their own typeIan Rogers1-3/+3
2021-12-16perf arch: Support register names from all archsGerman Gomez1-4/+6
2021-12-06tools/perf: Add '__rel_loc' event field parsing supportMasami Hiramatsu2-0/+4
2021-09-03perf script python: Allow reporting the [un]throttle PERF_RECORD_ meta eventStephen Brennan1-0/+32
2021-07-07perf script python: Fix buffer size to report iregs in perf scriptKajol Jain1-5/+12
2021-06-01perf scripting python: Assign perf_script_contextAdrian Hunter1-0/+28
2021-06-01perf scripting: Add perf_session to scripting_contextAdrian Hunter2-2/+7
2021-06-01perf scripting: Add scripting_context__update()Adrian Hunter2-7/+4
2021-05-25perf scripting python: Add auxtrace errorAdrian Hunter1-0/+42
2021-05-25perf scripting python: Add context switchAdrian Hunter1-0/+45
2021-05-25perf scripting python: Add cpumodeAdrian Hunter1-0/+3
2021-05-25perf scripting python: Add IPCAdrian Hunter1-0/+8
2021-05-25perf scripting python: Add sample flagsAdrian Hunter1-0/+26
2021-05-25perf scripting python: Add 'addr_location' for 'addr'Adrian Hunter2-9/+20
2021-05-25perf scripting python: Factor out set_sym_in_dict()Adrian Hunter1-8/+17
2021-05-25perf scripting python: Fix tuple_set_u64()Adrian Hunter1-65/+81
2021-05-25perf script: Find script file relative to exec pathAdrian Hunter2-0/+2
2021-03-23perf tools: Fix various typos in commentsIngo Molnar1-1/+1
2020-11-03perf scripting python: Avoid declaring function pointers with a visibility at...Arnaldo Carvalho de Melo1-5/+2
2020-10-14perf tools: Pass build_id object to build_id__sprintf()Jiri Olsa1-1/+1
2020-10-14perf tools: Use build_id object in dsoJiri Olsa1-1/+1
2020-05-05perf evsel: Rename *perf_evsel__*name() to *evsel__*name()Arnaldo Carvalho de Melo1-3/+3
2020-04-03perf script report: Fix SEGFAULT when using DWARF modeAndreas Gerstmayr1-0/+3
2020-03-09perf tools: Add hw_idx in struct branch_stackKan Liang1-14/+16
2019-11-26perf addr_location: Rename al->mg to al->mapsArnaldo Carvalho de Melo1-1/+1
2019-11-12perf callchain: Use 'struct map_symbol' in 'struct callchain_cursor_node'Arnaldo Carvalho de Melo2-16/+16
2019-11-12perf tools: Add map_groups to 'struct addr_location'Arnaldo Carvalho de Melo1-1/+1
2019-10-18perf scripting engines: Iterate on tep event arrays directlySteven Rostedt (VMware)2-4/+13
2019-09-20perf env: Remove needless cpumap.h headerArnaldo Carvalho de Melo1-1/+0
2019-09-20perf tools: Remove util.h from where it is not neededArnaldo Carvalho de Melo1-1/+0
2019-08-31perf dsos: Move the dsos struct and its methods to separate source filesArnaldo Carvalho de Melo2-0/+3
2019-08-29perf tools: Remove perf.h from source files not needing itArnaldo Carvalho de Melo2-2/+0
2019-08-22libperf: Add perf_thread_map__nr/perf_thread_map__pid functionsJiri Olsa1-1/+1
2019-08-22perf scripting python: Add missing counts.h headerArnaldo Carvalho de Melo1-0/+1
2019-07-29libperf: Add threads to struct perf_evselJiri Olsa1-1/+1
2019-07-29libperf: Add cpus to struct perf_evselJiri Olsa1-1/+1
2019-07-29libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evselJiri Olsa2-10/+10
2019-07-29perf evsel: Rename struct perf_evsel to struct evselJiri Olsa2-15/+15
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-07-10perf db-export: Export switch eventsAdrian Hunter1-0/+41
2019-07-10perf db-export: Export comm detailsAdrian Hunter1-2/+6
2019-07-10perf db-export: Get rid of db_export__deferred()Adrian Hunter1-3/+1
2019-06-25perf db-export: Export synth eventsAdrian Hunter1-2/+44
2019-06-05perf db-export: Export IPC informationAdrian Hunter1-2/+6
2019-04-01perf tools, tools lib traceevent: Rename "pevent" member of struct tep_event ...Tzvetomir Stoyanov2-2/+2
2019-03-01perf db-export: Add calls parent_id to enable creation of call treesAdrian Hunter1-3/+5
2019-02-14perf tools: Rename build libperf to perfJiri Olsa1-2/+2
2019-02-06perf tools: Add missing include for symbols.hArnaldo Carvalho de Melo2-0/+2
2019-02-06pref tools: Add missing map.h includesArnaldo Carvalho de Melo2-0/+2
2019-01-25perf script python: Use PyBytes for attr in trace-event-pythonTony Jones1-2/+1
2019-01-25perf script python: Add trace_context extension module to sys.modulesTony Jones1-3/+9
2018-12-17tools lib traceevent, perf tools: Rename 'struct tep_event_format' to 'struct...Tzvetomir Stoyanov2-7/+7
2018-12-17perf script: Use fallbacks for branch stacksAdrian Hunter1-8/+8
2018-09-19tools lib traceevent, perf tools: Rename enum print_arg_type to enum tep_prin...Tzvetomir Stoyanov (VMware)2-44/+44
2018-09-19tools lib traceevent, perf tools: Add prefix tep_ to all print_* structuresTzvetomir Stoyanov (VMware)2-5/+5
2018-09-19tools lib traceevent, perf tools: Rename enum format_flags to enum tep_format...Tzvetomir Stoyanov (VMware)2-22/+22
2018-09-19tools lib traceevent, perf tools: Rename struct format{_field} to struct tep_...Tzvetomir Stoyanov (VMware)2-5/+5
2018-09-19tools lib traceevent, perf tools: Rename struct event_format to struct tep_ev...Tzvetomir Stoyanov (VMware)2-7/+7
2018-08-13tools lib traceevent, perf tools: Rename pevent_read_number_* APIsTzvetomir Stoyanov (VMware)1-2/+2
2018-08-10tools lib traceevent, perf tools: Rename struct pevent to struct tep_handleTzvetomir Stoyanov (VMware)2-2/+2
2018-07-11perf script python: Fix dict reference countingJanne Huttunen1-6/+2
2018-07-11perf tools: Generate a Python script compatible with Python 2 and 3Jeremy Cline1-14/+15
2018-06-06perf script python: Add more PMU fields to event handler dictJin Yao1-1/+226
2018-06-06perf script python: Move dsoname code to a new functionJin Yao1-8/+15
2018-05-30perf script python: Add addr into perf sample dictLeo Yan1-0/+2
2018-02-19perf tools: Add Python 3 supportJaroslav Škarvada1-43/+104
2018-01-12perf script python: Add script to profile and resolve physical mem typeKan Liang1-0/+2
2017-12-27perf perf: Remove duplicate includesPravin Shedge1-1/+0
2017-07-25perf script python: Generate hooks with additional argumentArun Kalyanasundaram1-4/+18
2017-07-25perf script python: Add perf_sample dict to tracepoint handlersArun Kalyanasundaram1-1/+40
2017-07-25perf script python: Add sample_read to dictArun Kalyanasundaram1-0/+51
2017-07-25perf script python: Refactor creation of perf sample dictArun Kalyanasundaram1-41/+53
2017-07-25perf script python: Allocate memory only if handler existsArun Kalyanasundaram1-16/+22
2017-06-19tools: Adopt __noreturn from kernel sourcesArnaldo Carvalho de Melo1-1/+2
2017-06-07perf script: Fix outdated comment for perf-trace-pythonSeongJae Park1-1/+1
2017-04-26perf tools: Move HAS_BOOL define to where perl headers are usedArnaldo Carvalho de Melo1-1/+3
2017-04-19perf tools: Move print_binary definitions to separate filesArnaldo Carvalho de Melo1-0/+1
2017-04-19perf tools: Including missing inttypes.h headerArnaldo Carvalho de Melo2-0/+2
2017-02-28Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-2/+2
2017-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds2-0/+2
2017-02-17tools perf scripting python: clang doesn't have -spec, remove itArnaldo Carvalho de Melo1-2/+2
2017-02-13perf symbols: dso->name is an array, no need to check it against NULLArnaldo Carvalho de Melo1-2/+2
2017-02-13perf scripting perl: Fix compile error with some perl5 versionsWang YanQing1-1/+1
2017-01-26perf scripting perl: Do not die() when not founding event for a typeArnaldo Carvalho de Melo1-2/+4
2017-01-25lib, traceevent: add PRINT_HEX_STR variantDaniel Borkmann2-0/+2
2016-08-23tools: Introduce tools/include/linux/time64.h for *SEC_PER_*SEC macrosArnaldo Carvalho de Melo2-4/+6
2016-07-18perf tools: Make is_printable_array globalJiri Olsa1-16/+0
2016-07-18perf script python: Fix string vs byte array resolvingJiri Olsa1-6/+33
2016-07-12perf script python: Silence -Werror=maybe-uninitialized on gcc 5.3.0Arnaldo Carvalho de Melo1-2/+2
2016-05-20perf tools: Fix usage of max_stack sysctlArnaldo Carvalho de Melo1-2/+1
2016-05-11perf tools: Use SBUILD_ID_SIZE where applicableMasami Hiramatsu1-1/+1
2016-05-11perf scripting python: Use Py_FatalError instead of die()Arnaldo Carvalho de Melo1-2/+5
2016-05-09perf script: Fix incorrect python db-export error messageChris Phlipot1-1/+1
2016-05-06perf script: Expose usage of the callchain db export via the python apiChris Phlipot1-2/+33
2016-05-06perf tools: Refactor code to move call path handling out of thread-stackChris Phlipot1-0/+1
2016-04-27perf tools: Set the maximum allowed stack from /proc/sys/kernel/perf_event_ma...Arnaldo Carvalho de Melo1-1/+1
2016-04-14perf callchain: Start moving away from global per thread cursorsArnaldo Carvalho de Melo2-2/+2
2016-04-06perf script perl: Do error checking on new backtrace routineArnaldo Carvalho de Melo1-9/+21
2016-03-30perf script perl: Perl scripts now get a backtrace, like the python onesDima Kogan1-8/+106
2016-03-03perf script: Fix double free on command_lineColin Ian King1-2/+2
2016-02-25perf script: Exception handling when the print fmt is emptyTaeung Song2-0/+6
2016-01-06perf script: Add python support for stat eventsJiri Olsa1-6/+109
2015-09-28perf scripting python: Allow for max_stack greater than PERF_MAX_STACK_DEPTHAdrian Hunter1-1/+1
2015-09-02tools lib traceevent: Support function __get_dynamic_array_lenHe Kuang2-0/+2
2015-05-13tracing: Rename FTRACE_MAX_EVENT to TRACE_EVENT_TYPE_MAXSteven Rostedt (Red Hat)2-4/+4
2015-04-02perf db-export: No need to have ->thread twice in struct export_sampleArnaldo Carvalho de Melo1-1/+1
2015-04-02perf db-export: No need to pass thread twice to db_export__sampleArnaldo Carvalho de Melo1-2/+1
2015-04-02perf scripting: No need to pass thread twice to the scripting callbacksArnaldo Carvalho de Melo2-11/+7
2015-03-24tools lib traceevent: Add support for __print_array()Javi Merino2-0/+10
2015-02-12perf build: Add scripts objects buildingJiri Olsa1-0/+6
2015-01-21perf tools: Remove EOL whitespacesArnaldo Carvalho de Melo1-1/+1
2014-11-06perf script python: Removing event cache as it's no longer neededJiri Olsa1-28/+6
2014-11-06perf script perl: Removing event cache as it's no longer neededJiri Olsa1-23/+6
2014-11-03perf tools: Defer export of comms that were not 'set'Adrian Hunter1-1/+3
2014-11-03perf tools: Add call information to Python exportAdrian Hunter1-1/+83
2014-11-03perf tools: Add branch_type and in_tx to Python exportAdrian Hunter1-1/+29
2014-10-29perf scripting python: Extend interface to export data in a database-friendly...Adrian Hunter1-2/+284
2014-10-29perf thread: Adopt resolve_callchain method from machineArnaldo Carvalho de Melo1-3/+3
2014-10-14perf callchain: Move the callchain_param extern to callchain.hArnaldo Carvalho de Melo1-0/+1
2014-08-22perf scripting: Add 'flush' callback to scripting APIAdrian Hunter2-0/+12
2014-08-13perf script python: Add helpers for calling Python objectsAdrian Hunter1-67/+47
2014-07-17perf tools: Move pr_* debug macros into debug objectJiri Olsa2-0/+2
2014-07-16perf script: Provide additional sample information on generic eventsJoseph Schuchart1-3/+20
2014-07-16perf script: Add callchain to generic and tracepoint eventsJoseph Schuchart1-4/+102
2014-07-16perf script: Add missing calls to Py_DECREF for return valuesJoseph Schuchart1-2/+10
2014-06-27perf script: Handle the num array type in python properlySebastian Andrzej Siewior1-12/+31
2014-06-27perf script: Move the number processing into its own functionSebastian Andrzej Siewior1-15/+23
2014-06-09perf script/python: Print array argument as stringNamhyung Kim1-0/+1
2014-06-07tools lib traceevent: Added support for __get_bitmask() macroSteven Rostedt (Red Hat)2-0/+2
2013-12-26perf tools: No need to test against NULL before calling free()Arnaldo Carvalho de Melo2-4/+2
2013-12-19perf symbols: Add 'machine' member to struct addr_locationArnaldo Carvalho de Melo2-2/+0
2013-12-19perf scripting perl: Shorten function signaturesArnaldo Carvalho de Melo1-13/+7
2013-12-19perf scripting python: Shorten function signaturesArnaldo Carvalho de Melo1-17/+9
2013-11-04perf tools: Use an accessor to read thread commFrederic Weisbecker2-3/+3
2013-10-24perf script python: Fix mem leak due to missing Py_DECREFs on dict entriesJoseph Schuchart1-13/+24
2013-10-17perf scripting perl: Fix build error on Fedora 12Arnaldo Carvalho de Melo1-1/+1
2013-07-22perf script: Fix named threads supportDavid Ahern2-10/+13
2013-01-24perf script: hook up perf_scripting_context->peventTom Zanussi2-0/+2
2012-10-07perf tools: Remove duplicated include from trace-event-python.cWei Yongjun1-1/+0
2012-09-20perf tools: Fix a compiling error in trace-event-perl.c for 32 bits machineFeng Tang1-1/+1
2012-09-11perf tools: Use __maybe_used for unused variablesIrina Tirdea2-8/+10
2012-09-05perf tools: remove unneeded include of network header filesDavid Ahern1-4/+4
2012-08-09perf script python: Correct handler check and spelling errorsFeng Tang1-5/+3
2012-08-08perf scripts python: Pass event/thread/dso name and symbol info to event hand...Feng Tang1-6/+29
2012-08-08perf script: Replace "struct thread" with "struct addr_location" as a paramet...Feng Tang2-11/+13
2012-08-08perf script: Add general python handler to process non-tracepoint eventsFeng Tang1-1/+58
2012-08-07perf script: Stop using pevent directlyArnaldo Carvalho de Melo2-11/+8