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)
commitae5a2e29d11eb9c6f0ed0676dc801996a933605b
tree7a24d599d6c76886df6cc961a62a74e70672a424
parent38353364015c64cde0ba30564069eb88874aa8ec
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