Commit cfe4cc3
committed
tracing/timers: Add tracepoint for tracking timer base is_idle flag
JIRA: https://issues.redhat.com/browse/RHEL-33787
commit b573c73
Author: Anna-Maria Behnsen <anna-maria@linutronix.de>
Date: Fri Dec 1 10:26:27 2023 +0100
tracing/timers: Add tracepoint for tracking timer base is_idle flag
When debugging timer code the timer tracepoints are very important. There
is no tracepoint when the is_idle flag of the timer base changes. Instead
of always adding manually trace_printk(), add tracepoints which can be
easily enabled whenever required.
Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/r/20231201092654.34614-6-anna-maria@linutronix.de
Signed-off-by: Phil Auld <pauld@redhat.com>1 parent d8b5df8 commit cfe4cc3
2 files changed
+31
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
145 | 165 | | |
146 | 166 | | |
147 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1897 | 1897 | | |
1898 | 1898 | | |
1899 | 1899 | | |
1900 | | - | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
1901 | 1904 | | |
1902 | 1905 | | |
1903 | 1906 | | |
| |||
1908 | 1911 | | |
1909 | 1912 | | |
1910 | 1913 | | |
1911 | | - | |
| 1914 | + | |
1912 | 1915 | | |
| 1916 | + | |
| 1917 | + | |
1913 | 1918 | | |
1914 | 1919 | | |
1915 | 1920 | | |
| |||
1931 | 1936 | | |
1932 | 1937 | | |
1933 | 1938 | | |
1934 | | - | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
| 1942 | + | |
1935 | 1943 | | |
1936 | 1944 | | |
1937 | 1945 | | |
| |||
0 commit comments