diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-09-07 17:34:39 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-09-08 20:36:52 -0400 |
commit | 7622ef6a5183220fa56dedabaeb8fa87b0e43919 (patch) | |
tree | bb3271069d1eae7513df1757a44509e83be0050e /runtime/task_finder.c | |
parent | 9b7a17471dd57572a63944fe46679c08c23faa13 (diff) | |
download | systemtap-steved-7622ef6a5183220fa56dedabaeb8fa87b0e43919.tar.gz systemtap-steved-7622ef6a5183220fa56dedabaeb8fa87b0e43919.tar.xz systemtap-steved-7622ef6a5183220fa56dedabaeb8fa87b0e43919.zip |
task_finder diagnostics: standardize on STP_DEBUG_PRINTK
* io.c (DEBUG_TASK_FINDER_PRINTK): Remove conditional.
Diffstat (limited to 'runtime/task_finder.c')
-rw-r--r-- | runtime/task_finder.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/task_finder.c b/runtime/task_finder.c index 488a6a2e..6b50f1b9 100644 --- a/runtime/task_finder.c +++ b/runtime/task_finder.c @@ -45,18 +45,10 @@ static atomic_t __stp_attach_count = ATOMIC_INIT (0); #define debug_task_finder_attach() (atomic_inc(&__stp_attach_count)) #define debug_task_finder_detach() (atomic_dec(&__stp_attach_count)) -#ifdef DEBUG_TASK_FINDER_PRINTK -#define debug_task_finder_report() (printk(KERN_ERR \ - "%s:%d attach count: %d, inuse count: %d\n", \ - __FUNCTION__, __LINE__, \ - atomic_read(&__stp_attach_count), \ - atomic_read(&__stp_inuse_count))) -#else #define debug_task_finder_report() (_stp_dbug(__FUNCTION__, __LINE__, \ "attach count: %d, inuse count: %d\n", \ atomic_read(&__stp_attach_count), \ atomic_read(&__stp_inuse_count))) -#endif /* !DEBUG_TASK_FINDER_PRINTK */ #else #define debug_task_finder_attach() /* empty */ #define debug_task_finder_detach() /* empty */ |