aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorOr Gerlitz <[email protected]>2012-04-29 14:04:22 +0000
committerRoland Dreier <[email protected]>2012-05-08 18:16:54 +0000
commitc3bccbfbb71f5e8a77129c7a069f5c5648cc9cf1 (patch)
treef1802d86a4db8c263e6960c401c4f29be3f68b0a /tools/perf/util/trace-event-scripting.c
parentLinux 3.4-rc6 (diff)
downloadkernel-c3bccbfbb71f5e8a77129c7a069f5c5648cc9cf1.tar.gz
kernel-c3bccbfbb71f5e8a77129c7a069f5c5648cc9cf1.zip
IB/core: Use qp->usecnt to track multicast attach/detach
Just as we don't allow PDs, CQs, etc. to be destroyed if there are QPs that are attached to them, don't let a QP be destroyed if there are multicast group(s) attached to it. Use the existing usecnt field of struct ib_qp which was added by commit 0e0ec7e ("RDMA/core: Export ib_open_qp() to share XRC TGT QPs") to track this. Signed-off-by: Or Gerlitz <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions