Files
linux/include/trace/events
Roman Bolshakov d583c728ce scsi: target: core: Add CONTROL field for trace events
[ Upstream commit 7010645ba7 ]

trace-cmd report doesn't show events from target subsystem because
scsi_command_size() leaks through event format string:

  [target:target_sequencer_start] function scsi_command_size not defined
  [target:target_cmd_complete] function scsi_command_size not defined

Addition of scsi_command_size() to plugin_scsi.c in trace-cmd doesn't
help because an expression is used inside TP_printk(). trace-cmd event
parser doesn't understand minus sign inside [ ]:

  Error: expected ']' but read '-'

Rather than duplicating kernel code in plugin_scsi.c, provide a dedicated
field for CONTROL byte.

Link: https://lore.kernel.org/r/20200929125957.83069-1-r.bolshakov@yadro.com
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-30 10:38:29 +01:00
..
2020-04-02 15:28:19 +02:00
2018-04-16 11:53:35 +01:00
2017-12-13 15:10:01 -05:00
2018-04-04 13:41:27 +01:00
2018-06-19 10:06:29 -07:00
2017-09-25 20:38:26 +02:00
2018-02-23 14:29:59 +00:00
2018-07-26 10:17:47 +02:00
2018-02-13 21:30:22 +01:00
2020-07-22 09:32:13 +02:00
2017-12-19 10:56:24 +01:00
2018-04-18 23:37:39 -04:00