projects
/
platform
/
core
/
multimedia
/
mmsvc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f38306
)
Add the the information of created fd when memory leak
43/173343/4
author
YoungHun Kim
<yh8004.kim@samsung.com>
Tue, 20 Mar 2018 08:39:38 +0000
(17:39 +0900)
committer
YoungHun Kim
<yh8004.kim@samsung.com>
Fri, 23 Mar 2018 07:03:38 +0000
(07:03 +0000)
Change-Id: Ifebc5fb2d09a4701fed9d41692bf9c1e2ec42e56
server/src/muse_server_private.c
patch
|
blob
|
history
diff --git
a/server/src/muse_server_private.c
b/server/src/muse_server_private.c
index
9695731
..
48c8d9d
100644
(file)
--- a/
server/src/muse_server_private.c
+++ b/
server/src/muse_server_private.c
@@
-783,6
+783,9
@@
void ms_log_process_info(int pid)
snprintf(cmd, sizeof(cmd), "/bin/cat /proc/%d/status | grep Threads", pid);
ms_log_get_cmd_info(cmd);
+ snprintf(cmd, sizeof(cmd), "/bin/ls -alt /proc/%d/fd", pid);
+ ms_log_get_cmd_info(cmd);
+
snprintf(cmd, sizeof(cmd), "/bin/ps -Lo pcpu,pmem,tid,comm -p %d", pid);
ms_log_get_cmd_info(cmd);
}