-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The osnoise tool is the interface for the osnoise tracer. The osnoise tool will have multiple "modes" with different outputs. At this point, no mode is included. The osnoise.c includes the osnoise_context abstraction. It serves to read-save-change-restore the default values from tracing/osnoise/ directory. When the context is deleted, the default values are restored. It also includes some other helper functions for managing osnoise tracer sessions. With these bits and pieces in place, we can start adding some functionality to rtla. Link: https://lkml.kernel.org/r/2d44c21ff561f503b4c7b1813892761818118460.1639158831.git.bristot@kernel.org Cc: Tao Zhou <tao.zhou@linux.dev> Cc: Ingo Molnar <mingo@redhat.com> Cc: Tom Zanussi <zanussi@kernel.org> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Juri Lelli <juri.lelli@redhat.com> Cc: Clark Williams <williams@redhat.com> Cc: John Kacur <jkacur@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Daniel Bristot de Oliveira <bristot@kernel.org> Cc: linux-rt-users@vger.kernel.org Cc: linux-trace-devel@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
- x86_vmware_for_v6.0_rc1
- x86_vdso_for_v6.3_rc1
- x86_vdso_for_v5.19_rc1
- x86_urgent_for_6.4-rc4
- x86_urgent_for_v6.4_rc6
- x86_urgent_for_v6.4_rc2
- x86_urgent_for_v6.3
- x86_urgent_for_v6.3_rc7
- x86_urgent_for_v6.3_rc6
- x86_urgent_for_v6.3_rc4
- x86_urgent_for_v6.3_rc3
- x86_urgent_for_v6.3_rc2
- x86_urgent_for_v6.2_rc7
- x86_urgent_for_v6.2_rc6
- x86_urgent_for_v6.2_rc4
- x86_urgent_for_v6.2_rc2
- x86_urgent_for_v6.1_rc7
- x86_urgent_for_v6.1_rc6
- x86_urgent_for_v6.1_rc4
- x86_urgent_for_v6.0
- x86_urgent_for_v6.0_rc2
- x86_urgent_for_v6.0-rc8
- x86_urgent_for_v5.19
- x86_urgent_for_v5.19_rc8
- x86_urgent_for_v5.19_rc7
- x86_urgent_for_v5.19_rc6
- x86_urgent_for_v5.18_rc5
- x86_urgent_for_v5.18_rc2
- x86_urgent_for_v5.17_rc8
- x86_urgent_for_v5.17_rc5
- x86_urgent_for_v5.17_rc4
- x86_urgent_for_v5.17_rc2
- x86_timers_for_v6.1_rc1
- x86_tdx_for_6.4
- x86_tdx_for_6.3
- x86_tdx_for_6.2
- x86_tdx_for_v5.19_rc1
- x86_splitlock_for_6.2
- x86_splitlock_for_v5.19_rc1
- x86_shstk_for_6.4
- x86_sgx_for_6.2
- x86_sgx_for_v6.1_rc1
- x86_sgx_for_v6.0-2022-08-03.1
- x86_sgx_for_v5.18_rc1
- x86_sev_for_v6.4_rc1
- x86_sev_for_v6.2
- x86_sev_for_v5.19_rc1
- x86_sev_for_v5.18_rc1
- x86_platform_for_v6.1_rc1
- x86_platform_for_v5.19_rc1
- x86_paravirt_for_v6.4_rc1
- x86_paravirt_for_v6.2
- x86_paravirt_for_v6.1_rc1
- x86_paravirt_for_v5.18_rc1
- x86_mm_for_6.4
- x86_mm_for_6.2_v2
- x86_mm_for_v6.1_rc1
- x86_mm_for_v6.0_rc1
- x86_mm_for_v5.19_rc1
- x86_misc_for_v6.4_rc1
- x86_misc_for_v6.1_rc1
- x86_misc_for_v6.0_rc1
- x86_misc_for_v5.19_rc1
- x86_misc_for_v5.18_rc1
- x86_microcode_for_v6.3_rc1
- x86_microcode_for_v6.2
- x86_microcode_for_v6.1_rc1
- x86_microcode_for_v5.19_rc1
- x86_kdump_for_v6.0_rc1
- x86_kdump_for_v5.19_rc1
- x86_fpu_for_6.4
- x86_fpu_for_6.2
- x86_fpu_for_v6.0_rc1
- x86_fpu_for_v5.19_rc1
- x86_cpu_for_v6.4_rc1
- x86_cpu_for_v6.3_rc1
- x86_cpu_for_v6.2
- x86_cpu_for_v6.1_rc1
- x86_cpu_for_v6.0_rc1
- x86_cpu_for_v5.19_rc1
- x86_cpu_for_v5.18_rc1
- x86_core_for_5.18_rc1
- x86_core_for_v6.2
- x86_core_for_v6.1_rc1
- x86_core_for_v6.0_rc1
- x86_core_for_v5.19_rc1
- x86_cleanups_for_v6.4_rc1
- x86_cleanups_for_v6.1_rc1
- x86_cleanups_for_v6.0_rc1
- x86_cleanups_for_v5.19_rc1
- x86_cleanups_for_v5.18_rc1
- x86_cc_for_v5.18_rc1
- x86_cache_for_6.4
- x86_cache_for_6.2
- x86_cache_for_v6.3_rc1
- x86_cache_for_v6.1_rc1
- x86_build_for_v6.0_rc1
- x86_build_for_v5.19_rc1
- x86_build_for_v5.18_rc1
- x86_boot_for_v6.2
- x86_asm_for_v6.2
- x86_asm_for_v6.1_rc1
- x86_asm_for_v5.19_rc1
- x86_apic_for_v6.1_rc1
- x86_apic_for_v5.19_rc1
- x86_alternatives_for_v6.3_rc1
- x86_alternatives_for_v6.2
- x86_acpi_for_v6.4_rc1
- x86-urgent-2023-05-28
- x86-urgent-2023-03-05
- x86-urgent-2023-02-19
- x86-urgent-2023-02-11
- x86-urgent-2023-01-04
- x86-urgent-2022-12-12
- x86-urgent-2022-08-28
- x86-urgent-2022-08-13
- x86-urgent-2022-08-06
- x86-urgent-2022-06-19
- x86-urgent-2022-06-05
- x86-urgent-2022-05-15
- x86-urgent-2022-05-08
- x86-urgent-2022-04-17
- x86-urgent-2022-04-03
- x86-platform-2023-02-20
- x86-pasid-2022-03-21
- x86-mm-2023-02-20
- x86-mm-2022-06-05
- x86-misc-2022-12-10
- x86-microcode-2022-06-05
- x86-irq-2022-05-23
- x86-fpu-2023-02-20
- x86-core-2023-02-20
- x86-cleanups-2023-02-20
- x86-cleanups-2022-12-10
- x86-cleanups-2022-06-05
- x86-build-2023-02-20
- x86-boot-2023-02-20
- x86-boot-2022-06-05
- x86-asm-2023-02-20
- x86-apic-2023-04-24
- x86-apic-2022-12-10
- v6.9-rc4
- v6.9-rc3
- v6.9-rc2
- v6.9-rc1
- v6.8.6
- v6.8.5
- v6.8.4
- v6.8.3
- v6.8.2
- v6.8.1
- v6.8
- v6.8-rc7
- v6.8-rc6
- v6.8-rc5
- v6.8-rc4
- v6.8-rc3
- v6.8-rc2
- v6.8-rc1
- v6.7.12
- v6.7.11
- v6.7.10
- v6.7.9
- v6.7.8
- v6.7.7
- v6.7.6
- v6.7.5
- v6.7.4
- v6.7.3
- v6.7.2
- v6.7.1
- v6.7
- v6.7-rc8
- v6.7-rc7
- v6.7-rc6
- v6.7-rc5
- v6.7-rc4
- v6.7-rc3
- v6.7-rc2
- v6.7-rc1
- v6.6.27
- v6.6.26
- v6.6.25
- v6.6.24
- v6.6.23
- v6.6.22
- v6.6.21
- v6.6.20
- v6.6.19
- v6.6.18
- v6.6.17
- v6.6.16
- v6.6.15
- v6.6.14
- v6.6.13
- v6.6.12
- v6.6.11
- v6.6.10
- v6.6.9
- v6.6.8
- v6.6.7
- v6.6.6
- v6.6.5
- v6.6.4
- v6.6.3
- v6.6.2
- v6.6.1
- v6.6
- v6.6-rc7
- v6.6-rc6
- v6.6-rc5
- v6.6-rc4
- v6.6-rc3
- v6.6-rc2
- v6.6-rc1
- v6.5.13
- v6.5.12
- v6.5.11
- v6.5.10
- v6.5.9
- v6.5.8
- v6.5.7
- v6.5.6
- v6.5.5
- v6.5.4
- v6.5.3
- v6.5.2
- v6.5.1
- v6.5
- v6.5-rc7
- v6.5-rc6
- v6.5-rc5
- v6.5-rc4
- v6.5-rc3
- v6.5-rc2
- v6.5-rc1
- v6.4.16
- v6.4.15
- v6.4.14
- v6.4.13
- v6.4.12
- v6.4.11
- v6.4.10
- v6.4.9
- v6.4.8
- v6.4.7
- v6.4.6
- v6.4.5
- v6.4.4
- v6.4.3
- v6.4.2
- v6.4.1
- v6.4
- v6.4-rc7
- v6.4-rc6
- v6.4-rc5
- v6.4-rc4
- v6.4-rc3
- v6.4-rc2
- v6.4-rc1
- v6.3.13
- v6.3.12
- v6.3.11
- v6.3.10
- v6.3.9
- v6.3.8
- v6.3.7
- v6.3.6
- v6.3.5
- v6.3.4
- v6.3.3
- v6.3.2
- v6.3.1
- v6.3
- v6.3-rc7
- v6.3-rc6
- v6.3-rc5
- v6.3-rc4
- v6.3-rc3
- v6.3-rc2
- v6.3-rc1
- v6.2.16
- v6.2.15
- v6.2.14
- v6.2.13
- v6.2.12
- v6.2.11
- v6.2.10
- v6.2.9
- v6.2.8
- v6.2.7
- v6.2.6
- v6.2.5
- v6.2.4
- v6.2.3
- v6.2.2
- v6.2.1
- v6.2
- v6.2-rc8
- v6.2-rc7
- v6.2-rc6
- v6.2-rc5
- v6.2-rc4
- v6.2-rc3
- v6.2-rc2
- v6.2-rc1
- v6.1.86
- v6.1.85
- v6.1.84
- v6.1.83
- v6.1.82
- v6.1.81
- v6.1.80
- v6.1.79
- v6.1.78
- v6.1.77
- v6.1.76
- v6.1.75
- v6.1.74
- v6.1.73
- v6.1.72
- v6.1.71
- v6.1.70
- v6.1.69
- v6.1.68
- v6.1.67
- v6.1.66
- v6.1.65
- v6.1.64
- v6.1.63
- v6.1.62
- v6.1.61
- v6.1.60
- v6.1.59
- v6.1.58
- v6.1.57
- v6.1.56
- v6.1.55
- v6.1.54
- v6.1.53
- v6.1.52
- v6.1.51
- v6.1.50
- v6.1.49
- v6.1.48
- v6.1.47
- v6.1.46
- v6.1.45
- v6.1.44
- v6.1.43
- v6.1.42
- v6.1.41
- v6.1.40
- v6.1.39
- v6.1.38
- v6.1.37
- v6.1.36
- v6.1.35
- v6.1.34
- v6.1.33
- v6.1.32
- v6.1.31
- v6.1.30
- v6.1.29
- v6.1.28
- v6.1.27
- v6.1.26
- v6.1.25
- v6.1.24
- v6.1.23
- v6.1.22
- v6.1.21
- v6.1.20
- v6.1.19
- v6.1.18
- v6.1.17
- v6.1.16
- v6.1.15
- v6.1.14
- v6.1.13
- v6.1.12
- v6.1.11
- v6.1.10
- v6.1.9
- v6.1.8
- v6.1.7
- v6.1.6
- v6.1.5
- v6.1.4
- v6.1.3
- v6.1.2
- v6.1.1
- v6.1
- v6.1-rc8
- v6.1-rc7
- v6.1-rc6
- v6.1-rc5
- v6.1-rc4
- v6.1-rc3
- v6.1-rc2
- v6.1-rc1
- v6.0.19
- v6.0.18
- v6.0.17
- v6.0.16
- v6.0.15
- v6.0.14
- v6.0.13
- v6.0.12
- v6.0.11
- v6.0.10
- v6.0.9
- v6.0.8
- v6.0.7
- v6.0.6
- v6.0.5
- v6.0.4
- v6.0.3
- v6.0.2
- v6.0.1
- v6.0
- v6.0-rc7
- v6.0-rc6
- v6.0-rc5
- v6.0-rc4
- v6.0-rc3
- v6.0-rc2
- v6.0-rc1
- v5.19.17
- v5.19.16
- v5.19.15
- v5.19.14
- v5.19.13
- v5.19.12
- v5.19.11
- v5.19.10
- v5.19.9
- v5.19.8
- v5.19.7
- v5.19.6
- v5.19.5
- v5.19.4
- v5.19.3
- v5.19.2
- v5.19.1
- v5.19
- v5.19-rc8
- v5.19-rc7
- v5.19-rc6
- v5.19-rc5
- v5.19-rc4
- v5.19-rc3
- v5.19-rc2
- v5.19-rc1
- v5.18.19
- v5.18.18
- v5.18.17
- v5.18.16
- v5.18.15
- v5.18.14
- v5.18.13
- v5.18.12
- v5.18.11
- v5.18.10
- v5.18.9
- v5.18.8
- v5.18.7
- v5.18.6
- v5.18.5
- v5.18.4
- v5.18.3
- v5.18.2
- v5.18.1
- v5.18
- v5.18-rc7
- v5.18-rc6
- v5.18-rc5
- v5.18-rc4
- v5.18-rc3
- v5.18-rc2
- v5.18-rc2-mpi.0
- v5.18-rc1
- v5.18-rc1-mpi.0
- v5.17.15
- v5.17.14
- v5.17.13
- v5.17.12
- v5.17.11
- v5.17.10
- v5.17.9
- v5.17.8
- v5.17.7
- v5.17.6
- v5.17.5
- v5.17.4
- v5.17.3
- v5.17.2
- v5.17.2-mpi.0
- v5.17.1
- v5.17.1-mpi.0
- v5.17
- v5.17-rc8
- v5.17-rc8-mpi.0
- v5.17-rc7
- v5.17-rc7-mpi.0
- v5.17-rc6
- v5.17-rc6-mpi.0
- v5.17-rc5
- v5.17-rc5-mpi.0
- v5.17-rc4
- v5.17-rc3
- v5.17-rc2
- v5.17-rc1
- v5.17-mpi.0
- unmap-fix-20230629
- timers-urgent-2023-02-19
- timers-urgent-2023-01-12
- timers-urgent-2022-08-13
- timers-urgent-2022-05-08
- timers-urgent-2022-04-17
- timers-core-2023-04-28
- timers-core-2023-04-24
- timers-core-2023-02-20
- timers-core-2022-12-10
- timers-core-2022-10-05
- timers-core-2022-08-01
- timers-core-2022-06-05
- timers-core-2022-05-23
- timers-core-2022-03-21
- timers_urgent_for_v6.4_rc2
- timers_urgent_for_v6.1_rc8
- timers_urgent_for_v6.1_rc7
- thermal-6.6-rc1
- thermal-6.6-rc1-3
- thermal-6.6-rc1-2
- thermal-6.5-rc4
- thermal-6.5-rc1
- thermal-6.4-rc8
- thermal-6.4-rc4
- thermal-6.4-rc1
- thermal-6.4-rc1-3
- thermal-6.4-rc1-2
- thermal-6.3-rc7
- thermal-6.3-rc5
- thermal-6.3-rc4
- thermal-6.3-rc2
- thermal-6.3-rc1
- thermal-6.3-rc1-2
- thermal-6.2-rc6
- thermal-6.2-rc5
- thermal-6.2-rc3
- thermal-6.2-rc1
- thermal-6.2-rc1-2
- thermal-6.1-rc2
- thermal-6.1-rc1
- thermal-6.1-rc1-2
- thermal-6.0-rc3
- thermal-5.20-rc1
- thermal-5.20-rc1-2
- thermal-5.19-rc5
- thermal-5.19-rc1
- thermal-5.19-rc1-2
- thermal-5.18-rc8
- thermal-5.18-rc5
- thermal-5.18-rc1
- thermal-5.17-rc7
- thermal-5.17-rc6
- tai-for-tracing
- tags/kvm-6.2-2
- tags/kvm-6.2-1
- tags/kvm-6.1-2
- tags/kvm-5.18-2
- smp-urgent-2022-04-17
- smp-core-2023-04-27
- smp-core-2022-12-10
- smp-core-2022-05-23
- sched-urgent-2023-02-17
- sched-urgent-2023-01-12
- sched-urgent-2022-08-06
- sched-urgent-2022-06-19
- sched-urgent-2022-06-05
- sched-urgent-2022-05-15
- sched-rt-2022-10-05
- sched-psi-2022-10-14
- sched-core-2023-04-27
- sched-core-2023-02-20
- sched-core-2022-12-12
- sched-core-2022-10-07
- sched-core-2022-08-01
- sched-core-2022-05-23
- sched-core-2022-03-22
- sched-core-2022-03-21
- sched_urgent_for_v6.4_rc2
- sched_urgent_for_v6.3_rc7
- sched_urgent_for_v6.3_rc4
- sched_urgent_for_v6.2_rc6
- sched_urgent_for_v6.1_rc6
- sched_urgent_for_v6.1_rc2
- sched_urgent_for_v5.19_rc8
- sched_urgent_for_v5.18_rc4
- sched_urgent_for_v5.18_rc2
- sched_urgent_for_v5.17_rc5
- sched_urgent_for_v5.17_rc4
- rocm-5.5.1
- rocm-5.5.0
- rocm-5.4.4
- rocm-5.4.3
- rocm-5.4.2
- rocm-5.4.1
- rocm-5.4.0
- rocm-5.3.3
- rocm-5.3.2
- rocm-5.3.1
- rocm-5.3.0
- ras_urgent_for_v6.3_rc3
- ras_core_for_v6.4_rc1
- ras_core_for_v6.3_rc1
- ras_core_for_v6.2
- ras_core_for_v6.1_rc1
- ras_core_for_v6.0_rc1
- ras_core_for_v5.19_rc1
- ras_core_for_v5.18_rc1
- pnp-5.18-rc1
- pm-6.6-rc1
- pm-6.6-rc1-3
- pm-6.6-rc1-2
- pm-6.5-rc6
- pm-6.5-rc5
- pm-6.5-rc4
- pm-6.5-rc3
- pm-6.5-rc2
- pm-6.5-rc1
- pm-6.5-rc1-2
- pm-6.4-rc4
- pm-6.4-rc3
- pm-6.4-rc1
- pm-6.4-rc1-2
- pm-6.3-rc7
- pm-6.3-rc3
- pm-6.3-rc1
- pm-6.3-rc1-2
- pm-6.2-rc9
- pm-6.2-rc8
- pm-6.2-rc4
- pm-6.2-rc1
- pm-6.1-rc7
- pm-6.1-rc3
- pm-6.1-rc2
- pm-6.1-rc1
- pm-6.1-rc1-2
- pm-6.0-rc7
- pm-6.0-rc3
- pm-5.20-rc1
- pm-5.20-rc1-2
- pm-5.19-rc9
- pm-5.19-rc7
- pm-5.19-rc6
- pm-5.19-rc5
- pm-5.19-rc4
- pm-5.19-rc2
- pm-5.19-rc1
- pm-5.19-rc1-2
- pm-5.18-rc5
- pm-5.18-rc1
- pm-5.18-rc1-2
- pm-5.17-rc6
- pm-5.17-rc2
- perf-urgent-2023-05-28
- perf-urgent-2023-01-12
- perf-urgent-2023-01-06
- perf-urgent-2022-10-02
- perf-urgent-2022-08-28
- perf-urgent-2022-08-21
- perf-urgent-2022-08-06
- perf-urgent-2022-06-05
- perf-core-2023-04-27
- perf-core-2023-02-20
- perf-core-2022-12-12
- perf-core-2022-10-07
- perf-core-2022-08-01
- perf-core-2022-06-05
- perf-core-2022-05-23
- perf-core-2022-03-21
- perf_urgent_for_v6.4_rc2
- perf_urgent_for_v6.3_rc6
- perf_urgent_for_v6.3_rc4
- perf_urgent_for_v6.3_rc3
- perf_urgent_for_v6.2_rc7
- perf_urgent_for_v6.2_rc6
- perf_urgent_for_v6.2_rc4
- perf_urgent_for_v6.2_rc2
- perf_urgent_for_v6.1_rc8
- perf_urgent_for_v6.1_rc7
- perf_urgent_for_v6.1_rc6
- perf_urgent_for_v6.1_rc4
- perf_urgent_for_v6.1_rc3
- perf_urgent_for_v6.1_rc2
- perf_urgent_for_v5.19_rc8
- perf_urgent_for_v5.19_rc7
- perf_urgent_for_v5.18_rc4
- perf_urgent_for_v5.18_rc2
- perf_urgent_for_v5.17_rc4
- perf_urgent_for_v5.17_rc3
- objtool-urgent-2023-05-28
- objtool-urgent-2022-06-19
- objtool-urgent-2022-06-05
- objtool-core-2023-04-27
- objtool-core-2023-03-02
- objtool-core-2022-10-07
- objtool-core-2022-05-23
- objtool_urgent_for_v6.1_rc7
- objtool_urgent_for_v6.1_rc2
- objtool_urgent_for_v5.18_rc5
- objtool_urgent_for_v5.17_rc4
- objtool_urgent_for_v5.17_rc3
- next-20230912
- next-20230809
- next-20230803
- next-20230801
- next-20230724
- next-20230721
- next-20230718
- next-20230717
- next-20230714
- next-20230706
- next-20230620
- next-20230608
- next-20230512
- next-20230511
- next-20230508
- next-20230504
- next-20230426
- next-20230419
- next-20230411
- next-20230405
- next-20230324
- next-20230320
- next-20230302
- next-20230228
- next-20230217
- next-20230208
- next-20230206
- next-20230203
- next-20230123
- next-20230105
- next-20221226
- next-20221220
- next-20221202
- next-20221129
- next-20221014
- next-20221013
- next-20220930
- next-20220927
- next-20220916
- next-20220804
- next-20220728
- next-20220722
- next-20220715
- next-20220714
- next-20220711
- next-20220707
- next-20220701
- next-20220513
- next-20220428
- next-20220419
- next-20220414
- next-20220405
- next-20220318
- next-20220315
- next-20220310
- next-20220225
- next-20220223
- next-20220215
- next-20220211
- next-20220204
- next-20220202
- next-20220128
- next-20220117
- md-next-20230825
- md-next-20230817
- md-next-20230814-resend
- md-next-20230729
- md-next-20230623
- md-next-20230613
- md-next-2023-04-28
- md-fixes-20230630
- md-fixes-2023-05-24
- md-fixes-2023-03-29
- mariux-6.12.40-484
- mariux-6.12.29-483
- mariux-6.12.27-482
- mariux-6.12.23-481
- mariux-6.12.23-480
- mariux-6.12.11-479
- mariux-6.6.35-477
- mariux-6.6.27-472
- mariux-6.6.26-471
- mariux-6.6.25-470
- mariux-6.6.24-469
- mariux-6.6.23-468
- mariux-6.6.22-467
- mariux-6.6.22-466
- mariux-6.6.22-465
- mariux-6.6.21-464
- mariux-6.6.20-463
- mariux-6.6.19-462
- mariux-6.6.12-461
- mariux-6.6.11-460
- mariux-6.5.2-455
- mariux-6.5.2-452
- mariux-6.5.2-451
- mariux-6.1.53-458
- mariux-6.1.52-456
- mariux-6.1.39-450
- mariux-6.1.7-446
- locking-urgent-2023-02-11
- locking-urgent-2022-06-19
- locking-urgent-2022-05-08
- locking-core-2023-05-05
- locking-core-2023-02-20
- locking-core-2022-12-12
- locking-core-2022-10-07
- locking-core-2022-08-01
- locking-core-2022-05-23
- locking-core-2022-03-21
- locking_urgent_for_v6.4_rc2
- locking_urgent_for_v6.2_rc2
- locking_urgent_for_v6.1_rc6
- locking_urgent_for_v5.19
- locking_urgent_for_v5.18_rc2
- locking_urgent_for_v5.17_rc5
- linux-5.17.y
- kvm-5.20-2
- kvm-5.20-1
- kvm-5.19-1
- kvm-5.18-1
- irq-urgent-2023-05-28
- irq-urgent-2023-03-05
- irq-urgent-2023-02-19
- irq-urgent-2022-08-21
- irq-urgent-2022-06-19
- irq-urgent-2022-05-15
- irq-urgent-2022-05-08
- irq-urgent-2022-04-17
- irq-urgent-2022-04-10
- irq-urgent-2022-02-27
- irq-urgent-2022-02-13
- irq-core-2023-04-24
- irq-core-2023-02-20
- irq-core-2022-12-10
- irq-core-2022-10-12
- irq-core-2022-08-01
- irq-core-2022-05-23
- irq-core-2022-03-21
- irq-api-2022-02-21
- irq_urgent_for_v6.4_rc5
- irq_urgent_for_v6.3
- irq_urgent_for_v6.2_rc6
- irq_urgent_for_v6.0
- irq_urgent_for_v5.19_rc6
- irq_urgent_for_v5.18_rc5
- irq_urgent_for_v5.17_rc3
- irq_urgent_for_v5.17_rc2
- irq_urgent_for_v5.17_rc2_p2
- hwmon-for-v6.3
- hwmon-for-v6.3-rc4
- hwmon-for-v6.3-rc3
- hwmon-for-v6.2
- hwmon-for-v6.2-rc1
- hwmon-for-v6.1
- hwmon-for-v6.1-rc8
- hwmon-for-v6.1-rc4
- hwmon-for-v6.1-rc2
- hwmon-for-v6.0-rc5
- hwmon-for-v6.0-rc4
- hwmon-for-v5.20
- hwmon-for-v5.19-rc5
- hwmon-for-v5.19-rc3
- hwmon-for-v5.19-rc1
- hwmon-for-v5.18
- hwmon-for-v5.18-rc7
- hwmon-for-v5.18-rc6
- hwmon-for-v5.17-rc6
- hwmon-for-v5.17-rc2
- hwmon-fixes-for-v6.0-rc1
- for-linus-6.0
- for-linus-5.17
- devprop-5.19-rc1
- devprop-5.18-rc1
- core-urgent-2023-01-12
- core-urgent-2022-05-08
- core-urgent-2022-04-03
- core-entry-2023-04-24
- core-debugobjects-2023-05-28
- core-debugobjects-2023-05-06
- core-debugobjects-2023-04-24
- core-debugobjects-2022-12-10
- core-debugobjects-2022-05-23
- core-core-2022-05-23
- core-core-2022-03-21
- core_urgent_for_v6.3_rc4
- core_urgent_for_v6.2_rc4
- ata-6.6-rc1
- ata-6.5-rc5
- ata-6.5-rc4
- ata-6.5-rc3
- ata-6.5-rc1
- ata-6.4-rc7
- ata-6.4-rc5
- ata-6.4-rc3
- ata-6.4-rc1
- ata-6.3-rc7
- ata-6.3-rc3
- ata-6.3-rc1
- ata-6.3-fix
- ata-6.2-rc8
- ata-6.2-rc7
- ata-6.2-rc4
- ata-6.2-rc2
- ata-6.2-rc1
- ata-6.1-rc8
- ata-6.1-rc5
- ata-6.1-rc4
- ata-6.1-rc2
- ata-6.1-rc1
- ata-6.0-rc7
- ata-6.0-rc2
- ata-5.20-rc1
- ata-5.19-rc5
- ata-5.19-rc4
- ata-5.19-rc2
- ata-5.19-rc1
- ata-5.18-rc4
- ata-5.18-rc2
- ata-5.18-rc1
- ata-5.17-rc6
- ata-5.17-rc4
- ata-5.17-rc4-2
- ata-5.17-rc3
- ata-5.17-rc2
- ata-5.17-rc2-revert
- amd-drm-next-6.4-2023-03-31
- amd-drm-next-6.4-2023-03-17
- amd-drm-next-6.3-2023-02-17
- amd-drm-next-6.3-2023-02-03
- amd-drm-next-6.3-2023-01-27
- amd-drm-next-6.3-2023-01-20
- amd-drm-next-6.3-2023-01-13
- amd-drm-next-6.3-2023-01-06
- amd-drm-next-6.2-2022-12-07
- amd-drm-next-6.2-2022-12-02
- amd-drm-next-6.2-2022-11-25
- amd-drm-next-6.2-2022-11-18
- amd-drm-next-6.2-2022-11-11
- amd-drm-next-6.2-2022-11-04
- amd-drm-next-6.1-2022-09-30
- amd-drm-next-6.1-2022-09-23
- amd-drm-next-6.1-2022-09-16
- amd-drm-next-6.1-2022-09-08
- amd-drm-next-5.20-2022-08-17
- amd-drm-next-5.20-2022-07-29
- amd-drm-next-5.20-2022-07-26
- amd-drm-next-5.20-2022-07-14
- amd-drm-next-5.20-2022-07-05
- amd-drm-next-5.19-2022-05-26
- amd-drm-next-5.19-2022-05-26-2
- amd-drm-next-5.19-2022-05-18
- amd-drm-next-5.19-2022-05-11
- amd-drm-next-5.19-2022-04-29
- amd-drm-next-5.19-2022-04-22
- amd-drm-next-5.19-2022-04-15
- amd-drm-next-5.18-2022-03-25
- amd-drm-next-5.18-2022-03-18
- amd-drm-next-5.18-2022-03-09
- amd-drm-next-5.18-2022-03-07
- amd-drm-next-5.18-2022-02-25
- amd-drm-next-5.18-2022-02-18
- amd-drm-fixes-6.3-2023-03-30
- amd-drm-fixes-6.3-2023-03-29
- amd-drm-fixes-6.3-2023-03-23
- amd-drm-fixes-6.3-2023-03-15
- amd-drm-fixes-6.3-2023-03-09
- amd-drm-fixes-6.3-2023-03-02
- amd-drm-fixes-6.2-2023-02-15
- amd-drm-fixes-6.2-2023-02-09
- amd-drm-fixes-6.2-2023-02-08
- amd-drm-fixes-6.2-2023-02-01
- amd-drm-fixes-6.2-2023-01-25
- amd-drm-fixes-6.2-2023-01-19
- amd-drm-fixes-6.2-2023-01-11
- amd-drm-fixes-6.2-2023-01-04
- amd-drm-fixes-6.2-2022-12-21
- amd-drm-fixes-6.2-2022-12-15
- amd-drm-fixes-6.1-2022-12-07
- amd-drm-fixes-6.1-2022-12-01
- amd-drm-fixes-6.1-2022-11-23
- amd-drm-fixes-6.1-2022-11-16
- amd-drm-fixes-6.1-2022-11-09
- amd-drm-fixes-6.1-2022-11-02
- amd-drm-fixes-6.1-2022-10-26-1
- amd-drm-fixes-6.1-2022-10-20
- amd-drm-fixes-6.1-2022-10-19
- amd-drm-fixes-6.1-2022-10-12
- amd-drm-fixes-6.0-2022-09-30-1
- amd-drm-fixes-6.0-2022-09-29
- amd-drm-fixes-6.0-2022-09-21
- amd-drm-fixes-6.0-2022-09-14
- amd-drm-fixes-6.0-2022-09-07
- amd-drm-fixes-6.0-2022-08-31
- amd-drm-fixes-6.0-2022-08-25
- amd-drm-fixes-6.0-2022-08-17
- amd-drm-fixes-5.19-2022-07-20
- amd-drm-fixes-5.19-2022-07-15
- amd-drm-fixes-5.19-2022-07-13
- amd-drm-fixes-5.19-2022-07-06
- amd-drm-fixes-5.19-2022-06-29
- amd-drm-fixes-5.19-2022-06-22
- amd-drm-fixes-5.19-2022-06-15
- amd-drm-fixes-5.19-2022-06-08
- amd-drm-fixes-5.18-2022-05-18
- amd-drm-fixes-5.18-2022-05-11
- amd-drm-fixes-5.18-2022-05-04
- amd-drm-fixes-5.18-2022-04-27
- amd-drm-fixes-5.18-2022-04-13
- amd-drm-fixes-5.18-2022-04-06
- amd-drm-fixes-5.17-2022-03-02
- amd-drm-fixes-5.17-2022-02-23
- amd-drm-fixes-5.17-2022-02-16
- amd-drm-fixes-5.17-2022-02-09
- amd-drm-fixes-5.17-2022-02-02
- amd-drm-fixes-5.17-2022-01-26
- acpi-6.6-rc1
- acpi-6.5-rc8
- acpi-6.5-rc6
- acpi-6.5-rc1
- acpi-6.5-rc1-3
- acpi-6.5-rc1-2
- acpi-6.4-rc8
- acpi-6.4-rc3
- acpi-6.4-rc1
- acpi-6.4-rc1-3
- acpi-6.4-rc1-2
- acpi-6.3-rc7
- acpi-6.3-rc6
- acpi-6.3-rc5
- acpi-6.3-rc4
- acpi-6.3-rc3
- acpi-6.3-rc1
- acpi-6.3-rc1-2
- acpi-6.2-rc6
- acpi-6.2-rc5
- acpi-6.2-rc4
- acpi-6.2-rc2
- acpi-6.2-rc1
- acpi-6.2-rc1-2
- acpi-6.1-rc4
- acpi-6.1-rc3
- acpi-6.1-rc2
- acpi-6.1-rc1
- acpi-6.1-rc1-2
- acpi-6.0-rc3
- acpi-5.20-rc1
- acpi-5.20-rc1-2
- acpi-5.19-rc8
- acpi-5.19-rc7
- acpi-5.19-rc6
- acpi-5.19-rc1
- acpi-5.19-rc1-2
- acpi-5.18-rc5
- acpi-5.18-rc2
- acpi-5.18-rc1
- acpi-5.18-rc1-2
- acpi-5.17-rc9
- acpi-5.17-rc5
- acpi-5.17-rc4
- acpi-5.17-rc3
- acpi-5.17-rc1-3
- Ubuntu-unstable-6.5.0-4.4
- Ubuntu-unstable-6.5.0-2.2
- Ubuntu-unstable-6.5.0-1.1
- Ubuntu-unstable-6.4.0-8.8
- Ubuntu-unstable-6.4.0-5.5
- Ubuntu-unstable-6.3.0-2.2
- Ubuntu-unstable-6.3.0-1.1
- Ubuntu-unstable-6.1.0-9.9
- Ubuntu-lowlatency-6.2.0-1014.14
- Ubuntu-lowlatency-6.2.0-1010.10
- Ubuntu-lowlatency-6.2.0-1009.9
- Ubuntu-lowlatency-6.2.0-1008.8
- Ubuntu-lowlatency-6.2.0-1005.5
- Ubuntu-lowlatency-6.2.0-1004.4
- Ubuntu-lowlatency-6.2.0-1003.3
- Ubuntu-lowlatency-6.2.0-1002.2
- Ubuntu-lowlatency-6.2.0-1001.1
- Ubuntu-lowlatency-6.1.0-1001.1
- Ubuntu-6.2.0-34.34
- Ubuntu-6.2.0-32.32
- Ubuntu-6.2.0-30.30
- Ubuntu-6.2.0-27.28
- Ubuntu-6.2.0-26.26
- Ubuntu-6.2.0-25.25
- Ubuntu-6.2.0-23.23
- Ubuntu-6.2.0-21.21
- Ubuntu-6.2.0-20.20
- Ubuntu-6.2.0-19.19
- Ubuntu-6.2.0-18.18
- Ubuntu-6.2.0-17.17
- Ubuntu-6.1.0-16.16
- Ubuntu-6.1.0-15.15
- Ubuntu-6.1.0-14.14
- Ubuntu-6.1.0-13.13
- Ubuntu-6.1.0-12.12
Daniel Bristot de Oliveira
authored and
Steven Rostedt
committed
Jan 13, 2022
1 parent
b169637
commit 0605bf0
Showing
4 changed files
with
956 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
#include "trace.h" | ||
|
||
/* | ||
* osnoise_context - read, store, write, restore osnoise configs. | ||
*/ | ||
struct osnoise_context { | ||
int flags; | ||
int ref; | ||
|
||
char *curr_cpus; | ||
char *orig_cpus; | ||
|
||
/* 0 as init value */ | ||
unsigned long long orig_runtime_us; | ||
unsigned long long runtime_us; | ||
|
||
/* 0 as init value */ | ||
unsigned long long orig_period_us; | ||
unsigned long long period_us; | ||
|
||
/* 0 as init value */ | ||
long long orig_timerlat_period_us; | ||
long long timerlat_period_us; | ||
|
||
/* -1 as init value because 0 is disabled */ | ||
long long orig_stop_us; | ||
long long stop_us; | ||
|
||
/* -1 as init value because 0 is disabled */ | ||
long long orig_stop_total_us; | ||
long long stop_total_us; | ||
|
||
/* -1 as init value because 0 is disabled */ | ||
long long orig_print_stack; | ||
long long print_stack; | ||
}; | ||
|
||
/* | ||
* *_INIT_VALs are also invalid values, they are used to | ||
* communicate errors. | ||
*/ | ||
#define OSNOISE_OPTION_INIT_VAL (-1) | ||
#define OSNOISE_TIME_INIT_VAL (0) | ||
|
||
struct osnoise_context *osnoise_context_alloc(void); | ||
int osnoise_get_context(struct osnoise_context *context); | ||
void osnoise_put_context(struct osnoise_context *context); | ||
|
||
int osnoise_set_cpus(struct osnoise_context *context, char *cpus); | ||
void osnoise_restore_cpus(struct osnoise_context *context); | ||
|
||
int osnoise_set_runtime_period(struct osnoise_context *context, | ||
unsigned long long runtime, | ||
unsigned long long period); | ||
void osnoise_restore_runtime_period(struct osnoise_context *context); | ||
|
||
int osnoise_set_stop_us(struct osnoise_context *context, | ||
long long stop_us); | ||
void osnoise_restore_stop_us(struct osnoise_context *context); | ||
|
||
int osnoise_set_stop_total_us(struct osnoise_context *context, | ||
long long stop_total_us); | ||
void osnoise_restore_stop_total_us(struct osnoise_context *context); | ||
|
||
int osnoise_set_timerlat_period_us(struct osnoise_context *context, | ||
long long timerlat_period_us); | ||
void osnoise_restore_timerlat_period_us(struct osnoise_context *context); | ||
|
||
void osnoise_restore_print_stack(struct osnoise_context *context); | ||
int osnoise_set_print_stack(struct osnoise_context *context, | ||
long long print_stack); | ||
|
||
/* | ||
* osnoise_tool - osnoise based tool definition. | ||
*/ | ||
struct osnoise_tool { | ||
struct trace_instance trace; | ||
struct osnoise_context *context; | ||
void *data; | ||
void *params; | ||
time_t start_time; | ||
}; | ||
|
||
void osnoise_destroy_tool(struct osnoise_tool *top); | ||
struct osnoise_tool *osnoise_init_tool(char *tool_name); | ||
struct osnoise_tool *osnoise_init_trace_tool(char *tracer); | ||
|
||
int osnoise_main(int argc, char **argv); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters