This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] add dbug_task_vma debug macro


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]