aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/probe-event.c
AgeCommit message (Expand)AuthorFilesLines
2025-07-25perf machine: Explicitly pass in host perf_envIan Rogers1-1/+4
2025-07-25perf build-id: Ensure struct build_id is empty before useIan Rogers1-1/+2
2025-07-25perf build-id: Change sprintf functions to snprintfIan Rogers1-2/+2
2025-01-14perf probe: Rename err labelJames Clark1-9/+9
2024-12-13Merge remote-tracking branch 'torvalds/master' into perf-tools-nextArnaldo Carvalho de Melo1-1/+1
2024-12-11perf probe: Fix uninitialized variableJames Clark1-1/+1
2024-12-10perf probe: Replace unacceptable characters when generating event nameMasami Hiramatsu (Google)1-7/+25
2024-11-16perf: Remove unused del_perf_probe_events()Dr. David Alan Gilbert1-35/+0
2024-11-16perf header: Avoid transitive PMU includesIan Rogers1-0/+1
2024-11-14perf probe: Introduce quotation marks supportMasami Hiramatsu (Google)1-34/+41
2024-11-14perf probe: Accept FUNC@* to specify function name explicitlyMasami Hiramatsu (Google)1-5/+17
2024-11-14perf probe: Fix to ignore escaped characters in --lines optionMasami Hiramatsu (Google)1-3/+3
2024-11-14perf probe: Fix error message for failing to find line rangeMasami Hiramatsu (Google)1-1/+15
2024-10-18perf build: Rename HAVE_DWARF_SUPPORT to HAVE_LIBDW_SUPPORTIan Rogers1-2/+2
2024-10-17perf probe: Improve log for long event name failureLeo Yan1-2/+8
2024-10-17perf probe: Check group string lengthLeo Yan1-0/+6
2024-10-17perf probe: Use the MAX_EVENT_NAME_LEN macroLeo Yan1-1/+4
2024-10-09perf probe: Remove unused add_perf_probe_eventsDr. David Alan Gilbert1-18/+0
2024-05-06perf dso: Add reference count checking and accessor functionsIan Rogers1-13/+12
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-03-21perf probe: Add missing libgen.h header needed for using basename()Arnaldo Carvalho de Melo1-0/+1
2024-02-29perf map: Fix map reference count issuesIan Rogers1-3/+1
2024-02-12perf maps: Get map before returning in maps__find_by_nameIan Rogers1-0/+1
2023-12-18perf probe-event: Use function to add missing maps lockIan Rogers1-14/+26
2023-08-07perf probe: Make synthesize_perf_probe_point() private to probe-event.cArnaldo Carvalho de Melo1-1/+3
2023-08-07perf probe: Free string returned by synthesize_perf_probe_point() on failure ...Arnaldo Carvalho de Melo1-2/+6
2023-08-07perf probe: Free string returned by synthesize_perf_probe_point() on failure ...Arnaldo Carvalho de Melo1-2/+3
2023-08-03perf probe: Show correct error message about @symbol usage for uprobeMasami Hiramatsu1-4/+9
2023-06-23perf symbol: Remove now unused symbol_conf.sort_by_nameIan Rogers1-1/+0
2023-06-23perf symbol: Remove symbol_name_rb_nodeIan Rogers1-6/+6
2023-06-23perf dso: Sort symbols under lockIan Rogers1-2/+1
2023-04-06perf map: Add accessors for ->pgoff and ->relocIan Rogers1-4/+4
2023-04-06perf map: Add helper for ->map_ip() and ->unmap_ip()Ian Rogers1-4/+4
2023-04-04perf map: Add accessor for start and endIan Rogers1-2/+2
2023-04-04perf map: Add accessor for dsoIan Rogers1-13/+17
2023-04-04perf maps: Remove rb_node from struct mapIan Rogers1-7/+11
2023-02-06perf probe: Update the exit error codes in function try_to_find_probe_trace_e...Athira Rajeev1-2/+2
2022-10-04perf dso: Hold lock when accessing nsinfoIan Rogers1-0/+3
2022-08-10perf probe: Fix an error handling path in 'parse_perf_probe_command()'Christophe JAILLET1-2/+4
2022-07-20perf probe: Fix duplicated 'the' in commentJason Wang1-1/+1
2022-02-14perf maps: Use a pointer for kmapsIan Rogers1-1/+1
2022-01-18perf probe: Fix ppc64 'perf probe add events failed' caseZechuan Chen1-0/+3
2021-07-18perf probe: Fix add event failure when running 32-bit perf in a 64-bit kernelYang Jihong1-26/+23
2021-07-15perf probe: Fix dso->nsinfo refcountingRiccardo Mancini1-1/+3
2021-06-18perf probe: Add --bootconfig to output definition in bootconfig formatMasami Hiramatsu1-0/+72
2021-06-18perf probe: Cleanup synthesize_probe_trace_command()Masami Hiramatsu1-37/+49
2021-06-18perf probe: Support probes on init functions for offline kernelMasami Hiramatsu1-2/+7
2021-06-04perf probe: Report possible permission error for map__load() failureMasami Hiramatsu1-3/+22
2021-05-27perf probe: Provide more detail with relocation warningRavi Bangoria1-3/+8
2021-03-23perf tools: Fix various typos in commentsIngo Molnar1-2/+2
2021-02-16Merge branch 'perf/urgent' into perf/coreArnaldo Carvalho de Melo1-0/+10
2021-02-12perf probe: Fix kretprobe issue caused by GCC bugJianlin Lv1-0/+10
2021-02-08perf intlist: Change 'struct intlist' int member to 'unsigned long'Jin Yao1-1/+1
2020-10-14perf tools: Pass build_id object to build_id__sprintf()Jiri Olsa1-3/+6
2020-10-14perf tools: Use build_id object in dsoJiri Olsa1-1/+1
2020-09-18perf probe: Fall back to debuginfod query if debuginfo and source not found l...Masami Hiramatsu1-1/+57
2020-09-18perf probe: Fix to adjust symbol address with correct reloc_sym addressMasami Hiramatsu1-3/+5
2020-07-17perf probe: Warn if the target function is a GNU indirect functionMasami Hiramatsu1-2/+6
2020-07-17perf probe: Avoid setting probes on the same address for the same eventMasami Hiramatsu1-0/+10
2020-06-09perf probe: Fix user attribute access in kprobesSumanth Korikkar1-2/+5
2020-05-28perf probe: Check address correctness by map instead of _etextMasami Hiramatsu1-12/+13
2020-05-28perf probe: Fix to check blacklist address correctlyMasami Hiramatsu1-6/+15
2020-05-28perf probe: Accept the instance number of kretprobe eventMasami Hiramatsu1-2/+1
2019-11-26perf maps: Rename map_groups.h to maps.hArnaldo Carvalho de Melo1-1/+1
2019-11-26perf maps: Merge 'struct maps' with 'struct map_groups'Arnaldo Carvalho de Melo1-1/+1
2019-11-18perf probe: Trace a magic number if variable is not foundMasami Hiramatsu1-1/+1
2019-11-18perf probe: Support multiprobe eventMasami Hiramatsu1-2/+7
2019-11-18perf probe: Generate event name with line numberMasami Hiramatsu1-0/+8
2019-11-06perf maps: Add for_each_entry()/_safe() iteratorsArnaldo Carvalho de Melo1-1/+1
2019-09-20perf probe: Fix to clear tev->nargs in clear_probe_trace_event()Masami Hiramatsu1-0/+1
2019-08-31perf tools: Remove needless evlist.h include directivesArnaldo Carvalho de Melo1-1/+2
2019-08-31perf tools: Remove needless thread.h include directivesArnaldo Carvalho de Melo1-1/+0
2019-08-31perf dsos: Move the dsos struct and its methods to separate source filesArnaldo Carvalho de Melo1-0/+2
2019-07-23Merge tag 'perf-urgent-for-mingo-5.3-20190723' of git://git.kernel.org/pub/sc...Ingo Molnar1-0/+1
2019-07-23perf probe: Set pev->nargs to zero after freeing pev->args entriesArnaldo Carvalho de Melo1-0/+1
2019-07-18Merge tag 'trace-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-0/+11
2019-07-09perf tools: Use list_del_init() more thorouglyArnaldo Carvalho de Melo1-1/+1
2019-07-09perf tools: Use zfree() where applicableArnaldo Carvalho de Melo1-27/+24
2019-07-09tools lib: Adopt zalloc()/zfree() from tools/perfArnaldo Carvalho de Melo1-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-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Thomas Gleixner1-15/+1
2019-05-25perf-probe: Add user memory access attribute supportMasami Hiramatsu1-0/+11
2019-03-11perf probe: Fix getting the kernel mapAdrian Hunter1-2/+4
2019-02-28perf probe: Clarify error message about not finding kernel modules debuginfoArnaldo Carvalho de Melo1-3/+6
2019-02-06perf map: Move structs and prototypes for map groups to a separate headerArnaldo Carvalho de Melo1-0/+1
2019-02-06pref tools: Add missing map.h includesArnaldo Carvalho de Melo1-0/+1
2019-01-25perf symbols: Use cached rbtreesDavidlohr Bueso1-1/+2
2019-01-25perf namespaces: Remove namespaces.h from .h headersArnaldo Carvalho de Melo1-0/+1
2018-12-17perf tools: Fix diverse comment typosIngo Molnar1-2/+2
2018-09-24perf probe: Support SDT markers having reference counter (semaphore)Ravi Bangoria1-4/+35
2018-06-04perf probe: Use return of map__get() to make code more compactArnaldo Carvalho de Melo1-2/+1
2018-04-30perf machine: Ditch find_kernel_function variantsArnaldo Carvalho de Melo1-13/+2
2018-04-27perf symbols: Unify symbol mapsArnaldo Carvalho de Melo1-5/+4
2018-04-26perf machine: Introduce machine__kernel_maps()Arnaldo Carvalho de Melo1-2/+1
2018-04-26perf map: Shorten map_groups__find_by_name() signatureArnaldo Carvalho de Melo1-1/+1
2017-12-27perf probe: Support escaped character in parserMasami Hiramatsu1-23/+35
2017-12-27perf probe: Find versioned symbols from mapMasami Hiramatsu1-2/+18
2017-12-27perf probe: Add __return suffix for return eventsMasami Hiramatsu1-4/+5
2017-12-27perf probe: Cut off the version suffix from event nameMasami Hiramatsu1-2/+2
2017-12-27perf probe: Add warning message if there is unexpected event nameMasami Hiramatsu1-0/+8
2017-08-29perf probe: Fix kprobe blacklist checking conditionLi Bin1-1/+1
2017-07-18perf buildid-cache: Support binary objects from other namespacesKrister Johansen1-3/+3
2017-07-18perf probe: Allow placing uprobes in alternate namespaces.Krister Johansen1-26/+54
2017-06-22perf probe: Fix probe definition for inlined functionsBjörn Töpel1-1/+1
2017-04-19perf str{filter,list}: Disentangle headersArnaldo Carvalho de Melo1-0/+1
2017-04-19perf tools: Move extra string util functions to util/string2.hArnaldo Carvalho de Melo1-0/+1
2017-04-19perf tools: Move sane ctype stuff from util.h to sane_ctype.hArnaldo Carvalho de Melo1-0/+2
2017-04-19perf tools: Including missing inttypes.h headerArnaldo Carvalho de Melo1-0/+1
2017-03-21perf probe: Change MAX_CMDLENRavi Bangoria1-1/+0
2017-03-20perf probe: Fix concat_probe_trace_eventsRavi Bangoria1-1/+1
2017-03-15perf probe: Introduce util func is_sdt_event()Ravi Bangoria1-8/+1
2017-03-14perf kretprobes: Offset from reloc_sym if kernel supports itNaveen N. Rao1-7/+5
2017-02-20perf utils: Check verbose flag properlyNamhyung Kim1-1/+1
2017-02-14perf probe: Avoid accessing uninitialized 'map' variableArnaldo Carvalho de Melo1-1/+1
2017-01-26Merge tag 'perf-core-for-mingo-4.11-20170126' of git://git.kernel.org/pub/scm...Ingo Molnar1-7/+4
2017-01-26perf probe: Delete an unnecessary assignment in try_to_find_absolute_address()Markus Elfring1-3/+2
2017-01-26perf probe: Delete an unnecessary check in try_to_find_absolute_address()Markus Elfring1-4/+2
2017-01-16perf probe: Fix to probe on gcc generated functions in modulesMasami Hiramatsu1-16/+29
2017-01-16perf probe: Add error checks to offline probe post-processingMasami Hiramatsu1-17/+33
2017-01-04perf probe: Fix to probe on gcc generated symbols for offline kernelMasami Hiramatsu1-1/+47
2017-01-04perf probe: Fix --funcs to show correct symbols for offline moduleMasami Hiramatsu1-19/+6
2017-01-02perf probe: Fix to get correct modname from elf headerMasami Hiramatsu1-16/+16
2016-10-03perf probe: Check if *ptr2 is zero and not ptr2Colin Ian King1-1/+1
2016-09-29perf probe: Fix to cut off incompatible chars from group nameMasami Hiramatsu1-3/+7
2016-09-05perf symbols: Remove symbol_filter_t machineryArnaldo Carvalho de Melo1-9/+8
2016-09-01perf probe: Add helper function to check if probe with variableRavi Bangoria1-7/+15
2016-09-01perf probe: Ignore vmlinux buildid if offline kernel is givenMasami Hiramatsu1-0/+4
2016-09-01perf probe: Show trace event definitionMasami Hiramatsu1-0/+46
2016-09-01perf probe: Do not use map_load filters for functionArnaldo Carvalho de Melo1-19/+10
2016-08-09perf probe ppc64le: Fix probe location when using DWARFRavi Bangoria1-16/+21
2016-08-09perf probe: Add function to post process kernel trace eventsRavi Bangoria1-11/+18
2016-08-09perf probe: Fix module name matchingKonstantin Khlebnikov1-1/+3
2016-08-09perf probe: Adjust map->reloc offset when finding kernel symbol from mapMasami Hiramatsu1-1/+1
2016-07-18perf probe: Warn unmatched function filter correctlyMasami Hiramatsu1-2/+10
2016-07-13perf probe: Support a special SDT probe formatMasami Hiramatsu1-2/+10
2016-07-13perf probe: Support @BUILDID or @FILE suffix for SDT eventsMasami Hiramatsu1-2/+15
2016-07-13perf probe: Search SDT/cached event from all probe cachesMasami Hiramatsu1-19/+86
2016-07-13perf probe: Allow wildcard for cached eventsMasami Hiramatsu1-4/+103
2016-07-13perf probe: Accept %sdt and %cached event nameMasami Hiramatsu1-24/+58
2016-07-13perf probe: Fix to show correct error message for $vars and $paramsMasami Hiramatsu1-1/+3
2016-07-12tools: Introduce str_error_r()Arnaldo Carvalho de Melo1-3/+3
2016-07-04perf probe: Add group name supportMasami Hiramatsu1-9/+14
2016-07-01perf probe: Show all cached probesMasami Hiramatsu1-0/+3
2016-07-01perf probe: Use cache entry if possibleMasami Hiramatsu1-2/+63
2016-06-23perf intlist: Rename for_each() macros to for_each_entry()Arnaldo Carvalho de Melo1-1/+1
2016-06-23perf tools: Rename strlist_for_each() macros to for_each_entry()Arnaldo Carvalho de Melo1-2/+2
2016-06-22perf machine: Destructors should accept NULLArnaldo Carvalho de Melo1-4/+2
2016-06-15perf probe: Add --cache option to cache the probe definitionsMasami Hiramatsu1-0/+9
2016-06-14perf probe: Uncomment and export synthesize_perf_probe_point()Masami Hiramatsu1-17/+22
2016-06-14perf probe: Add perf_probe_event__copy()Masami Hiramatsu1-3/+73
2016-06-14perf probe: Fix to add NULL check for strndupMasami Hiramatsu1-0/+4
2016-05-10perf probe: Check the return value of strbuf APIsMasami Hiramatsu1-57/+86
2016-05-05perf symbols: Fix kallsyms perf test on ppc64leNaveen N. Rao1-2/+3
2016-04-28perf probe: Use strbuf for making stringsMasami Hiramatsu1-161/+85
2016-04-26perf probe: Fix module probe issue if no dwarf supportRavi Bangoria1-3/+73
2016-04-26perf probe: Fix offline module name missmatch issueRavi Bangoria1-14/+5
2016-04-26perf probe: Set default kprobe group name if it is not givenMasami Hiramatsu1-3/+7
2016-04-26perf probe: Close target file on error pathMasami Hiramatsu1-2/+7
2016-03-23perf probe: No need to use formatting strbuf methodArnaldo Carvalho de Melo1-1/+1
2015-11-18perf bpf: Allow BPF program config probing optionsWang Nan1-2/+5
2015-11-06perf probe: Cleanup find_perf_probe_point_from_map to reduce redundancyMasami Hiramatsu1-5/+2
2015-11-05perf tools: Fix find_perf_probe_point_from_map() which incorrectly returns su...Wang Nan1-0/+3
2015-10-02perf probe: Allow probing on kmodules without dwarfMasami Hiramatsu1-3/+5
2015-09-30perf probe: Fix a segfault bug in debuginfo_cacheMasami Hiramatsu1-9/+12
2015-09-30perf probe: Show correct source lines of probes on kmodulesMasami Hiramatsu1-12/+23
2015-09-30perf probe: Fix to remove dot suffix from second or latter eventsMasami Hiramatsu1-13/+20
2015-09-30perf machine: Add method for common kernel_map(FUNCTION) operationArnaldo Carvalho de Melo1-2/+2
2015-09-30perf machine: Use machine__kernel_map() thoroughlyArnaldo Carvalho de Melo1-3/+4
2015-09-28Merge branch 'linus' into perf/core, to pick up fixes before applying new cha...Ingo Molnar1-6/+7
2015-09-25perf probe: Use existing routine to look for a kernel module by dso->short_nameArnaldo Carvalho de Melo1-6/+7
2015-09-15perf probe: Export init/exit_probe_symbol_maps()Namhyung Kim1-16/+15
2015-09-15perf probe: Free perf_probe_event in cleanup_perf_probe_events()Namhyung Kim1-0/+1
2015-09-14tools lib api fs: Replace debugfs/tracefs objects interface with fs.cJiri Olsa1-3/+2
2015-09-04perf probe: Print deleted events in cmd_probe()Namhyung Kim1-5/+0
2015-09-04perf probe: Move print logic into cmd_probe()Namhyung Kim1-19/+3
2015-09-04perf probe: Link trace_probe_event into perf_probe_eventWang Nan1-40/+17
2015-09-04perf probe: Split add_perf_probe_events()Namhyung Kim1-4/+35
2015-08-26perf probe: Support probing at absolute addressWang Nan1-6/+156
2015-08-26perf probe: Fix error reported when offset without functionWang Nan1-3/+7
2015-08-26perf probe: Fix list result when address is zeroWang Nan1-3/+25
2015-08-26perf probe: Fix list result when symbol can't be foundWang Nan1-1/+1
2015-08-26perf probe: Prevent segfault when reading probe point with absolute addressWang Nan1-4/+4
2015-08-21perf probe: Try to use symbol table if searching debug info failedWang Nan1-3/+4
2015-07-20perf probe: Move ftrace probe-event operations to probe-file.cMasami Hiramatsu1-292/+26
2015-07-20perf probe: Simplify __add_probe_trace_events codeMasami Hiramatsu1-27/+43
2015-07-20perf strlist: Make dupstr be the default and part of an extensible config parmArnaldo Carvalho de Melo1-2/+2
2015-06-23perf probe: Fix failure to probe events on armHe Kuang1-1/+5
2015-06-17perf probe: Speed up perf probe --list by caching debuginfoMasami Hiramatsu1-4/+44
2015-06-17perf probe: Show usage even if the last event is skippedMasami Hiramatsu1-18/+17
2015-06-16perf probe: Fix to return error if no probe is addedMasami Hiramatsu1-42/+71
2015-06-16perf probe: List probes in stdoutMasami Hiramatsu1-14/+35
2015-06-12perf probe: Cut off the gcc optimization postfixes from function nameMasami Hiramatsu1-0/+5
2015-06-08perf machine: Fix up some more method namesArnaldo Carvalho de Melo1-1/+1
2015-05-30perf probe: Fix segfault when glob matching function without debuginfoWang Nan1-5/+21
2015-05-29perf machine: No need to have two DSOs listsArnaldo Carvalho de Melo1-2/+3
2015-05-29perf probe: Fix 'function unused' warningWang Nan1-32/+33
2015-05-27perf tools: Reference count struct mapArnaldo Carvalho de Melo1-3/+3
2015-05-27perf tools: Introduce struct mapsArnaldo Carvalho de Melo1-1/+1
2015-05-27perf probe: Fix an error when deleting probes successfullyMasami Hiramatsu1-4/+5