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