aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tracing
AgeCommit message (Expand)AuthorFilesLines
2026-04-15Merge tag 'trace-rtla-v7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds28-401/+720
2026-03-30rtla: Fix build without libbpf headerTomas Glozar1-1/+0
2026-03-20rtla: Fix segfault on multiple SIGINTsTomas Glozar1-1/+15
2026-03-11rtla/utils: Fix loop condition in PID validationWander Lairson Costa1-1/+1
2026-03-11rtla/utils: Fix resource leak in set_comm_sched_attr()Wander Lairson Costa1-5/+6
2026-03-11rtla/trace: Fix I/O handling in save_trace_to_file()Wander Lairson Costa1-7/+24
2026-03-11rtla/trace: Fix write loop in trace_event_save_hist()Wander Lairson Costa1-3/+11
2026-03-11rtla/timerlat: Simplify RTLA_NO_BPF environment variable checkWander Lairson Costa1-1/+2
2026-03-11rtla: Use str_has_prefix() for option prefix checkWander Lairson Costa2-2/+2
2026-03-11rtla: Enforce exact match for time unit suffixesWander Lairson Costa1-4/+19
2026-03-11rtla: Use str_has_prefix() for prefix checksWander Lairson Costa2-5/+3
2026-03-11rtla: Add str_has_prefix() helper functionWander Lairson Costa1-0/+13
2026-03-11rtla: Handle pthread_create() failure properlyWander Lairson Costa1-1/+3
2026-03-11rtla/timerlat: Add bounds check for softirq vectorWander Lairson Costa1-2/+2
2026-03-10rtla: Simplify code by caching string lengthsWander Lairson Costa2-6/+11
2026-03-10rtla: Replace magic number with MAX_PATHWander Lairson Costa3-13/+13
2026-03-10rtla: Introduce common_threshold_handler() helperWander Lairson Costa4-44/+86
2026-03-10rtla/actions: Simplify argument parsingWander Lairson Costa2-15/+52
2026-03-10rtla: Use strdup() to simplify codeWander Lairson Costa1-4/+2
2026-03-10rtla: Exit on memory allocation failures during initializationWander Lairson Costa11-132/+108
2026-03-09tools/rtla: Remove unneeded nr_cpus from for_each_monitored_cpuCosta Shulyupin6-21/+20
2026-03-09tools/rtla: Remove unneeded nr_cpus membersCosta Shulyupin5-50/+38
2026-03-09tools/rtla: Remove unneeded nr_cpus argumentsCosta Shulyupin7-51/+34
2026-03-09tools/rtla: Consolidate nr_cpus usage across all toolsCosta Shulyupin12-60/+29
2026-03-04rtla/timerlat: Add --stack-format optionTomas Glozar8-9/+77
2026-03-04tools/rtla: Add unit tests for utils.cCosta Shulyupin7-0/+157
2026-03-02tools/rtla: Generate optstring from long optionsCosta Shulyupin6-9/+37
2026-01-13rtla: Fix parse_cpu_set() bug introduced by strtoi()Costa Shulyupin1-6/+4
2026-01-07rtla: Fix parse_cpu_set() return value documentationWander Lairson Costa1-1/+1
2026-01-07rtla: Ensure null termination after read operations in utils.cWander Lairson Costa1-0/+3
2026-01-07rtla: Make stop_tracing variable volatileWander Lairson Costa2-2/+2
2026-01-07rtla: Add generated output files to gitignoreWander Lairson Costa1-0/+4
2026-01-07rtla: Fix NULL pointer dereference in actions_parseWander Lairson Costa1-0/+2
2026-01-07rtla: Remove unused headersWander Lairson Costa4-4/+0
2026-01-07rtla: Remove redundant memset after callocWander Lairson Costa1-2/+0
2026-01-07rtla: Use standard exit codes for result enumWander Lairson Costa1-3/+4
2026-01-07rtla: Replace atoi() with a robust strtoi()Wander Lairson Costa3-8/+41
2026-01-07rtla: Introduce for_each_action() helperWander Lairson Costa2-2/+9
2026-01-07tools/rtla: Deduplicate cgroup path opening codeCosta Shulyupin1-33/+32
2026-01-07tools/rtla: Consolidate -H/--house-keeping option parsingCosta Shulyupin5-33/+11
2026-01-07tools/rtla: Consolidate -P/--priority option parsingCosta Shulyupin5-33/+11
2026-01-07tools/rtla: Consolidate -e/--event option parsingCosta Shulyupin5-52/+16
2026-01-07tools/rtla: Consolidate -d/--duration option parsingCosta Shulyupin5-29/+11
2026-01-07tools/rtla: Consolidate -D/--debug option parsingCosta Shulyupin5-21/+9
2026-01-07tools/rtla: Consolidate -C/--cgroup option parsingCosta Shulyupin5-25/+10
2026-01-07tools/rtla: Consolidate -c/--cpus option parsingCosta Shulyupin5-33/+11
2026-01-07tools/rtla: Add common_parse_options()Costa Shulyupin6-0/+48
2026-01-07rtla/tests: Run Test::Harness in verbose modeTomas Glozar2-2/+1
2026-01-07rtla/tests: Test BPF action programTomas Glozar3-2/+48
2026-01-07rtla/timerlat: Add example for BPF action programTomas Glozar3-1/+24
2026-01-07rtla/timerlat: Add --bpf-action optionTomas Glozar6-2/+80
2026-01-07rtla/timerlat: Support tail call from BPF programTomas Glozar3-4/+35
2026-01-07tools/rtla: Add common_usage()Costa Shulyupin6-64/+81
2026-01-07rtla: Set stop threshold after all instances are enabledCrystal Wood5-37/+38
2026-01-06tools/rtla: Remove unused function declarationsCosta Shulyupin2-4/+0
2025-12-05Merge tag 'trace-tools-v6.19' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds14-372/+246
2025-11-21rtla/timerlat: Exit top main loop on any non-zero wait_retvalCrystal Wood1-1/+1
2025-11-21rtla/tests: Don't rely on matching ^1ALLCrystal Wood1-1/+1
2025-11-21rtla: Fix -a overriding -t argumentIvan Pravdin4-4/+8
2025-11-21rtla: Fix -C/--cgroup interfaceIvan Pravdin6-76/+55
2025-11-21tools/rtla: Replace osnoise_hist_usage("...") with fatal("...")Costa Shulyupin1-19/+13
2025-11-21tools/rtla: Replace osnoise_top_usage("...") with fatal("...")Costa Shulyupin1-16/+10
2025-11-21tools/rtla: Replace timerlat_hist_usage("...") with fatal("...")Costa Shulyupin1-19/+13
2025-11-21tools/rtla: Replace timerlat_top_usage("...") with fatal("...")Costa Shulyupin1-17/+11
2025-11-21tools/rtla: Add fatal() and replace error handling patternCosta Shulyupin7-129/+81
2025-11-21rtla/tests: Fix osnoise test calling timerlatTomas Glozar1-1/+1
2025-11-21rtla/tests: Extend action tests to 5sTomas Glozar2-4/+4
2025-11-20tools/rtla: Fix --on-threshold always triggeringTomas Glozar1-9/+15
2025-11-20rtla/timerlat_bpf: Stop tracing on user latencyTomas Glozar1-0/+3
2025-11-20tools/rtla: Fix unassigned nr_cpusCosta Shulyupin2-2/+3
2025-11-20tools/rtla: Remove unused optional option_indexCosta Shulyupin4-16/+4
2025-11-20tools/rtla: Add for_each_monitored_cpu() helperCosta Shulyupin6-58/+23
2025-11-07tracing/tools: Fix incorrcet short option in usage text for --threadsZhang Chujun1-1/+1
2025-10-05Merge tag 'trace-tools-v6.18' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds18-1647/+1306
2025-09-27rtla/actions: Fix condition for buffer reallocationWander Lairson Costa1-1/+1
2025-09-27rtla: Fix buffer overflow in actions_parseIvan Pravdin1-1/+1
2025-09-27tools/rtla: Add remaining support for osnoise actionsCrystal Wood7-10/+79
2025-09-27tools/rtla: Add test engine support for unexpected outputCrystal Wood1-8/+18
2025-09-27tools/rtla: Fix -A option name in test commentCrystal Wood1-2/+2
2025-09-27tools/rtla: Consolidate code between osnoise/timerlat and hist/topCrystal Wood12-1194/+792
2025-09-27tools/rtla: Create common_apply_config()Crystal Wood9-150/+142
2025-09-27tools/rtla: Move top/hist params into common structCrystal Wood8-163/+152
2025-09-27tools/rtla: Consolidate common parameters into shared structureCosta Shulyupin10-252/+253
2025-08-19rtla: Check pkg-config installTao Chen1-0/+8
2025-08-19tools/latency-collector: Check pkg-config installTao Chen1-0/+8
2025-07-28rtla/tests: Test timerlat -P option using actionsTomas Glozar3-2/+11
2025-07-28rtla/tests: Add grep checks for base test casesTomas Glozar3-13/+16
2025-07-25rtla/tests: Limit duration to maximum of 10sTomas Glozar3-10/+10
2025-07-25rtla/tests: Add tests for actionsTomas Glozar1-0/+28
2025-07-25rtla/tests: Check rtla output with grepTomas Glozar1-4/+17
2025-07-25rtla/timerlat: Add action on end featureTomas Glozar3-29/+65
2025-07-25rtla/timerlat: Add continue actionTomas Glozar4-29/+100
2025-07-25rtla/timerlat_bpf: Allow resuming tracingTomas Glozar3-4/+25
2025-07-25rtla/timerlat: Add action on threshold featureTomas Glozar6-22/+341
2025-07-25rtla/timerlat: Introduce enum timerlat_tracing_modeTomas Glozar4-53/+97
2025-05-29Merge tag 'trace-tools-v6.16' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds11-21/+37
2025-05-07rtla: Define _GNU_SOURCE in timerlat_bpf.cTomas Glozar1-0/+1
2025-05-07rtla: Define __NR_sched_setattr for LoongArchTiezhu Yang1-0/+2
2025-05-07rtla: Set distinctive exit value for failed testsCosta Shulyupin9-21/+34
2025-04-14Documentation/rtla: Include BPF sample collectionTomas Glozar1-0/+7
2025-03-27Merge tag 'trace-tools-v6.15' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds21-622/+1305
2025-03-26rtla: Add the ability to create ctags and etagsJohn Kacur1-2/+15
2025-03-26rtla/tests: Test setting default optionsTomas Glozar2-0/+32
2025-03-26rtla/tests: Reset osnoise options before checkTomas Glozar1-0/+40
2025-03-26rtla: Always set all tracer optionsTomas Glozar2-59/+56
2025-03-26rtla/osnoise: Set OSNOISE_WORKLOAD to trueTomas Glozar1-0/+6
2025-03-26rtla: Unify apply_config between top and histTomas Glozar8-334/+227
2025-03-26rtla/osnoise: Unify params structTomas Glozar5-87/+68
2025-03-26rtla: Fix segfault in save_trace_to_file callTomas Glozar5-5/+9
2025-03-26tools/build: Use SYSTEM_BPFTOOL for system bpftoolTomas Glozar1-1/+1
2025-03-04rtla: Refactor save_trace_to_fileCosta Shulyupin5-16/+8
2025-03-04rtla/timerlat: Test BPF modeTomas Glozar1-0/+14
2025-03-04rtla/timerlat_top: Use BPF to collect samplesTomas Glozar1-40/+215
2025-03-04rtla/timerlat_top: Move divisor to updateTomas Glozar1-29/+25
2025-03-04rtla/timerlat_hist: Use BPF to collect samplesTomas Glozar1-20/+145
2025-03-04rtla/timerlat: Add BPF skeleton to collect samplesTomas Glozar6-1/+389
2025-03-04rtla: Add optional dependency on BPF toolingTomas Glozar2-0/+48
2025-03-04rtla/timerlat: Unify params structTomas Glozar5-99/+78
2025-02-25Merge tag 'perf-tools-fixes-for-v6.14-2-2025-02-25' of git://git.kernel.org/p...Linus Torvalds2-12/+0
2025-02-18tools: Remove redundant quiet setupCharlie Jenkins2-12/+0
2025-01-26Merge tag 'trace-tools-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds13-43/+272
2025-01-24rtla: Report missed event countTomas Glozar4-0/+4
2025-01-24rtla: Add function to report missed eventsTomas Glozar2-0/+21
2025-01-24rtla: Count all processed eventsTomas Glozar2-0/+5
2025-01-24rtla: Count missed trace eventsTomas Glozar2-0/+35
2025-01-24tools/rtla: Add osnoise_trace_is_off()Costa Shulyupin8-29/+26
2025-01-24rtla/timerlat_top: Set OSNOISE_WORKLOAD for kernel threadsTomas Glozar1-6/+9
2025-01-24rtla/timerlat_hist: Set OSNOISE_WORKLOAD for kernel threadsTomas Glozar1-6/+9
2025-01-24rtla/osnoise: Distinguish missing workload optionTomas Glozar1-1/+1
2025-01-24rtla/timerlat_top: Abort event processing on second signalTomas Glozar1-0/+8
2025-01-24rtla/timerlat_hist: Abort event processing on second signalTomas Glozar1-0/+8
2025-01-24rtla/timerlat_top: Stop timerlat tracer on signalTomas Glozar1-1/+11
2025-01-24rtla/timerlat_hist: Stop timerlat tracer on signalTomas Glozar1-1/+10
2025-01-24rtla: Add trace_instance_stopTomas Glozar2-0/+9
2025-01-23tools/rtla: Add basic test suiteTomas Glozar5-1/+118
2024-12-27rtla/timerlat: Fix histogram ALL for zero samplesTomas Glozar1-81/+96
2024-11-22Merge tag 'trace-tools-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds9-66/+327
2024-11-19tools/rtla: Improve exception handling in timerlat_load.pyfurkanonder1-16/+21
2024-11-19tools/rtla: Enhance argument parsing in timerlat_load.pyfurkanonder1-5/+4
2024-11-19tools/rtla: Improve code readability in timerlat_load.pyfurkanonder1-5/+5
2024-11-19rtla/timerlat: Do not set params->user_workload with -UTomas Glozar2-2/+2
2024-10-17rtla: Documentation: Mention --deepest-idle-stateTomas Glozar1-0/+4
2024-10-17rtla/timerlat: Add --deepest-idle-state for histTomas Glozar1-1/+41
2024-10-17rtla/timerlat: Add --deepest-idle-state for topTomas Glozar1-1/+41
2024-10-17rtla/utils: Add idle state disabling via libcpupowerTomas Glozar2-0/+163
2024-10-17rtla: Add optional dependency on libcpupowerTomas Glozar2-0/+12
2024-10-11rtla/timerlat: Make timerlat_hist_cpu->*_count unsigned long longTomas Glozar1-9/+9
2024-10-11rtla/timerlat: Make timerlat_top_cpu->*_count unsigned long longTomas Glozar1-4/+4
2024-10-10tools/rtla: fix collision with glibc sched_attr/sched_set_attrJan Stancek2-2/+4
2024-10-10tools/rtla: drop __NR_sched_getattrJan Stancek1-18/+14
2024-10-04rtla: Fix consistency in getopt_long for timerlat_histGabriele Monaco1-1/+1
2024-10-04rtla: use the definition for stdout fd when calling isatty()Eder Zulian2-2/+2
2024-10-03rtla: Fix the help text in osnoise and timerlat top toolsEder Zulian2-3/+3
2024-10-03tools/rtla: Fix installation from out-of-tree buildBen Hutchings1-1/+1
2024-08-09rtla/osnoise: Prevent NULL dereference in error handlingDan Carpenter1-7/+4
2024-07-23Merge tag 'perf-tools-fixes-for-v6.11-2024-07-23' of git://git.kernel.org/pub...Linus Torvalds2-2/+4
2024-07-17tools/latency: Use pkg-config in lib_setup of Makefile.configGuilherme Amadio1-1/+2
2024-07-17tools/rtla: Use pkg-config in lib_setup of Makefile.configGuilherme Amadio1-1/+2
2024-06-21rtla/osnoise: Better report when histogram is emptyLuis Claudio R. Goncalves1-0/+15
2024-06-21rtla/osnoise: Use pretty formatting only on interactive ttyLuis Claudio R. Goncalves1-4/+15
2024-05-23tools/latency-collector: Fix -Wformat-security compile warnsShuah Khan1-4/+4
2024-05-16rtla: Fix -t\--trace[=file]John Kacur4-20/+36
2024-05-16rtla/timerlat: Fix histogram report when a cpu count is 0John Kacur1-18/+42
2024-05-16rtla: Add --trace-buffer-size optionDaniel Bristot de Oliveira7-5/+68
2024-05-15rtla/timerlat: Make user-space threads the defaultDaniel Bristot de Oliveira2-6/+56
2024-05-15rtla: Add the --warm-up optionDaniel Bristot de Oliveira4-40/+115
2024-05-15rtla/timerlat: Add a summary for hist modeDaniel Bristot de Oliveira1-1/+129
2024-05-15rtla/timerlat: Add a summary for top modeDaniel Bristot de Oliveira1-0/+108
2024-05-15rtla/timerlat: Use pretty formatting only on interactive ttyDaniel Bristot de Oliveira1-7/+18
2024-05-15rtla/auto-analysis: Replace \t with spacesDaniel Bristot de Oliveira1-46/+63
2024-05-15rtla/timerlat: Simplify "no value" printing on topDaniel Bristot de Oliveira1-12/+5
2024-03-20tools/rtla: Add -U/--user-load option to timerlatDaniel Bristot de Oliveira3-9/+95
2024-03-20tools/rtla: Use tools/build makefiles to build rtlaDaniel Bristot de Oliveira7-133/+232
2024-03-20tools/tracing: Use tools/build makefiles on latency-collectorDaniel Bristot de Oliveira4-19/+122
2024-02-12tools/rtla: Exit with EXIT_SUCCESS when help is invokedJohn Kacur4-4/+20
2024-02-12tools/rtla: Replace setting prio with nice for SCHED_OTHERlimingming32-3/+5
2024-02-12tools/rtla: Remove unused sched_getattr() functionDaniel Bristot de Oliveira1-6/+0
2024-02-12tools/rtla: Fix clang warning about mount_point var sizeDaniel Bristot de Oliveira1-1/+1
2024-02-12tools/rtla: Fix uninitialized bucket/data->bucket_size warningDaniel Bristot de Oliveira2-4/+2
2024-02-12tools/rtla: Fix Makefile compiler options for clangDaniel Bristot de Oliveira1-1/+6
2023-10-30rtla: Fix uninitialized variable foundColin Ian King1-1/+1
2023-09-22rtla/timerlat: Do not stop user-space if a cpu is offlineDaniel Bristot de Oliveira1-2/+4
2023-09-12rtla/timerlat_aa: Fix previous IRQ delay for IRQs that happens after thread s...Daniel Bristot de Oliveira1-5/+8
2023-09-12rtla/timerlat_aa: Fix negative IRQ delayDaniel Bristot de Oliveira1-1/+17
2023-09-12rtla/timerlat_aa: Zero thread sum after every sample analysisDaniel Bristot de Oliveira1-0/+1
2023-06-13rtla/timerlat_hist: Add timerlat user-space supportDaniel Bristot de Oliveira1-11/+118
2023-06-13rtla/timerlat_top: Add timerlat user-space supportDaniel Bristot de Oliveira7-6/+474
2023-06-13rtla/hwnoise: Reduce runtime to 75%Daniel Bristot de Oliveira1-1/+7
2023-06-13rtla: Start the tracers after creating all instancesDaniel Bristot de Oliveira4-17/+46
2023-06-13rtla/timerlat_hist: Add auto-analysis supportDaniel Bristot de Oliveira1-2/+49
2023-06-13rtla/timerlat: Give timerlat auto analysis its own instanceDaniel Bristot de Oliveira3-21/+67
2023-06-13rtla: Automatically move rtla to a house-keeping cpuDaniel Bristot de Oliveira6-0/+87
2023-06-13rtla: Change monitored_cpus from char * to cpu_set_tDaniel Bristot de Oliveira5-87/+24
2023-06-13rtla: Add --house-keeping optionDaniel Bristot de Oliveira6-9/+162
2023-06-13rtla: Add -C cgroup supportDaniel Bristot de Oliveira6-9/+282
2023-04-25rtla/timerlat: Fix "Previous IRQ" auto analysis' lineDaniel Bristot de Oliveira1-1/+1
2023-04-25rtla/timerlat: Add auto-analysis only optionDaniel Bristot de Oliveira1-5/+44
2023-04-25rtla: Add .gitignore fileRong Tao1-0/+1
2023-02-23Merge tag 'trace-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-1/+1
2023-02-18tracing: Always use canonical ftrace pathRoss Zwisler1-1/+1