Hui Su
2ee3c5f196
scripts/tracing: fix the bug that can't parse raw_trace_func
commit 1c0cec64a7 upstream.
Since commit 77271ce4b2 ("tracing: Add irq, preempt-count and need resched info
to default trace output"), the default trace output format has been changed to:
<idle>-0 [009] d.h. 22420.068695: _raw_spin_lock_irqsave <-hrtimer_interrupt
<idle>-0 [000] ..s. 22420.068695: _nohz_idle_balance <-run_rebalance_domains
<idle>-0 [011] d.h. 22420.068695: account_process_tick <-update_process_times
origin trace output format:(before v3.2.0)
# tracer: nop
#
# TASK-PID CPU# TIMESTAMP FUNCTION
# | | | | |
migration/0-6 [000] 50.025810: rcu_note_context_switch <-__schedule
migration/0-6 [000] 50.025812: trace_rcu_utilization <-rcu_note_context_switch
migration/0-6 [000] 50.025813: rcu_sched_qs <-rcu_note_context_switch
migration/0-6 [000] 50.025815: rcu_preempt_qs <-rcu_note_context_switch
migration/0-6 [000] 50.025817: trace_rcu_utilization <-rcu_note_context_switch
migration/0-6 [000] 50.025818: debug_lockdep_rcu_enabled <-__schedule
migration/0-6 [000] 50.025820: debug_lockdep_rcu_enabled <-__schedule
The draw_functrace.py(introduced in v2.6.28) can't parse the new version format trace_func,
So we need modify draw_functrace.py to adapt the new version trace output format.
Link: https://lkml.kernel.org/r/20210611022107.608787-1-suhui@zeku.com
Cc: stable@vger.kernel.org
Fixes: 77271ce4b2 tracing: Add irq, preempt-count and need resched info to default trace output
Signed-off-by: Hui Su <suhui@zeku.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-12 13:19:42 +02:00
..
2021-05-22 10:59:41 +02:00
2021-03-24 11:07:31 +01:00
2021-08-12 13:19:42 +02:00
2021-05-22 10:59:50 +02:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2020-12-30 11:26:04 +01:00
2019-06-25 11:35:58 +08:00
2017-11-02 11:10:55 +01:00
2021-05-22 10:59:50 +02:00
2021-01-12 20:10:16 +01:00
2021-05-22 10:59:50 +02:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:18 +09:00
2018-08-06 13:36:20 -06:00
2017-11-02 11:10:55 +01:00
2021-03-04 09:39:29 +01:00
2018-12-05 19:32:01 +01:00
2018-08-09 21:51:17 +09:00
2017-11-14 18:25:40 -08:00
2020-03-25 08:06:14 +01:00
2018-08-10 20:19:58 -07:00
2017-11-02 11:10:55 +01:00
2021-07-28 11:13:43 +02:00
2019-10-29 09:19:36 +01:00
2017-03-11 11:13:38 +09:00
2021-03-17 16:43:43 +01:00
2021-05-22 10:59:49 +02:00
2020-11-05 11:08:31 +01:00
2021-05-22 10:59:50 +02:00
2017-11-02 11:10:55 +01:00
2018-09-05 08:12:09 -06:00