remarkable-linux/include/trace/events
Roland Dreier 2053a1db41 target: Fix assignment of LUN in tracepoints
The unpacked_lun field in the SCSI target tracepoints should be
initialized with cmd->orig_fe_lun rather than cmd->se_lun->unpacked_lun
for two reasons:

 - most importantly, if we are in the cmd_complete tracepoint
   returning a check condition due to no LUN found, cmd->se_lun will
   be NULL and we'll crash trying to dereference it.

 - also, in any case, cmd->se_lun->unpacked_lun is an internal index
   into the target's internal set of LUNs; cmd->orig_fe_lun is much
   more useful and interesting, since it's the value the initiator
   actually sent.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Cc: <stable@vger.kernel.org> # 3.11+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2013-10-09 01:54:44 -07:00
..
9p.h 9p: trace: use %*ph to dump buffer 2013-05-28 13:42:08 -05:00
asoc.h
bcache.h bcache: Rip out pkey()/pbtree() 2013-06-26 17:09:15 -07:00
block.h block: Add nr_bios to block_rq_remap tracepoint 2013-09-21 13:57:47 -06:00
btrfs.h btrfs: add lockdep and tracing annotations for uuid tree 2013-09-21 10:58:56 -04:00
compaction.h
context_tracking.h context_tracking: User/kernel broundary cross trace events 2013-08-14 17:14:48 +02:00
ext3.h jbd: change journal_invalidatepage() to accept length 2013-05-21 23:26:36 -04:00
ext4.h ext4: isolate ext4_extents.h file 2013-08-28 14:47:06 -04:00
f2fs.h f2fs: add a tracepoint on f2fs_new_inode 2013-04-29 10:52:01 +09:00
filemap.h mm: trace filemap add and del 2013-04-29 15:54:28 -07:00
gfpflags.h
gpio.h
host1x.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
irq.h
jbd.h
jbd2.h jbd2: trace when lock_buffer in do_get_write_access takes a long time 2013-04-21 16:47:54 -04:00
kmem.h mm/page_alloc.c: fix the value of fallback_migratetype in alloc_extfrag tracepoint() 2013-09-11 15:57:19 -07:00
kvm.h KVM: Extract generic irqchip logic into irqchip.c 2013-04-26 20:27:17 +02:00
lock.h
mce.h
migrate.h
module.h
napi.h
net.h
nmi.h x86: Add NMI duration tracepoints 2013-06-23 11:52:58 +02:00
oom.h
pagemap.h mm: add tracepoints for LRU activation and insertions 2013-07-03 16:07:31 -07:00
power.h PM / Sleep: new trace event to print device suspend and resume times 2013-07-27 03:18:35 +02:00
printk.h printk/tracing: rework console tracing 2013-04-29 18:28:13 -07:00
random.h
ras.h
rcu.h rcu: Add const annotation to char * for RCU tracepoints and functions 2013-07-29 17:07:49 -04:00
regmap.h regmap: Add support for discarding parts of the register cache 2013-05-12 18:46:47 +04:00
regulator.h
rpm.h
sched.h tracing/perf: Reimplement TP_perf_assign() logic 2013-08-13 21:05:57 -04:00
scsi.h
signal.h
skb.h
sock.h
sunrpc.h SUNRPC: Replace pointer values with task->tk_pid and rpc_clnt->cl_clid 2013-09-05 10:13:16 -04:00
syscalls.h
target.h target: Fix assignment of LUN in tracepoints 2013-10-09 01:54:44 -07:00
task.h
timer.h Merge branch 'timers-nohz-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-05-05 13:23:27 -07:00
udp.h
vmscan.h shrinker: Kill old ->shrink API. 2013-09-10 18:56:32 -04:00
workqueue.h
writeback.h writeback: replace custom worker pool implementation with unbound workqueue 2013-04-01 19:08:06 -07:00
xen.h