projects
/
platform
/
core
/
system
/
swap-probe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a891dc7
)
[IMPROVE] add pid/tid info to debug information
21/24321/2
author
Vitaliy Cherepanov
<v.cherepanov@samsung.com>
Thu, 10 Jul 2014 11:48:38 +0000
(15:48 +0400)
committer
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Wed, 16 Jul 2014 12:06:23 +0000
(
05:06
-0700)
Change-Id: I32cb48ccbf4d02b22634a5504fbbeb9e36647d89
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
helper/libdaprobe.c
patch
|
blob
|
history
diff --git
a/helper/libdaprobe.c
b/helper/libdaprobe.c
index b670c6182f5fd2a0a790b1a425f978a78b1170e0..def04684450a0da973fe80b051ab7553b7914484 100755
(executable)
--- a/
helper/libdaprobe.c
+++ b/
helper/libdaprobe.c
@@
-567,7
+567,7
@@
bool print_log_fmt(int msgType, const char *func_name, int line, ...)
log.type = msgType;
p = log.data;
- n = snprintf(p, sizeof(log), "
%s:%d)",
func_name, line);
+ n = snprintf(p, sizeof(log), "
[%05d:%05d]%s:%d)", _getpid(), _gettid(),
func_name, line);
p += n;
/* extract params */