aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-02-22 16:52:58 +0100
committerThomas Gleixner <[email protected]>2018-02-22 22:00:24 +0100
commit04148187aa9df3626168f7429d2287997787e387 (patch)
tree7a24a10f826607b0a1c4636fd2a803cb1c2d6ce8 /tools/perf/util/scripting-engines/trace-event-python.c
parent1ea9b98b007a662e402551a41a4413becad40a65 (diff)
debugobjects: Fix debug_objects_freed accounting
The removal of the batched object freeing has caused the debug_objects_freed to become read-only, and the reading is inside an ifdef, so gcc warns that it is completely unused without CONFIG_DEBUG_FS: lib/debugobjects.c:71:14: error: 'debug_objects_freed' defined but not used [-Werror=unused-variable] Assuming we are still interested in this number, this adds back code to keep track of the freed objects. Fixes: 636e1970fd7d ("debugobjects: Use global free list in free_object()") Suggested-by: Waiman Long <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Yang Shi <[email protected]> Acked-by: Waiman Long <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions