Files
linux/include/trace/events
Roman Bolshakov 7f6a9001a4 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>
2023-05-16 09:39:49 +09:00
..
2016-02-26 10:52:48 +09:00
2016-08-07 14:41:02 -06:00
2016-08-07 14:41:02 -06:00
2016-07-14 22:16:05 -07:00
2018-02-22 19:19:04 +00:00
2015-09-01 14:32:44 -07:00
2016-08-17 11:13:07 +02:00
2016-09-29 10:03:38 +02:00
2020-12-17 17:32:11 +09:00
2013-06-23 11:52:58 +02:00
2016-04-11 16:57:09 -04:00
2015-08-05 12:27:09 -07:00