Hui Su
ba22053f5d
scripts/tracing: fix the bug that can't parse raw_trace_func
...
commit 1c0cec64a7cc545eb49f374a43e9f7190a14defa upstream.
Since commit 77271ce4b2c0 ("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: 77271ce4b2c0 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:21:00 +02:00
..
2019-06-25 10:17:07 +02:00
2019-08-29 23:54:29 +09:00
2020-08-11 15:33:35 +02:00
2020-10-07 08:01:29 +02:00
2020-05-27 17:46:24 +02:00
2020-07-29 10:18:35 +02:00
2019-09-14 11:40:13 +09:00
2021-05-19 10:08:23 +02:00
2021-02-17 10:35:16 +01:00
2020-09-03 11:27:10 +02:00
2019-05-30 11:26:35 -07:00
2021-08-12 13:21:00 +02:00
2018-12-22 00:37:52 +09:00
2019-07-18 02:19:31 +09:00
2019-05-24 17:27:11 +02:00
2018-07-18 01:18:05 +09:00
2021-05-22 11:38:30 +02:00
2019-06-05 17:37:11 +02:00
2019-05-13 01:12:45 +02:00
2018-06-28 13:36:39 +09:00
2019-05-30 11:26:39 -07:00
2020-12-30 11:51:27 +01:00
2019-06-05 02:33:10 +09:00
2019-02-19 21:27:53 +01:00
2019-03-04 22:34:54 +09:00
2018-08-14 08:58:56 +09:00
2021-05-22 11:38:30 +02:00
2019-05-24 17:36:42 +02:00
2020-07-29 10:18:35 +02:00
2020-05-14 07:58:29 +02:00
2021-01-12 20:16:10 +01:00
2021-05-22 11:38:30 +02:00
2019-06-14 14:43:01 -06:00
2020-03-25 08:25:55 +01:00
2019-06-05 17:37:07 +02:00
2019-06-05 17:37:10 +02:00
2018-11-18 10:15:09 -08:00
2020-02-11 04:35:23 -08:00
2019-01-06 09:46:51 +09:00
2019-03-04 22:35:04 +09:00
2018-06-08 18:56:00 +09:00
2018-06-25 23:21:13 +09:00
2019-07-27 12:18:19 +09:00
2018-12-01 23:13:14 +09:00
2021-05-22 11:38:30 +02:00
2019-05-24 17:36:45 +02:00
2019-07-16 19:23:22 -07:00
2019-05-30 11:26:39 -07:00
2020-06-24 17:50:33 +02:00
2020-01-04 19:18:23 +01:00
2021-07-25 14:35:11 +02:00
2020-04-08 09:08:37 +02:00
2019-08-12 15:00:37 -06:00
2019-05-30 11:26:39 -07:00
2020-06-17 16:40:20 +02:00
2021-02-26 10:10:27 +01:00
2019-03-17 12:56:32 +09:00
2021-07-14 16:53:20 +02:00
2019-08-29 23:54:29 +09:00
2020-03-25 08:25:54 +01:00
2019-03-04 09:29:41 -08:00
2020-03-05 16:43:47 +01:00
2019-09-04 23:12:50 +09:00
2019-08-15 13:24:04 +01:00
2019-05-21 10:50:46 +02:00
2020-09-03 11:27:10 +02:00
2019-07-17 22:39:27 +09:00
2019-08-22 01:14:11 +09:00
2019-07-17 22:39:27 +09:00
2019-09-22 10:34:46 -07:00
2019-07-17 22:39:27 +09:00
2020-09-03 11:27:10 +02:00
2019-05-06 11:12:09 -07:00
2019-06-05 17:37:10 +02:00
2021-07-25 14:35:12 +02:00
2019-08-29 23:54:29 +09:00
2020-06-24 17:50:19 +02:00
2019-07-17 22:39:27 +09:00
2019-10-05 15:29:49 +09:00
2020-08-11 15:33:35 +02:00
2019-05-30 11:29:23 -07:00
2020-03-25 08:25:49 +01:00
2021-03-09 11:09:39 +01:00
2021-06-30 08:47:49 -04:00
2021-05-22 11:38:29 +02:00
2020-11-01 12:01:01 +01:00
2021-05-22 11:38:30 +02:00
2019-06-05 17:37:10 +02:00
2019-06-05 17:37:10 +02:00
2018-12-28 12:11:44 -08:00
2019-06-01 15:51:31 -07:00
2019-07-12 11:05:41 -07:00
2021-05-22 11:38:30 +02:00
2021-05-22 11:38:30 +02:00
2018-09-05 08:12:09 -06:00
2019-07-11 00:05:09 +09:00
2021-07-14 16:53:12 +02:00
2018-11-30 14:45:01 -08:00
2019-01-22 13:34:35 +01:00
2020-09-03 11:27:10 +02:00