diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-09-04 16:43:35 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-09-08 20:36:51 -0400 |
commit | 9b7a17471dd57572a63944fe46679c08c23faa13 (patch) | |
tree | 1e663e2cb3b852ef39466f57de2202d2e7f0af42 /runtime/task_finder.c | |
parent | cf509e712520c6e18ecdf290b5ef85811e8ef013 (diff) | |
download | systemtap-steved-9b7a17471dd57572a63944fe46679c08c23faa13.tar.gz systemtap-steved-9b7a17471dd57572a63944fe46679c08c23faa13.tar.xz systemtap-steved-9b7a17471dd57572a63944fe46679c08c23faa13.zip |
task_finder diagnostics: emit start_task_finder dbug message at end of fn.
* task_finder.c (stap_start_task_finder): Emit _stp_dbug message at end
rather at beginning, so printed utrace-engine attach counts reflect
status at end of initialization rather than at beginning.
Diffstat (limited to 'runtime/task_finder.c')
-rw-r--r-- | runtime/task_finder.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/task_finder.c b/runtime/task_finder.c index eb81b8d3..488a6a2e 100644 --- a/runtime/task_finder.c +++ b/runtime/task_finder.c @@ -1357,7 +1357,6 @@ stap_start_task_finder(void) char *mmpath_buf; uid_t tsk_euid; - debug_task_finder_report(); mmpath_buf = _stp_kmalloc(PATH_MAX); if (mmpath_buf == NULL) { _stp_error("Unable to allocate space for path"); @@ -1462,8 +1461,8 @@ stap_start_task_finder(void) } while_each_thread(grp, tsk); stf_err: rcu_read_unlock(); - _stp_kfree(mmpath_buf); + debug_task_finder_report(); // report at end for utrace engine counting return rc; } |