Clean up using global_dirty_limit wrapper for writeback probe
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>
Tue, 2 Apr 2013 13:25:37 +0000 (09:25 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 2 Apr 2013 13:25:37 +0000 (09:25 -0400)
commit42d9070d001d2e641a3f1c27b1d613cdaeec3d58
treead98d8475da1ae0e16aacf9104192bc7cd260edd
parent78062c794f19c91e88e371eb014ded5f2afe17bf
Clean up using global_dirty_limit wrapper for writeback probe

Move the wrapper around reading of global_dirty_limit to /wrapper/
directory.  Introduce a new kallsyms_lookup_dataptr function for
obtaining the address unchanged and use it in global_dirty_limit
wrapper.  Since the data address is available only if
CONFIG_KALLSYMS_ALL is set, omit the whole probe from building if this
config is missing.

[ Edit by Mathieu Desnoyers: small coding style fixes ]

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
probes/Makefile
probes/lttng-probe-writeback.c
wrapper/kallsyms.h
wrapper/writeback.h [new file with mode: 0644]
This page took 0.025538 seconds and 4 git commands to generate.