Changbin Du
54f1da1ff0
tracing: Fix missing return symbol in function_graph output
...
commit 1fe4293f4b8de75824935f8d8e9a99c7fc6873da upstream.
The function_graph tracer does not show the interrupt return marker for the
leaf entry. On leaf entries, we see an unbalanced interrupt marker (the
interrupt was entered, but nevern left).
Before:
1) | SyS_write() {
1) | __fdget_pos() {
1) 0.061 us | __fget_light();
1) 0.289 us | }
1) | vfs_write() {
1) 0.049 us | rw_verify_area();
1) + 15.424 us | __vfs_write();
1) ==========> |
1) 6.003 us | smp_apic_timer_interrupt();
1) 0.055 us | __fsnotify_parent();
1) 0.073 us | fsnotify();
1) + 23.665 us | }
1) + 24.501 us | }
After:
0) | SyS_write() {
0) | __fdget_pos() {
0) 0.052 us | __fget_light();
0) 0.328 us | }
0) | vfs_write() {
0) 0.057 us | rw_verify_area();
0) | __vfs_write() {
0) ==========> |
0) 8.548 us | smp_apic_timer_interrupt();
0) <========== |
0) + 36.507 us | } /* __vfs_write */
0) 0.049 us | __fsnotify_parent();
0) 0.066 us | fsnotify();
0) + 50.064 us | }
0) + 50.952 us | }
Link: http://lkml.kernel.org/r/1517413729-20411-1-git-send-email-changbin.du@intel.com
Cc: stable@vger.kernel.org
Fixes: f8b755ac8e0cc ("tracing/function-graph-tracer: Output arrows signal on hardirq call/return")
Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-11 16:29:14 +02:00
..
2018-04-26 11:02:17 +02:00
2018-03-28 18:24:37 +02:00
2017-08-22 18:43:23 -07:00
2018-05-30 07:52:41 +02:00
2018-05-30 07:52:34 +02:00
2017-11-02 11:10:55 +01:00
2018-03-03 10:24:31 +01:00
2017-11-02 11:10:55 +01:00
2018-06-21 04:03:00 +09:00
2018-04-26 11:02:16 +02:00
2018-07-03 11:24:49 +02:00
2018-05-30 07:52:39 +02:00
2018-07-08 15:30:53 +02:00
2018-07-03 11:24:56 +02:00
2018-07-11 16:29:14 +02:00
2018-01-10 09:31:17 +01:00
2018-02-16 20:23:05 +01:00
2017-05-03 11:05:15 -07:00
2017-11-02 11:10:55 +01:00
2017-08-16 16:48:34 -07:00
2018-05-30 07:52:39 +02:00
2017-09-03 20:21:24 -04:00
2017-05-02 10:16:05 -04:00
2017-09-14 17:37:26 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-16 10:10:26 +02:00
2017-07-31 13:09:49 +02:00
2018-01-02 20:31:15 +01:00
2018-01-17 09:45:27 +01:00
2017-05-18 10:30:19 -06:00
2018-01-23 19:58:13 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-13 10:19:49 +01:00
2017-09-23 16:50:20 -04:00
2018-02-22 15:42:23 +01:00
2017-11-02 11:10:55 +01:00
2018-02-03 17:38:47 +01:00
2017-12-20 10:10:18 +01:00
2017-05-08 17:15:10 -07:00
2017-12-14 09:53:13 +01:00
2017-07-10 16:32:34 -07:00
2017-11-02 11:10:55 +01:00
2018-02-25 11:07:50 +01:00
2017-07-18 11:38:04 +02:00
2017-07-12 16:26:02 -07:00
2017-11-02 11:10:55 +01:00
2017-07-12 16:26:00 -07:00
2017-09-08 18:26:51 -07:00
2017-12-10 13:40:40 +01:00
2017-07-12 16:25:59 -07:00
2018-06-21 04:02:53 +09:00
2017-11-02 11:10:55 +01:00
2018-02-22 15:42:27 +01:00
2018-06-21 04:02:57 +09:00
2017-05-26 10:10:37 +02:00
2017-08-17 10:40:26 +02:00
2017-10-03 17:54:26 -07:00
2017-07-20 07:43:58 -05:00
2017-08-21 12:47:31 -07:00
2017-07-24 14:30:28 -05:00
2017-11-02 11:10:55 +01:00
2018-05-30 07:52:00 +02:00
2018-04-24 09:36:22 +02:00
2018-05-22 18:54:04 +02:00
2018-06-21 04:02:54 +09:00
2017-09-08 18:26:48 -07:00
2017-10-04 10:53:54 +02:00
2017-11-02 11:10:55 +01:00
2018-02-22 15:42:24 +01:00
2018-06-21 04:02:53 +09:00
2017-11-02 11:10:55 +01:00
2018-05-30 07:51:50 +02:00
2017-11-02 11:10:55 +01:00
2018-02-22 15:42:24 +01:00
2017-12-25 14:26:21 +01:00
2017-05-08 17:15:12 -07:00
2017-07-25 13:04:45 -07:00
2018-05-09 09:51:50 +02:00
2017-12-20 10:10:18 +01:00
2017-09-08 18:26:50 -07:00
2017-08-29 15:14:38 +02:00
2017-07-20 07:43:58 -05:00
2017-11-04 08:53:04 +01:00
2017-11-02 11:10:55 +01:00
2017-11-06 12:26:49 -08:00
2018-05-30 07:52:14 +02:00