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