aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-probe.c
AgeCommit message (Expand)AuthorFilesLines
2026-03-10perf tools: Add layout support for --symfs optionChangbin Du1-2/+2
2026-01-14perf tools: Switch printf("...%s", strerror(errno)) to printf("...%m")Ian Rogers1-2/+1
2024-10-18perf build: Rename HAVE_DWARF_SUPPORT to HAVE_LIBDW_SUPPORTIan Rogers1-6/+6
2024-10-18perf build: Rename NO_DWARF to NO_LIBDWIan Rogers1-1/+1
2024-05-07perf probe: Use zfree() to avoid possibly accessing dangling pointersArnaldo Carvalho de Melo1-1/+1
2023-05-28perf probe: Dynamically allocate params memoryIan Rogers1-62/+71
2023-04-06tools: Rename __fallthrough to fallthroughLiam Howlett1-1/+1
2023-02-02perf probe: Fix usage when libtraceevent is missingAthira Rajeev1-0/+9
2022-12-20perf probe: Check -v and -q options in the right placeYang Jihong1-8/+9
2022-10-27perf tools: Make quiet mode consistent between toolsJames Clark1-4/+3
2022-02-11perf namespaces: Add functions to access nsinfoIan Rogers1-1/+1
2021-11-07perf tools: Check vmlinux/kallsyms arguments in all toolsJames Clark1-0/+5
2021-07-07perf probe: Do not show @plt function by defaultMasami Hiramatsu1-1/+1
2021-06-18perf probe: Add --bootconfig to output definition in bootconfig formatMasami Hiramatsu1-1/+11
2020-05-28perf probe: Do not show the skipped eventsMasami Hiramatsu1-0/+3
2020-02-27perf probe: Check return value of strlist__add() for -ENOMEMHe Zhe1-2/+4
2019-08-31perf probe: No need for symbol.h, symbol_conf is enoughArnaldo Carvalho de Melo1-1/+1
2019-08-31perf symbols: Move symsrc prototypes to a separate headerArnaldo Carvalho de Melo1-0/+1
2019-08-31perf debug: Remove needless include directives from debug.hArnaldo Carvalho de Melo1-0/+1
2019-08-29perf tools: Remove perf.h from source files not needing itArnaldo Carvalho de Melo1-1/+0
2019-07-23perf probe: Avoid calling freeing routine multiple times for same pointerArnaldo Carvalho de Melo1-0/+10
2019-07-09tools lib: Adopt zalloc()/zfree() from tools/perfArnaldo Carvalho de Melo1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Thomas Gleixner1-15/+1
2019-01-25perf namespaces: Remove namespaces.h from .h headersArnaldo Carvalho de Melo1-0/+1
2018-06-04perf tools: No need to check if the argument to __get() function is NULLArnaldo Carvalho de Melo1-2/+1
2017-07-18perf buildid-cache: Support binary objects from other namespacesKrister Johansen1-1/+1
2017-07-18perf probe: Allow placing uprobes in alternate namespaces.Krister Johansen1-4/+39
2017-05-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2017-03-27perf tools: Remove unused 'prefix' from builtin functionsArnaldo Carvalho de Melo1-3/+3
2017-03-24treewide: Fix typos in printkMasanari Iida1-1/+1
2017-03-21perf probe: Return errno when not hitting any eventKefeng Wang1-3/+3
2017-02-08perf probe: Add option --symfsUwe Kleine-König1-0/+2
2016-09-01perf probe: Ignore vmlinux Build-id when offline vmlinux givenMasami Hiramatsu1-7/+8
2016-09-01perf probe: Ignore vmlinux buildid if offline kernel is givenMasami Hiramatsu1-1/+9
2016-09-01perf probe: Show trace event definitionMasami Hiramatsu1-7/+19
2016-07-13perf probe: Make --list show only available cached eventsMasami Hiramatsu1-1/+1
2016-07-12tools: Introduce str_error_r()Arnaldo Carvalho de Melo1-1/+1
2016-07-01perf probe: Remove caches when --cache is givenMasami Hiramatsu1-0/+29
2016-07-01perf probe: Show all cached probesMasami Hiramatsu1-1/+1
2016-06-23perf tools: Rename strlist_for_each() macros to for_each_entry()Arnaldo Carvalho de Melo1-2/+2
2016-06-15perf probe: Add --cache option to cache the probe definitionsMasami Hiramatsu1-0/+1
2015-12-17perf subcmd: Create subcmd libraryJosh Poimboeuf1-1/+1
2015-12-14perf tools: Make options always available, even if required libs not linkedWang Nan1-2/+13
2015-10-27perf tools: Introduce usage_with_options_msg()Namhyung Kim1-8/+12
2015-10-02perf probe: Allow probing on kmodules without dwarfMasami Hiramatsu1-5/+3
2015-09-21perf probe: Fix a segfault when removing uprobe eventsMasami Hiramatsu1-2/+5
2015-09-15perf probe: Export init/exit_probe_symbol_maps()Namhyung Kim1-0/+5
2015-09-14tools lib api fs: Replace debugfs/tracefs objects interface with fs.cJiri Olsa1-1/+0
2015-09-04perf probe: Print deleted events in cmd_probe()Namhyung Kim1-1/+61
2015-09-04perf probe: Move print logic into cmd_probe()Namhyung Kim1-1/+47
2015-07-06perf probe: Delete an unnecessary check before the function call "strfilter__...Markus Elfring1-2/+1
2015-05-12perf probe: Add --range option to show a variable's location rangeHe Kuang1-0/+2
2015-05-08perf probe: Add --no-inlines option to avoid searching inline functionsMasami Hiramatsu1-0/+2
2015-05-08perf probe: Introduce probe_conf global configsMasami Hiramatsu1-14/+7
2015-05-08perf probe: Use perf_probe_event.target instead of passing as an argumentMasami Hiramatsu1-1/+0
2015-05-08perf probe: Fix to return 0 when positive value returnedMasami Hiramatsu1-1/+1
2015-05-05perf probe: Cleanup and consolidate command parsersMasami Hiramatsu1-68/+42
2015-05-05perf probe: Remove redundant cleanup of params.filterMasami Hiramatsu1-6/+0
2015-05-05perf probe: Accept filter argument for --funcsMasami Hiramatsu1-5/+14
2015-05-05perf probe: Allow to use filter on --del commandMasami Hiramatsu1-10/+6
2015-05-04perf probe: Accept filter argument for --listMasami Hiramatsu1-24/+46
2015-05-04perf probe: Accept multiple filter optionsMasami Hiramatsu1-5/+9
2015-04-29perf probe: Make --funcs option exclusiveMasami Hiramatsu1-0/+2
2015-04-10perf probe: Check the orphaned -x optionMasami Hiramatsu1-0/+10
2015-04-10perf probe: Support multiple probes on different binariesMasami Hiramatsu1-2/+7
2014-10-29perf probe: Add --quiet option to suppress output result messageMasami Hiramatsu1-0/+11
2014-10-29perf probe: Use PARSE_OPT_EXCLUSIVE flagNamhyung Kim1-45/+9
2014-10-29perf probe: Trivial typo fix for --demangleMasami Hiramatsu1-1/+1
2014-09-17perf probe: Do not access kallsyms when analyzing user binariesMasami Hiramatsu1-1/+2
2014-09-17perf tools: Disable kernel symbol demangling by defaultAvi Kivity1-0/+2
2014-08-15perf probe: Make error messages thread-safeMasami Hiramatsu1-1/+4
2014-06-09perf probe: Show error code and description in verbose modeMasami Hiramatsu1-9/+14
2014-02-18perf probe: Replace line_list with intlistMasami Hiramatsu1-5/+7
2014-01-16perf probe: Release all dynamically allocated parametersMasami Hiramatsu1-5/+43
2013-12-26perf probe: Support basic dwarf-based operations on uprobe eventsMasami Hiramatsu1-1/+1
2013-12-26perf probe: Expand given path to absolute pathMasami Hiramatsu1-1/+14
2013-12-16tools/: Convert to new topic librariesBorislav Petkov1-1/+1
2013-11-14perf probe: Add '--demangle'/'--no-demangle'Azat Khuzhin1-0/+2
2013-10-09tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORTIngo Molnar1-7/+7
2013-03-15perf tools: Introduce tools/lib/lk libraryBorislav Petkov1-1/+1
2012-10-02perf probe: Don't use globals where not needed toArnaldo Carvalho de Melo1-14/+12
2012-09-11perf tools: Use __maybe_used for unused variablesIrina Tirdea1-12/+12
2012-05-11perf probe: Detect probe target when m/x options are absentSrikar Dronamraju1-3/+40
2012-05-11perf probe: Provide perf interface for uprobesSrikar Dronamraju1-6/+37
2012-02-02perf probe: Rename target_module to targetSrikar Dronamraju1-6/+6
2012-01-24perf tools: Fix broken build by defining _GNU_SOURCE in MakefileDavid Daney1-2/+0
2011-11-28perf tools: Eliminate duplicate code and use PATH_MAX consistentlyArnaldo Carvalho de Melo1-1/+0
2011-08-12perf probe: Warn when more than one line are givenMasami Hiramatsu1-3/+11
2011-07-15perf probe: Support adding probes on offline kernel modulesMasami Hiramatsu1-1/+2
2011-01-31perf probe: Use %td for pointer arithmetic resultArnaldo Carvalho de Melo1-1/+1
2011-01-28perf probe: Add filters support for available functionsMasami Hiramatsu1-6/+13
2011-01-28perf probe: Add variable filter supportMasami Hiramatsu1-0/+34
2011-01-24perf probe: Add --funcs to show available functions in symtabMasami Hiramatsu1-1/+28
2010-12-16perf probe: Fix use of kernel image path given by 'k' optionFranck Bui-Huu1-0/+5
2010-10-21perf probe: Add basic module supportMasami Hiramatsu1-3/+8
2010-10-21perf probe: Show accessible global variablesMasami Hiramatsu1-2/+6
2010-10-21perf probe: Function style fixMasami Hiramatsu1-2/+2
2010-10-21perf probe: Show accessible local variablesMasami Hiramatsu1-7/+54
2010-07-30perf probe: Rename common fields/functions from kprobe to probe.Srikar Dronamraju1-1/+0
2010-06-17perf probe: Add kernel source path optionChase Douglas1-0/+2
2010-05-18perf probe: Don't call die()Arnaldo Carvalho de Melo1-3/+7
2010-04-26perf probe: Add --max-probes optionMasami Hiramatsu1-1/+8
2010-04-14perf probe: Fix to use correct debugfs path finderMasami Hiramatsu1-4/+0
2010-04-14perf probe: Remove die() from probe-event codeMasami Hiramatsu1-22/+48
2010-04-14perf probe: Support argument nameMasami Hiramatsu1-2/+2
2010-04-14perf: Fix endianness argument compatibility with OPT_BOOLEAN() and introduce ...Ian Munsie1-1/+1
2010-04-02perf probe: Fix --line syntax help and documentMasami Hiramatsu1-1/+1
2010-03-22perf probe: Cleanup debuginfo related codeMasami Hiramatsu1-15/+13
2010-03-17perf probe: Introduce kprobe_trace_event and perf_probe_eventMasami Hiramatsu1-16/+14
2010-03-17perf probe: Add --dry-run optionMasami Hiramatsu1-0/+1
2010-03-17perf probe: Rename session to paramMasami Hiramatsu1-27/+27
2010-03-17perf probe: Move add-probe routine to util/Masami Hiramatsu1-123/+3
2010-03-17perf probe: Use wrapper functionsMasami Hiramatsu1-3/+1
2010-03-13perf probe: Fix probe_point buffer overrunMasami Hiramatsu1-1/+0
2010-03-04perf probe: Correct probe syntax on command line helpMasami Hiramatsu1-1/+1
2010-02-25perf probe: Add lazy line matching supportMasami Hiramatsu1-5/+7
2010-02-25perf probe: Use elfutils-libdw for analyzing debuginfoMasami Hiramatsu1-11/+11
2010-02-25perf probe: Rename probe finder functionsMasami Hiramatsu1-1/+1
2010-02-25perf probe: Do not show --line option without dwarf supportMasami Hiramatsu1-0/+2
2010-02-04perf probe: Don't use a perf_session instance just to resolve symbolsArnaldo Carvalho de Melo1-13/+13
2010-02-04perf symbols: Remove perf_session usage in symbols layerArnaldo Carvalho de Melo1-3/+2
2010-01-17perf probe: Fix build error of builtin-probe.cHitoshi Mitake1-9/+10
2010-01-13perf probe: Support --line option to show probable source-code linesMasami Hiramatsu1-13/+63
2010-01-13perf session: Keep pointers to the vmlinux mapsArnaldo Carvalho de Melo1-3/+1
2009-12-17perf probe: Check whether debugfs path is correctMasami Hiramatsu1-0/+4
2009-12-16perf symbols: Make symbol_conf globalArnaldo Carvalho de Melo1-8/+6
2009-12-15perf probe: Fix to show which probe point is not foundMasami Hiramatsu1-2/+5
2009-12-15perf probe: Check symbols in symtab/kallsymsMasami Hiramatsu1-10/+22
2009-12-15perf probe: Check build-id of vmlinuxMasami Hiramatsu1-42/+30
2009-12-15perf probe: Reject second attempt of adding same-name eventMasami Hiramatsu1-1/+5
2009-12-15perf probe: Support event name for --add optionMasami Hiramatsu1-4/+4
2009-12-15perf probe: Show need-dwarf message only if it is really neededMasami Hiramatsu1-7/+11
2009-12-15perf probe: Check hyphen only argumentMasami Hiramatsu1-1/+6
2009-12-15perf probe: Cleanup struct session in builtin-probe.cMasami Hiramatsu1-6/+7
2009-12-09perf probe: Support --del optionMasami Hiramatsu1-3/+30
2009-12-09perf probe: Support vmlinux on cwd by defaultMasami Hiramatsu1-4/+6
2009-12-09perf probe: Fix add-probe command syntax without --add optionMasami Hiramatsu1-7/+26
2009-12-07perf probe: Use pr_debug for debug messageMasami Hiramatsu1-2/+2
2009-12-02perf_event: Fix compile errorXiao Guangrong1-1/+4
2009-12-01perf probe: Add --list option for listing current probe eventsMasami Hiramatsu1-1/+11
2009-12-01perf probe: Move probe event utility functions to probe-event.cMasami Hiramatsu1-218/+9
2009-12-01perf probe: Fix probe array index for multiple probe pointsMasami Hiramatsu1-1/+1
2009-12-01perf probe: Fix argv array size in probe parserMasami Hiramatsu1-4/+7
2009-12-01perf probe: Change a debugging message from pr_info to pr_debugMasami Hiramatsu1-1/+1
2009-11-24perf tools: Introduce zalloc() for the common calloc(1, N) caseArnaldo Carvalho de Melo1-2/+2
2009-11-04perf/probes: Rename perf probe events group nameMasami Hiramatsu1-1/+1
2009-11-04perf/probes: Fall back to non-dwarf if possibleMasami Hiramatsu1-28/+36
2009-11-04perf/probes: Improve error messagesMasami Hiramatsu1-7/+13
2009-11-03perf probe: Annotate variable initializationArnaldo Carvalho de Melo1-1/+1
2009-10-29perf/probes: Support function entry relative line numberMasami Hiramatsu1-7/+7
2009-10-29perf/probes: Improve probe point syntax of perf-probeMasami Hiramatsu1-70/+111
2009-10-29perf/probes: Improve command-line option of perf-probeMasami Hiramatsu1-10/+18
2009-10-23perf probe: Print debug messages using pr_*()Arnaldo Carvalho de Melo1-10/+10
2009-10-17perf: Use eprintf() for debug messages in perf-probeMasami Hiramatsu1-9/+14
2009-10-17perf: Use die() for error cases in perf-probeMasami Hiramatsu1-33/+14
2009-10-12perf probe: Add perf probe command support without libdwarfMasami Hiramatsu1-7/+35
2009-10-12perf: Add perf probe subcommand, a kprobe-event setup helperMasami Hiramatsu1-0/+358