Changbin Du
afbab501c6
tracing: Put a margin between flags and duration for wakeup tracers
Don't mix context flags with function duration info.
Instead of this:
# tracer: wakeup_rt
#
# wakeup_rt latency trace v1.1.5 on 5.0.0-rc1-test+
# --------------------------------------------------------------------
# latency: 177 us, #545/545, CPU#0 | (M:preempt VP:0, KP:0, SP:0 HP:0 #P:8)
# -----------------
# | task: migration/0-11 (uid:0 nice:0 policy:1 rt_prio:99)
# -----------------
#
# _-----=> irqs-off
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| /
# REL TIME CPU TASK/PID |||| DURATION FUNCTION CALLS
# | | | | |||| | | | | | |
0 us | 0) <idle>-0 | dNh5 | /* 0:120:R + [000] 11: 0:R migration/0 */
2 us | 0) <idle>-0 | dNh5 0.000 us | (null)();
4 us | 0) <idle>-0 | dNh4 | _raw_spin_unlock() {
4 us | 0) <idle>-0 | dNh4 0.304 us | preempt_count_sub();
5 us | 0) <idle>-0 | dNh3 1.063 us | }
5 us | 0) <idle>-0 | dNh3 0.266 us | ttwu_stat();
6 us | 0) <idle>-0 | dNh3 | _raw_spin_unlock_irqrestore() {
6 us | 0) <idle>-0 | dNh3 0.273 us | preempt_count_sub();
6 us | 0) <idle>-0 | dNh2 0.818 us | }
Show this:
# tracer: wakeup
#
# wakeup latency trace v1.1.5 on 4.20.0+
# --------------------------------------------------------------------
# latency: 593 us, #674/674, CPU#0 | (M:desktop VP:0, KP:0, SP:0 HP:0 #P:4)
# -----------------
# | task: kworker/0:1H-339 (uid:0 nice:-20 policy:0 rt_prio:0)
# -----------------
#
# _-----=> irqs-off
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| /
# REL TIME CPU TASK/PID |||| DURATION FUNCTION CALLS
# | | | | |||| | | | | | |
0 us | 0) <idle>-0 | dNs. | | /* 0:120:R + [000] 339:100:R kworker/0:1H */
3 us | 0) <idle>-0 | dNs. | 0.000 us | (null)();
67 us | 0) <idle>-0 | dNs. | 0.721 us | ttwu_stat();
69 us | 0) <idle>-0 | dNs. | 0.607 us | _raw_spin_unlock_irqrestore();
71 us | 0) <idle>-0 | .Ns. | 0.598 us | _raw_spin_lock_irq();
72 us | 0) <idle>-0 | .Ns. | 0.584 us | _raw_spin_lock_irq();
73 us | 0) <idle>-0 | dNs. | + 11.118 us | __next_timer_interrupt();
75 us | 0) <idle>-0 | dNs. | | call_timer_fn() {
76 us | 0) <idle>-0 | dNs. | | delayed_work_timer_fn() {
76 us | 0) <idle>-0 | dNs. | | __queue_work() {
...
Link: http://lkml.kernel.org/r/20190101154614.8887-4-changbin.du@gmail.com
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2019-02-06 11:56:19 -05:00
..
2018-12-07 22:26:37 -07:00
2019-01-03 18:57:57 -08:00
2018-12-22 08:21:03 -05:00
2018-12-08 20:54:06 -05:00
2018-12-31 11:46:59 -08:00
2018-12-08 20:54:10 -05:00
2018-12-08 20:54:09 -05:00
2017-11-02 11:10:55 +01:00
2018-10-17 15:35:33 -04:00
2018-08-16 19:08:06 -04:00
2018-12-31 11:46:59 -08:00
2017-11-02 11:10:55 +01:00
2018-05-15 10:27:29 -07:00
2018-08-16 19:08:06 -04:00
2017-11-02 11:10:55 +01:00
2018-08-16 19:08:06 -04:00
2018-12-10 12:22:44 -05:00
2018-12-08 20:54:09 -05:00
2018-08-16 19:08:06 -04:00
2018-10-10 22:14:17 -04:00
2018-08-16 19:08:06 -04:00
2019-02-06 11:56:19 -05:00
2018-12-22 22:52:09 -05:00
2018-12-11 13:50:19 -05:00
2018-12-22 22:51:54 -05:00
2018-05-29 08:28:53 -04:00
2019-02-06 11:56:19 -05:00
2018-01-23 15:57:00 -05:00
2018-08-16 19:08:06 -04:00
2019-02-06 11:56:18 -05:00
2017-11-02 11:10:55 +01:00
2018-07-30 18:41:04 -04:00
2018-08-16 19:08:06 -04:00
2019-01-15 11:33:45 -05:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-22 08:21:06 -05:00
2018-08-16 19:08:06 -04:00
2018-08-10 15:12:00 -04:00
2018-09-26 12:21:00 +03:00
2018-10-10 22:19:10 -04:00
2019-02-06 11:56:18 -05:00
2018-12-08 20:54:09 -05:00
2017-11-02 11:10:55 +01:00
2019-02-06 11:56:19 -05:00
2018-01-23 15:57:29 -05:00
2018-12-08 20:54:07 -05:00
2018-08-16 19:08:06 -04:00
2018-12-22 22:52:30 -05:00
2017-11-02 11:10:55 +01:00
2018-08-16 19:08:06 -04:00
2017-11-17 14:58:01 -08:00
2018-12-10 12:22:10 -05:00
2018-12-31 11:46:59 -08:00
2019-02-06 11:56:18 -05:00
2018-08-16 19:08:06 -04:00
2018-08-16 19:08:06 -04:00