summaryrefslogtreecommitdiffstats
path: root/tools/lib/subcmd
AgeCommit message (Expand)AuthorLines
2025-09-12perf subcmd: avoid crash in exclude_cmds when excludes is emptyhupu-0/+3
2025-07-22tools subcmd: Tighten the filename size in check_if_command_finishedIan Rogers-2/+13
2025-07-02perf tools: Fix use-after-free in help_unknown_cmd()Namhyung Kim-5/+7
2024-11-26Merge tag 'perf-tools-for-v6.13-2024-11-24' of git://git.kernel.org/pub/scm/l...Linus Torvalds-1/+34
2024-11-13libsubcmd: Move va_end() before exitLuo Yifan-1/+1
2024-10-28tools subcmd: Add non-waitpid check_if_command_finished()Ian Rogers-0/+33
2024-10-23libsubcmd: Silence compiler warningEder Zulian-1/+1
2024-09-11tools: Drop nonsensical -O6Sam James-3/+1
2024-09-04libsubcmd: Don't free the usage stringAditya Gupta-5/+3
2024-08-05tools build: Correct libsubcmd fixdep dependenciesBrian Norris-1/+1
2024-05-12tools lib subcmd: Show parent options in helpNamhyung Kim-12/+24
2024-05-10libsubcmd: Fix parse-options memory leakIan Rogers-3/+5
2024-04-08tools subcmd: Add check_if_command_finished()Ian Rogers-24/+49
2024-02-22tools subcmd: Add a no exec function call optionIan Rogers-0/+4
2024-01-04libsubcmd: Fix memory leak in uniq()Ian Rogers-4/+14
2023-07-11libsubcmd: Avoid SEGV/use-after-free when commands aren't excludedIan Rogers-6/+12
2023-06-30Merge tag 'perf-tools-for-v6.5-1-2023-06-28' of git://git.kernel.org/pub/scm/...Linus Torvalds-17/+28
2023-06-20perf subcmd: Fix missing check for return value of malloc() in add_cmdname()Chenyuan Mi-0/+2
2023-06-12lib subcmd: Avoid memory leak in exclude_cmdsIan Rogers-2/+6
2023-05-28libsubcmd: Avoid two path statics, removing 8192 bytes from .bssIan Rogers-15/+20
2023-05-16tools/lib/subcmd: Replace NORETURN usage with __noreturnJosh Poimboeuf-9/+4
2022-12-14tools lib subcmd: Add dependency test to install_headersIan Rogers-10/+13
2022-11-20tools lib subcmd: Make install_headers clearerIan Rogers-1/+1
2022-11-16tools lib subcmd: Add install targetIan Rogers-0/+49
2022-10-04perf subcmd: Set environment variable "PREFIX"Leo Yan-0/+3
2022-04-22libsubcmd: Fix OPTION_GROUP sortingJosh Poimboeuf-3/+14
2022-03-31Merge tag 'kbuild-v5.18-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds-1/+1
2022-02-16libsubcmd: Fix use-after-free for realloc(..., 0)Kees Cook-9/+2
2022-02-15kbuild: replace $(if A,A,B) with $(or A,B)Masahiro Yamada-1/+1
2021-08-31libsubcmd: add OPT_UINTEGER_OPTARG option typeRiccardo Mancini-0/+1
2020-10-02tools: Avoid comma separated statementsJoe Perches-4/+6
2020-07-17libsubcmd: Fix OPT_CALLBACK_SET()Ravi Bangoria-0/+3
2020-05-05libsubcmd: Introduce OPT_CALLBACK_SET()Arnaldo Carvalho de Melo-0/+2
2019-11-06libsubcmd: Use -O0 with DEBUG=1James Clark-1/+3
2019-11-06libsubcmd: Move EXTRA_FLAGS to the end to allow overriding existing flagsJames Clark-2/+3
2019-09-27libsubcmd: Make _FORTIFY_SOURCE defines dependent on the featureIan Rogers-1/+7
2018-12-18tools lib subcmd: Don't add the kernel sources to the include pathArnaldo Carvalho de Melo-2/+0
2018-12-17tools lib subcmd: Fix a few source code comment typosIngo Molnar-2/+2
2018-10-19tools lib subcmd: Introduce OPTION_ULONGArnaldo Carvalho de Melo-0/+21
2018-09-19tools lib subcmd: Support overwriting the pagerAndi Kleen-1/+11
2018-04-18perf tools: Add '\n' at the end of parse-options error messagesRavi Bangoria-3/+3
2018-02-06tools/lib/subcmd/pager.c: do not alias select() paramsSergey Senozhatsky-1/+4
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman-0/+16
2017-08-28perf tools: Robustify detection of clang binaryDavid Carrillo-Cisneros-1/+1
2017-07-20tools include: Adopt strstarts() from the kernelArnaldo Carvalho de Melo-10/+10
2017-04-26tools lib string: Adopt prefixcmp() from perf and subcmdArnaldo Carvalho de Melo-9/+2
2017-04-24perf tools: Remove string.h, unistd.h and sys/stat.h from util.hArnaldo Carvalho de Melo-0/+1
2017-02-14tools lib subcmd: Make it an error to pass a signed value to OPTION_UINTEGERArnaldo Carvalho de Melo-0/+4
2017-02-14tools: Set the maximum optimization level according to the compiler being usedArnaldo Carvalho de Melo-1/+7
2017-01-16tools lib subcmd: Fix missing member nameSoramichi AKIYAMA-9/+9