]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Add resource alloc/dealloc debugging
authorMatan Barak <matanb@mellanox.com>
Sun, 29 Jan 2017 16:56:15 +0000 (18:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jan 2017 20:26:42 +0000 (15:26 -0500)
commita59ea4a4026572a488bfd7b8aaf43c24b4f8859c
tree7a24d599d6c76886df6cc961a62a74e70672a424
parent4efdab3fba7d66082d67f5e0a564dafa301d09f1
net/mlx4_core: Add resource alloc/dealloc debugging

In order to aid debugging of functions that take a resource but
don't put it, add the last function name that successfully grabbed
this resource.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c