]> 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)
commitbbc12ae24f266e7032ed3fcdab0eefc9f669de43
tree7a24d599d6c76886df6cc961a62a74e70672a424
parente4f411ae4a5c50819291f42984d5050d0ad9f526
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