Hui Su
d44618849b
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-15 13:01:03 +02:00
..
2016-08-24 22:34:19 +02:00
2019-06-11 12:22:49 +02:00
2021-06-03 08:23:27 +02:00
2020-05-27 16:41:43 +02:00
2021-01-12 19:49:03 +01:00
2016-08-25 20:03:51 +02:00
2021-05-22 10:40:30 +02:00
2019-12-21 10:41:17 +01:00
2018-05-30 07:50:39 +02:00
2015-07-13 13:32:00 -04:00
2021-08-15 13:01:03 +02:00
2016-02-26 15:30:20 +00:00
2018-05-30 07:50:37 +02:00
2021-06-03 08:23:27 +02:00
2016-04-06 14:06:48 +01:00
2021-06-03 08:23:27 +02:00
2021-06-03 08:23:27 +02:00
2015-04-13 21:03:02 +09:30
2015-09-28 01:31:48 -06:00
2021-06-03 08:23:27 +02:00
2016-08-28 11:08:34 +02:00
2020-12-29 13:45:01 +01:00
2021-06-03 08:23:27 +02:00
2015-06-04 07:37:37 +02:00
2017-12-14 09:28:22 +01:00
2021-06-03 08:23:27 +02:00
2016-10-11 15:06:30 -07:00
2020-07-31 16:44:03 +02:00
2020-05-20 08:15:29 +02:00
2021-01-12 19:49:01 +01:00
2021-06-03 08:23:27 +02:00
2016-05-14 09:56:56 -06:00
2021-06-03 08:23:27 +02:00
2015-09-25 16:31:45 +01:00
2015-04-15 14:01:12 +02:00
2015-10-21 15:18:36 +01:00
2016-02-26 15:32:05 +00:00
2016-09-19 14:49:08 -07:00
2016-08-08 17:49:05 -07:00
2016-11-09 22:28:05 +01:00
2016-09-23 10:35:32 +02:00
2021-06-03 08:23:27 +02:00
2016-08-26 17:39:34 -07:00
2016-05-24 14:12:48 +10:00
2016-02-26 15:30:20 +00:00
2020-01-04 13:41:02 +01:00
2020-06-30 15:38:43 -04:00
2018-02-25 11:05:47 +01:00
2015-08-16 22:11:16 -06:00
2016-05-13 14:02:05 +02:00
2015-09-04 16:54:41 -07:00
2016-09-09 10:31:19 +02:00
2021-03-07 11:25:55 +01:00
2016-07-07 15:58:45 +02:00
2021-02-23 13:59:17 +01:00
2016-06-07 22:57:10 +02:00
2016-01-28 11:40:32 +01:00
2020-04-02 17:20:27 +02:00
2015-04-02 16:42:08 +02:00
2016-10-10 14:51:44 -07:00
2018-11-23 08:20:35 +01:00
2018-08-17 20:59:29 +02:00
2018-11-23 08:20:35 +01:00
2015-08-07 16:26:13 +01:00
2019-08-25 10:51:47 +02:00
2016-11-11 08:45:08 -08:00
2021-06-03 08:23:27 +02:00
2021-07-28 09:14:25 +02:00
2020-06-30 15:38:23 -04:00
2018-01-17 09:38:58 +01:00
2019-10-29 09:15:06 +01:00
2021-06-03 08:23:27 +02:00
2016-02-09 10:09:52 -08:00
2021-03-17 16:10:15 +01:00
2019-08-04 09:33:38 +02:00
2021-03-17 16:10:15 +01:00
2020-11-10 10:23:50 +01:00
2021-06-03 08:23:27 +02:00
2016-06-14 13:18:33 +01:00
2016-03-23 16:00:46 +01:00
2016-10-07 18:46:30 -07:00
2021-06-03 08:23:27 +02:00
2015-08-28 17:04:40 +02:00
2018-04-13 19:48:21 +02:00
2018-12-08 13:05:05 +01:00
2016-08-31 13:59:31 +02:00