zhangwei(Jovi)
f36a0d6764
tracing: Fix irqs-off tag display in syscall tracing
commit 11034ae9c2 upstream.
All syscall tracing irqs-off tags are wrong, the syscall enter entry doesn't
disable irqs.
[root@jovi tracing]#echo "syscalls:sys_enter_open" > set_event
[root@jovi tracing]# cat trace
# tracer: nop
#
# entries-in-buffer/entries-written: 13/13 #P:2
#
# _-----=> irqs-off
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / delay
# TASK-PID CPU# |||| TIMESTAMP FUNCTION
# | | | |||| | |
irqbalance-513 [000] d... 56115.496766: sys_open(filename: 804e1a6, flags: 0, mode: 1b6)
irqbalance-513 [000] d... 56115.497008: sys_open(filename: 804e1bb, flags: 0, mode: 1b6)
sendmail-771 [000] d... 56115.827982: sys_open(filename: b770e6d1, flags: 0, mode: 1b6)
The reason is syscall tracing doesn't record irq_flags into buffer.
The proper display is:
[root@jovi tracing]#echo "syscalls:sys_enter_open" > set_event
[root@jovi tracing]# cat trace
# tracer: nop
#
# entries-in-buffer/entries-written: 14/14 #P:2
#
# _-----=> irqs-off
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / delay
# TASK-PID CPU# |||| TIMESTAMP FUNCTION
# | | | |||| | |
irqbalance-514 [001] .... 46.213921: sys_open(filename: 804e1a6, flags: 0, mode: 1b6)
irqbalance-514 [001] .... 46.214160: sys_open(filename: 804e1bb, flags: 0, mode: 1b6)
<...>-920 [001] .... 47.307260: sys_open(filename: 4e82a0c5, flags: 80000, mode: 0)
Link: http://lkml.kernel.org/r/1365564393-10972-3-git-send-email-jovi.zhangwei@huawei.com
Cc: stable@vger.kernel.org # 2.6.35
Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@huawei.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-07-28 16:26:46 -07:00
..
2012-04-05 15:25:50 -07:00
2013-06-13 09:45:03 -07:00
2013-03-14 11:29:51 -07:00
2011-10-26 17:03:38 +02:00
2011-06-14 22:04:39 -04:00
2013-01-17 08:50:51 -08:00
2011-09-27 22:53:27 +02:00
2011-09-19 11:35:58 -04:00
2012-03-24 08:19:09 +01:00
2012-02-21 11:08:30 -05:00
2011-08-19 14:35:59 -04:00
2013-05-19 10:54:40 -07:00
2012-05-10 15:55:43 -04:00
2012-05-10 15:55:43 -04:00
2011-07-07 22:26:27 -04:00
2011-07-07 11:30:08 -04:00
2013-04-05 10:04:37 -07:00
2012-02-21 11:08:25 -05:00
2011-07-26 16:49:47 -07:00
2012-04-19 17:00:13 -04:00
2011-08-10 20:36:32 -04:00
2013-04-05 10:04:37 -07:00
2011-05-18 19:24:51 -04:00
2013-05-11 13:48:14 -07:00
2013-06-13 09:45:03 -07:00
2013-05-07 19:51:54 -07:00
2013-07-28 16:26:46 -07:00
2013-07-28 16:25:47 -07:00
2013-04-05 10:04:37 -07:00