[PATCH] add dbug_task_vma debug macro
Mark Wielaard
mjw@redhat.com
Mon May 14 10:16:00 GMT 2012
On Sat, 2012-05-12 at 17:31 +0300, Negreanu Marius Adrian wrote:
> replace DEBUG_TASK_FINDER_VMA
> with a dbug_unwind-like macro: dbug_task_vma
> ---
> runtime/debug.h | 10 ++++++++++
> runtime/task_finder.c | 8 ++------
> runtime/task_finder2.c | 8 ++------
> runtime/uprobes-common.c | 20 +++++---------------
> runtime/vma.c | 40 ++++++++++------------------------------
> 5 files changed, 29 insertions(+), 57 deletions(-)
Thanks, that is much nicer than the scattered #if
defined(DEBUG_TASK_FINDER_VMA) throughout the source. Pushed.
There is also the plain DEBUG_TASK_FINDER (all non-vma stuff) that could
be done in the same way.
Thanks,
Mark
More information about the Systemtap
mailing list