Changbin Du
02a8a256f5
tracing: Fix missing return symbol in function_graph output
commit 1fe4293f4b 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: f8b755ac8e ("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:03:48 +02:00
..
2018-02-25 11:03:35 +01:00
2018-02-16 20:09:47 +01:00
2016-09-30 10:18:35 +02:00
2018-01-02 20:33:22 +01:00
2018-05-16 10:06:51 +02:00
2018-06-06 16:46:21 +02:00
2018-01-23 19:50:16 +01:00
2018-07-11 16:03:48 +02:00
2018-03-28 18:40:15 +02:00
2016-07-27 09:47:32 -07:00
2018-03-28 18:40:15 +02:00
2018-03-28 18:40:15 +02:00
2017-09-27 11:00:16 +02:00
2018-05-16 10:06:52 +02:00
2018-01-02 20:33:22 +01:00