to do macro expansion here, so we need to fix this.
(We don't use enum for traceevents.)
Thanks,
Yoshihiro YUNOMAE
But we can make these tracepoints dependent on CONFIG_SCSI_CONSTANTS to
still allow building lighter kernels if we really care about it.
--
To unsubscribe from this list: send the l
(2014/09/02 0:15), Christoph Hellwig wrote:
On Mon, Sep 01, 2014 at 12:33:28PM +, Yoshihiro YUNOMAE wrote:
For getting driver byte, host byte, msg byte, and status byte, macros are
implemented in scsi/scsi.h, so we use it.
As mentioned about three times in various previous scsi logging
(2014/09/02 0:15), Christoph Hellwig wrote:
On Mon, Sep 01, 2014 at 12:33:28PM +, Yoshihiro YUNOMAE wrote:
For getting driver byte, host byte, msg byte, and status byte, macros are
implemented in scsi/scsi.h, so we use it.
As mentioned about three times in various previous scsi logging
://vger.kernel.org/majordomo-info.html
--
Yoshihiro YUNOMAE
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: yoshihiro.yunomae...@hitachi.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
Zzz" including space. We use a decoder
in constants, so this patch adds double quotes for the name.
Note:
- If CONFIG_SCSI_CONSTANTS is disabled, command names are not shown.
- Add command names for 0x07 and 0x2b.
Signed-off-by: Yoshihiro YUNOMAE
Cc: Hannes Reinecke
Cc: Doug Gilbert
Cc: Ma
For getting driver byte, host byte, msg byte, and status byte, macros are
implemented in scsi/scsi.h, so we use it.
Signed-off-by: Yoshihiro YUNOMAE
Reviewed-by: Ewan D. Milne
Reviewed-by: Hannes Reinecke
Cc: Hannes Reinecke
Cc: Doug Gilbert
Cc: Martin K. Petersen
Cc: Christoph Hellwig
Cc
]
This patchset is based on Hannes' logging branch:
http://git.kernel.org/cgit/linux/kernel/git/hare/scsi-devel.git/log/?h=logging
Thanks,
Yoshihiro YUNOMAE
---
Yoshihiro YUNOMAE (3):
scsi/trace: Use macros for getting driver byte, host byte, msg byte, and
status byte
scsi/trace: Delete duplicated
There are decoders of hostbyte and driverbyte in constants.c, so this patch
deletes those in SCSI traveevents.
Note:
If CONFIG_SCSI_CONSTANTS is disabled, hostbyte, driverbyte, msgbyte, and
statusbyte are output as raw format from this patch.
Signed-off-by: Yoshihiro YUNOMAE
Cc: Hannes Reinecke
Hi Hannes,
Sorry for the late reply.
(2014/08/28 21:15), Hannes Reinecke wrote:
On 08/28/2014 08:19 AM, Yoshihiro YUNOMAE wrote:
Hi Hannes,
I tried to remove duplicated decoder of SCSI command, but the
output format of it in constants.c is different from it in traceevents.
I have two
Hi Hannes,
Sorry for the late reply.
(2014/08/28 21:15), Hannes Reinecke wrote:
On 08/28/2014 08:19 AM, Yoshihiro YUNOMAE wrote:
Hi Hannes,
I tried to remove duplicated decoder of SCSI command, but the
output format of it in constants.c is different from it in traceevents.
I have two
]
This patchset is based on Hannes' logging branch:
http://git.kernel.org/cgit/linux/kernel/git/hare/scsi-devel.git/log/?h=logging
Thanks,
Yoshihiro YUNOMAE
---
Yoshihiro YUNOMAE (3):
scsi/trace: Use macros for getting driver byte, host byte, msg byte, and
status byte
scsi/trace: Delete duplicated
There are decoders of hostbyte and driverbyte in constants.c, so this patch
deletes those in SCSI traveevents.
Note:
If CONFIG_SCSI_CONSTANTS is disabled, hostbyte, driverbyte, msgbyte, and
statusbyte are output as raw format from this patch.
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae
For getting driver byte, host byte, msg byte, and status byte, macros are
implemented in scsi/scsi.h, so we use it.
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Reviewed-by: Ewan D. Milne emi...@redhat.com
Reviewed-by: Hannes Reinecke h...@suse.de
Cc: Hannes Reinecke h
. We use a decoder
in constants, so this patch adds double quotes for the name.
Note:
- If CONFIG_SCSI_CONSTANTS is disabled, command names are not shown.
- Add command names for 0x07 and 0x2b.
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Hannes Reinecke h...@suse.de
Cc
rds.
(Ex2)
traceevents: (nothing)
constants: Set limits(12)
=> Should we merge those decoder?
I understand we use the decoder of constants, but we need to solve
these problems. Would you give me your comments?
Thanks,
Yoshihiro YUNOMAE
(2014/08/28 10:40), Yoshihiro YUNOMAE wrote:
(2014/08/27 23:
)
constants: Set limits(12)
= Should we merge those decoder?
I understand we use the decoder of constants, but we need to solve
these problems. Would you give me your comments?
Thanks,
Yoshihiro YUNOMAE
(2014/08/28 10:40), Yoshihiro YUNOMAE wrote:
(2014/08/27 23:16), Hannes Reinecke wrote
(2014/08/27 23:16), Hannes Reinecke wrote:
On 08/08/2014 01:50 PM, Yoshihiro YUNOMAE wrote:
Previous printk messages of SCSI command can be mixed into other printk
messages because multiple printk messages are output for it. To avoid the
problem, patch 4e64bb8d6 in Hannes' branch(*1) introduced
(2014/08/27 23:16), Hannes Reinecke wrote:
On 08/08/2014 01:50 PM, Yoshihiro YUNOMAE wrote:
There are no mean that additional sense code and additional sense code
qualifier
are output as different messages of sense key, so those information
are added.
Note:
scsi_show_extd_sense() is changed
(2014/08/27 23:15), Hannes Reinecke wrote:
On 08/08/2014 01:50 PM, Yoshihiro YUNOMAE wrote:
Previous sense messages can be mixed into other sense messages,
because continuous printk (KERN_CONT) was used. To avoid the problem,
patch d87f3a6f51 introduced a local buffer in Hannes's baranch (*1
(2014/08/27 23:12), Hannes Reinecke wrote:
On 08/08/2014 01:50 PM, Yoshihiro YUNOMAE wrote:
Current SCSI trace has hostbyte table and driverbyte table, so we
don't need to
have the same table in scsi/constants.c.
- Result examples
(printk)
sd 2:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte
(2014/08/27 23:12), Hannes Reinecke wrote:
On 08/08/2014 01:50 PM, Yoshihiro YUNOMAE wrote:
Current SCSI trace has hostbyte table and driverbyte table, so we
don't need to
have the same table in scsi/constants.c.
- Result examples
Before (printk)
sd 2:0:0:0: [sda] Result: hostbyte=DID_OK
(2014/08/27 23:15), Hannes Reinecke wrote:
On 08/08/2014 01:50 PM, Yoshihiro YUNOMAE wrote:
Previous sense messages can be mixed into other sense messages,
because continuous printk (KERN_CONT) was used. To avoid the problem,
patch d87f3a6f51 introduced a local buffer in Hannes's baranch (*1
(2014/08/27 23:16), Hannes Reinecke wrote:
On 08/08/2014 01:50 PM, Yoshihiro YUNOMAE wrote:
There are no mean that additional sense code and additional sense code
qualifier
are output as different messages of sense key, so those information
are added.
Note:
scsi_show_extd_sense() is changed
(2014/08/27 23:16), Hannes Reinecke wrote:
On 08/08/2014 01:50 PM, Yoshihiro YUNOMAE wrote:
Previous printk messages of SCSI command can be mixed into other printk
messages because multiple printk messages are output for it. To avoid the
problem, patch 4e64bb8d6 in Hannes' branch(*1) introduced
(2014/08/16 0:08), Ewan Milne wrote:
On Fri, 2014-08-08 at 11:50 +, Yoshihiro YUNOMAE wrote:
Unrecognized sense data should be output after linebuf is filled because
"[%s] Unrecognized sense data (in hex): %s" message is output many times in
loop.
Signed-off-by: Yoshihiro Y
Hi Ewan,
Thank you for your review.
(2014/08/16 0:05), Ewan Milne wrote:
On Fri, 2014-08-08 at 11:50 +, Yoshihiro YUNOMAE wrote:
All bytes in CDB should be output after linebuf is filled because
"[%s] CDB: %s\n" message is output many times in loop.
Signed-off-by: Yoshihiro Y
Hi Ewan,
Thank you for your review.
(2014/08/16 0:05), Ewan Milne wrote:
On Fri, 2014-08-08 at 11:50 +, Yoshihiro YUNOMAE wrote:
All bytes in CDB should be output after linebuf is filled because
[%s] CDB: %s\n message is output many times in loop.
Signed-off-by: Yoshihiro YUNOMAE
(2014/08/16 0:08), Ewan Milne wrote:
On Fri, 2014-08-08 at 11:50 +, Yoshihiro YUNOMAE wrote:
Unrecognized sense data should be output after linebuf is filled because
[%s] Unrecognized sense data (in hex): %s message is output many times in
loop.
Signed-off-by: Yoshihiro YUNOMAE
Hi Elliot,
Thank you for your comment.
(2014/08/12 23:51), Elliott, Robert (Server Storage) wrote:
-Original Message-
From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-
ow...@vger.kernel.org] On Behalf Of Yoshihiro YUNOMAE
Sent: Friday, 08 August, 2014 6:50 AM
...
Subject
Hi Douglas,
Thank you for your comment.
(2014/08/08 22:07), Douglas Gilbert wrote:
On 14-08-08 01:50 PM, Yoshihiro YUNOMAE wrote:
Hi All,
This patch set introduces new traceevents in order to output
continuous error
messages. Current SCSI printk messages in upstream kernel can be
divided
Hi Douglas,
Thank you for your comment.
(2014/08/08 22:07), Douglas Gilbert wrote:
On 14-08-08 01:50 PM, Yoshihiro YUNOMAE wrote:
Hi All,
This patch set introduces new traceevents in order to output
continuous error
messages. Current SCSI printk messages in upstream kernel can be
divided
Hi Elliot,
Thank you for your comment.
(2014/08/12 23:51), Elliott, Robert (Server Storage) wrote:
-Original Message-
From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-
ow...@vger.kernel.org] On Behalf Of Yoshihiro YUNOMAE
Sent: Friday, 08 August, 2014 6:50 AM
...
Subject
. Sense: Unrecovered read error
(ftrace, merged into scsi_print_sense traceevent)
scsi_print_sense: host_no=2 channel=0 id=0 lun=0 [sda] Sense Key (Medium Error
[current]) Add. Sense (Unrecovered read error)
Signed-off-by: Yoshihiro YUNOMAE
Cc: Hannes Reinecke
Cc: Doug Gilbert
Cc: Martin K
Unrecognized sense data should be output after linebuf is filled because
"[%s] Unrecognized sense data (in hex): %s" message is output many times in
loop.
Signed-off-by: Yoshihiro YUNOMAE
Cc: Hannes Reinecke
Cc: Doug Gilbert
Cc: Martin K. Petersen
Cc: Christoph Hellwig
Cc:
All bytes in CDB should be output after linebuf is filled because
"[%s] CDB: %s\n" message is output many times in loop.
Signed-off-by: Yoshihiro YUNOMAE
Cc: Hannes Reinecke
Cc: Doug Gilbert
Cc: Martin K. Petersen
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley"
Cc
For getting driver byte, host byte, msg byte, and status byte, macros are
implemented in scsi/scsi.h, so we use it.
Signed-off-by: Yoshihiro YUNOMAE
Cc: Hannes Reinecke
Cc: Doug Gilbert
Cc: Martin K. Petersen
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley"
Cc: Hidehiro Kawai
If sense_flags and fixed_valid are zero, the kernel does not need to
output a printk message. So, if those conditions are met, it just returns.
Signed-off-by: Yoshihiro YUNOMAE
Cc: Hannes Reinecke
Cc: Doug Gilbert
Cc: Martin K. Petersen
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley
(10)
scsi_print_command: host_no=2 channel=0 id=0 lun=0 [sda] CDB (Read(10))
Signed-off-by: Yoshihiro YUNOMAE
Cc: Hannes Reinecke
Cc: Doug Gilbert
Cc: Martin K. Petersen
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley"
Cc: Hidehiro Kawai
Cc: Masami Hiramatsu
---
drivers/scs
: host_no=2 channel=0 id=0 lun=0 [sda] Sense Key (Medium Error
[current])
Signed-off-by: Yoshihiro YUNOMAE
Cc: Hannes Reinecke
Cc: Doug Gilbert
Cc: Martin K. Petersen
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley"
Cc: Hidehiro Kawai
Cc: Masami Hiramatsu
---
drivers/scsi/constants.c
A device name is output like "sda: Sense Key : Medium Error [current]"
in __scsi_print_sense(), but it should be "[sda] Sense Key : Medium Error
[current]" because other printk messages output a device name like "[sda] foo."
Signed-off-by: Yoshihiro YUNOMAE
Cc: Han
sd_print_sense_hdr() calls scsi_show_extd_sense(),
but scsi_print_sense_hdr() also calls scsi_show_extd_sense().
We can get same result, so we delete it.
Note:
Calling scsi_show_extd_sense() is introduced in fdd8b297.
Signed-off-by: Yoshihiro YUNOMAE
Cc: Hannes Reinecke
Cc: Doug Gilbert
Cc
=DRIVER_SENSE host=DID_OK)
Signed-off-by: Yoshihiro YUNOMAE
Cc: Hannes Reinecke
Cc: Doug Gilbert
Cc: Martin K. Petersen
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley"
Cc: Hidehiro Kawai
Cc: Masami Hiramatsu
---
drivers/scsi/constants.c
Any comments are welcome!
Thanks,
Yoshihiro YUNOMAE
---
Yoshihiro YUNOMAE (10):
scsi/constants: Cleanup printk message in __scsi_print_sense()
scsi/constants: Cleanup printk message in scsi_decode_sense_extras()
scsi/constants: Cleanup printk message in __scsi_print_command
Any comments are welcome!
Thanks,
Yoshihiro YUNOMAE
---
Yoshihiro YUNOMAE (10):
scsi/constants: Cleanup printk message in __scsi_print_sense()
scsi/constants: Cleanup printk message in scsi_decode_sense_extras()
scsi/constants: Cleanup printk message in __scsi_print_command
sd_print_sense_hdr() calls scsi_show_extd_sense(),
but scsi_print_sense_hdr() also calls scsi_show_extd_sense().
We can get same result, so we delete it.
Note:
Calling scsi_show_extd_sense() is introduced in fdd8b297.
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Hannes
]
result=(driver=DRIVER_SENSE host=DID_OK)
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Hannes Reinecke h...@suse.de
Cc: Doug Gilbert dgilb...@interlog.com
Cc: Martin K. Petersen martin.peter...@oracle.com
Cc: Christoph Hellwig h...@lst.de
Cc: James E.J. Bottomley jbottom
)
scsi_print_sense: host_no=2 channel=0 id=0 lun=0 [sda] Sense Key (Medium Error
[current])
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Hannes Reinecke h...@suse.de
Cc: Doug Gilbert dgilb...@interlog.com
Cc: Martin K. Petersen martin.peter...@oracle.com
Cc: Christoph Hellwig h
A device name is output like sda: Sense Key : Medium Error [current]
in __scsi_print_sense(), but it should be [sda] Sense Key : Medium Error
[current] because other printk messages output a device name like [sda] foo.
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Hannes
For getting driver byte, host byte, msg byte, and status byte, macros are
implemented in scsi/scsi.h, so we use it.
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Hannes Reinecke h...@suse.de
Cc: Doug Gilbert dgilb...@interlog.com
Cc: Martin K. Petersen martin.peter
If sense_flags and fixed_valid are zero, the kernel does not need to
output a printk message. So, if those conditions are met, it just returns.
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Hannes Reinecke h...@suse.de
Cc: Doug Gilbert dgilb...@interlog.com
Cc: Martin K
: Read(10)
After
scsi_print_command: host_no=2 channel=0 id=0 lun=0 [sda] CDB (Read(10))
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Hannes Reinecke h...@suse.de
Cc: Doug Gilbert dgilb...@interlog.com
Cc: Martin K. Petersen martin.peter...@oracle.com
Cc: Christoph Hellwig
All bytes in CDB should be output after linebuf is filled because
[%s] CDB: %s\n message is output many times in loop.
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Hannes Reinecke h...@suse.de
Cc: Doug Gilbert dgilb...@interlog.com
Cc: Martin K. Petersen martin.peter
Unrecognized sense data should be output after linebuf is filled because
[%s] Unrecognized sense data (in hex): %s message is output many times in
loop.
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Hannes Reinecke h...@suse.de
Cc: Doug Gilbert dgilb...@interlog.com
Cc
] Add. Sense: Unrecovered read error
After (ftrace, merged into scsi_print_sense traceevent)
scsi_print_sense: host_no=2 channel=0 id=0 lun=0 [sda] Sense Key (Medium Error
[current]) Add. Sense (Unrecovered read error)
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Hannes
Hi Steven,
Thank you for your review.
(2014/07/23 0:04), Steven Rostedt wrote:
Sorry for taking so long to reply, I've been hacking on the kernel a
bit and that takes precedence over user tools :-/
On Fri, 11 Jul 2014 00:58:26 +
Yoshihiro YUNOMAE wrote:
Apply trace-msg protocol
Current code allocates too much data for tty_groups member of uart_port struct,
so fix it.
Signed-off-by: Yoshihiro YUNOMAE
CC: Greg Kroah-Hartman
CC: Dan Carpenter
---
drivers/tty/serial/serial_core.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial
Current code allocates too much data for tty_groups member of uart_port struct,
so fix it.
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
CC: Greg Kroah-Hartman gre...@linuxfoundation.org
CC: Dan Carpenter dan.carpen...@oracle.com
---
drivers/tty/serial/serial_core.c |2
Hi Steven,
Thank you for your review.
(2014/07/23 0:04), Steven Rostedt wrote:
Sorry for taking so long to reply, I've been hacking on the kernel a
bit and that takes precedence over user tools :-/
On Fri, 11 Jul 2014 00:58:26 +
Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote
From: Greg Kroah-Hartman
Some serial drivers (like 8250), want to add sysfs files. We need to do
so in a race-free way, so allow any port to be able to specify an
attribute group that should be added at device creation time.
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Yoshihiro YUNOMAE
IFORTRIG definition
- Pass the interrupt trigger value itself
Signed-off-by: Yoshihiro YUNOMAE
---
Documentation/ABI/testing/sysfs-tty | 16 +++
drivers/tty/serial/8250/8250.h |2
drivers/tty/serial/8250/8250_core.c | 173 ---
include/linux/serial_8250.h
rs to have a default attribute group
Yoshihiro YUNOMAE (1):
serial/uart/8250: Add tunable RX interrupt trigger I/F of FIFO buffers
Documentation/ABI/testing/sysfs-tty | 16 +++
drivers/tty/serial/8250/8250.h |2
drivers/tty/serial/8250/8250_core.c | 173 ++
for TIOCSFIFORTRIG definition
- Pass the interrupt trigger value itself
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
---
Documentation/ABI/testing/sysfs-tty | 16 +++
drivers/tty/serial/8250/8250.h |2
drivers/tty/serial/8250/8250_core.c | 173
group
Yoshihiro YUNOMAE (1):
serial/uart/8250: Add tunable RX interrupt trigger I/F of FIFO buffers
Documentation/ABI/testing/sysfs-tty | 16 +++
drivers/tty/serial/8250/8250.h |2
drivers/tty/serial/8250/8250_core.c | 173 ---
drivers/tty
...@linuxfoundation.org
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
---
drivers/tty/serial/serial_core.c | 24 +---
include/linux/serial_core.h |2 ++
2 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/drivers/tty/serial/serial_core.c b
K, I'll test it.
If it works for you, can you redo your second patch, and then send both
of these back to me so that I can apply them?
Sure.
Thank you,
Yoshihiro YUNOMAE
--
Yoshihiro YUNOMAE
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Labora
, can you redo your second patch, and then send both
of these back to me so that I can apply them?
Sure.
Thank you,
Yoshihiro YUNOMAE
--
Yoshihiro YUNOMAE
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: yoshihiro.yunomae...@hitachi.com
()
Fix some typos
Signed-off-by: Yoshihiro YUNOMAE
---
trace-msg.c | 42 --
1 file changed, 36 insertions(+), 6 deletions(-)
diff --git a/trace-msg.c b/trace-msg.c
index 08fa2a6..db48365 100644
--- a/trace-msg.c
+++ b/trace-msg.c
@@ -395,6 +395,27
[4/6] Change _nw/_NW to _net/_NET
[5/6] Change _nw/_NW to _net/_NET
[6/6] Add this patch based on Steven's review
(https://lkml.org/lkml/2013/10/14/618)
Changes in V2:
[1/5] Add a comment in open_udp()
[2/5] Regacy protocol support in order to keep backward compatibility
Thank you,
---
nges in V3: Change _nw/_NW to _net/_NET
Signed-off-by: Yoshihiro YUNOMAE
---
Documentation/trace-cmd-record.1.txt | 11 -
trace-cmd.h |4 +-
trace-msg.c | 79 +++---
trace-msg.h
ched
# sleep 5
# ./trace-cmd snapshot -s
# ./trace-cmd extract -N :12345 -s
Changes in V4: Fix some typos, cleanups and rebase for current trace-cmd-v2.4
Change the argument of tracecmd_msg_recv()
Changes in V3: Change the license of trace-msg.c to LGPL v2.1
Cha
-server --dom guest1 -c 2
- trace-cmd creates guest2 and guest3 directories
# trace-cmd virt-server --dom guest2 -c 3 --dom guest3 -c 1
Changes in V4: Introduce parse_args_virt()
Add usage of virt-server in trace-usage.c
Signed-off-by: Yoshihiro YUNOMAE
---
Documentation/trace
/)
- Use named pipe I/Fs of virtio-serial for trace data paths
- Use UNIX domain socket for connecting clients on guests
- Use splice(2) for collecting trace data of guests
- Use libvirt when we boot guests
Changes in V4: Fix some typos and cleanup
Changes in V3: Change _nw/_NW to _net/_NET
S
))
Changes in V3: Change _nw/_NW to _net/_NET
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
---
Documentation/trace-cmd-record.1.txt | 11 -
trace-cmd.h |4 +-
trace-msg.c | 79 +++---
trace
()
Changes in V3: Change the license of trace-msg.c to LGPL v2.1
Changes in V2: Regacy porotocol support in order to keep backward compatibility
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
---
Makefile |2
trace-cmd.h| 11 +
trace-listen.c | 133 +++
trace
.
# trace-cmd virt-server --dom guest1 -c 2
- trace-cmd creates guest2 and guest3 directories
# trace-cmd virt-server --dom guest2 -c 3 --dom guest3 -c 1
Changes in V4: Introduce parse_args_virt()
Add usage of virt-server in trace-usage.c
Signed-off-by: Yoshihiro YUNOMAE
-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
---
Documentation/trace-cmd-virt-server.1.txt | 89 ++
trace-cmd.c |3
trace-cmd.h |2
trace-listen.c| 467 -
trace
()
Fix some typos
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
---
trace-msg.c | 42 --
1 file changed, 36 insertions(+), 6 deletions(-)
diff --git a/trace-msg.c b/trace-msg.c
index 08fa2a6..db48365 100644
--- a/trace-msg.c
+++ b
in open_udp()
[2/5] Regacy protocol support in order to keep backward compatibility
Thank you,
---
Yoshihiro YUNOMAE (5):
trace-cmd/listen: Apply the trace-msg protocol for communication between
a server and clients
trace-cmd/msg: Use poll(2) to wait for a message
trace-cmd
Hi Steven,
I found two small bugs for current trace-cmd, so I fixed those.
1st patch fixes the problem which listen server reader processes abort silently.
2nd patch fixes the problem which trace-cmd cannot record trace data of
multiple buffers in old kernels.
Thank you,
---
Yoshihiro YUNOMAE
will be fully able to output
the client's tracing data and we will not get this error.
Signed-off-by: Yoshihiro YUNOMAE
Cc: Steven Rostedt
---
trace-output.c |1 +
1 file changed, 1 insertion(+)
diff --git a/trace-output.c b/trace-output.c
index ed81466..b033baa 100644
--- a/trace-output.c
+
9-200 and 3.15.0-rc2+.
Signed-off-by: Yoshihiro YUNOMAE
Cc: Steven Rostedt
---
trace-record.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/trace-record.c b/trace-record.c
index d3dd0c5..1912175 100644
--- a/trace-record.c
+++ b/trace-record.c
@@ -890,8 +890,18 @@
will be fully able to output
the client's tracing data and we will not get this error.
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Steven Rostedt rost...@goodmis.org
---
trace-output.c |1 +
1 file changed, 1 insertion(+)
diff --git a/trace-output.c b/trace-output.c
index
+.
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Steven Rostedt rost...@goodmis.org
---
trace-record.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/trace-record.c b/trace-record.c
index d3dd0c5..1912175 100644
--- a/trace-record.c
+++ b
Hi Steven,
I found two small bugs for current trace-cmd, so I fixed those.
1st patch fixes the problem which listen server reader processes abort silently.
2nd patch fixes the problem which trace-cmd cannot record trace data of
multiple buffers in old kernels.
Thank you,
---
Yoshihiro YUNOMAE
on
- Pass the interrupt trigger value itself
---
Yoshihiro YUNOMAE (2):
serial/uart: Introduce device specific attribute group to uart_port
structure
serial/uart/8250: Add tunable RX interrupt trigger I/F of FIFO buffers
Documentation/ABI/testing/sysfs-tty | 16 +++
driver
er p->fcr is existing at serial8250_clear_and_reinit_fifos()
- Set fcr = up->fcr in the begging of serial8250_do_set_termios()
Changes in V3:
- Change I/F from ioctl(2) to sysfs(rx_int_trig)
Changed in V2:
- Use _IOW for TIOCSFIFORTRIG definition
- Pass the interrupt trigger value itself
Signed-off-by: Yoshihiro YUNO
on Greg's comment
Signed-off-by: Yoshihiro YUNOMAE
---
drivers/tty/serial/serial_core.c | 18 +++---
include/linux/serial_core.h |4
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
ood sample
[O] bisect-bad sample
Disclaimer:
Results have been estimated based on internal Intel analysis and are
provided
for informational purposes only. Any difference in system hardware or
software
design or configuration may affect actual performance.
Thanks,
Jet
--
Yoshihiro YUNOMA
[O] bisect-bad sample
Disclaimer:
Results have been estimated based on internal Intel analysis and are
provided
for informational purposes only. Any difference in system hardware or
software
design or configuration may affect actual performance.
Thanks,
Jet
--
Yoshihiro YUNOMAE
Software
on Greg's comment
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
---
drivers/tty/serial/serial_core.c | 18 +++---
include/linux/serial_core.h |4
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/drivers/tty/serial/serial_core.c b
:
These sysfs values expose the TIOCGSERIAL interface via
sysfs rather than via ioctls.
+
+What: /sys/class/tty/ttyS0/rx_trig_bytes
+Date: May 2014
+Contact: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
+Description:
+Shows
trigger value itself
---
Yoshihiro YUNOMAE (2):
serial/uart: Introduce device specific attribute group to uart_port
structure
serial/uart/8250: Add tunable RX interrupt trigger I/F of FIFO buffers
Documentation/ABI/testing/sysfs-tty | 16 +++
drivers/tty/serial/8250/8250.h
Hi Steven,
Thank you for applying my patches.
I received build warning report from kbuild test bot,
so I fixed it. Would you apply this patch?
Thank you,
Yoshihiro YUNOMAE
(2014/06/06 15:28), Yoshihiro YUNOMAE wrote:
Remove return value in event_trace_self_tests() when top_trace_array
Remove return value in event_trace_self_tests() when top_trace_array() returns
NULL because event_trace_self_tests() is void type.
Signed-off-by: Yoshihiro YUNOMAE
Cc: Steven Rostedt
Cc: Ingo Molnar
Cc: linux-kernel@vger.kernel.org
---
kernel/trace/trace_events.c |2 +-
1 file changed, 1
Remove return value in event_trace_self_tests() when top_trace_array() returns
NULL because event_trace_self_tests() is void type.
Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Ingo Molnar mi...@redhat.com
Cc: linux-kernel
Hi Steven,
Thank you for applying my patches.
I received build warning report from kbuild test bot,
so I fixed it. Would you apply this patch?
Thank you,
Yoshihiro YUNOMAE
(2014/06/06 15:28), Yoshihiro YUNOMAE wrote:
Remove return value in event_trace_self_tests() when top_trace_array
Hi Steven,
I found three small bugs for current ftrace/core, so I fixed those.
Would you apply these patches?
Thanks!
---
Yoshihiro YUNOMAE (3):
trace/event: Return error if ftrace_trace_arrays is empty list
trace/kprobes: Avoid self tests if tracing is disabled on boot up
Current new_instance_create() implements just two fail paths for four
allocation operations. So, it can induce memory leak if new instance
creation failed. This patch fixes it by defining all fail paths and
freeing allocated memories appropriately.
Signed-off-by: Yoshihiro YUNOMAE
Cc: Steven
it appropriately.
Signed-off-by: Yoshihiro YUNOMAE
Cc: Steven Rostedt
Cc: Ingo Molnar
Cc: linux-kernel@vger.kernel.org
---
kernel/trace/trace.h|3 +++
kernel/trace/trace_events.c | 13 +
2 files changed, 16 insertions(+)
diff --git a/kernel/trace/trace.h b/kernel/trace
If tracing is disabled on boot up, the kernel should not execute self tests.
In this patch, the kernel checks whether tracing is disabled or not
before executing self tests.
Signed-off-by: Yoshihiro YUNOMAE
Cc: Steven Rostedt
Cc: Ingo Molnar
Cc: Masami Hiramatsu
Cc: linux-kernel
1 - 100 of 494 matches
Mail list logo