Malahal has uploaded this change for review. (
https://review.gerrithub.io/437421
Change subject: Add malloc trace and untrace dbus methods
......................................................................
Add malloc trace and untrace dbus methods
Enable and disable malloc traces using dbus.
The following dbus command would enable malloc traces to
/tmp/mtraces.out file which can be analysed using mtrace
command (from glibc-utils)
dbus-send --print-reply --system --dest=org.ganesha.nfsd
/org/ganesha/nfsd/admin org.ganesha.nfsd.admin.malloc_trace
string:/tmp/mtrace.out
The following dbus command would stop malloc traces:
dbus-send --print-reply --system --dest=org.ganesha.nfsd
/org/ganesha/nfsd/admin org.ganesha.nfsd.admin.malloc_untrace
Change-Id: I9e475be822e5a2a6ff26a48520a4d89cc072cbc6
Signed-off-by: Malahal Naineni <malahal(a)us.ibm.com>
---
M src/MainNFSD/nfs_admin_thread.c
1 file changed, 88 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/21/437421/1
--
To view, visit
https://review.gerrithub.io/437421
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e475be822e5a2a6ff26a48520a4d89cc072cbc6
Gerrit-Change-Number: 437421
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <malahal(a)gmail.com>