projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b854bf1
)
[FIX] double start
author
Vitaliy Cherepanov
<v.cherepanov@samsung.com>
Mon, 28 Oct 2013 10:51:39 +0000
(14:51 +0400)
committer
Vitaliy Cherepanov
<v.cherepanov@samsung.com>
Mon, 28 Oct 2013 12:20:28 +0000
(16:20 +0400)
Change-Id: I877fa4fe9cedb0f4d5ed0cc2f31f66c8ef56f76d
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
daemon/da_protocol.c
patch
|
blob
|
history
diff --git
a/daemon/da_protocol.c
b/daemon/da_protocol.c
index
f57b1f3
..
9caf7ee
100644
(file)
--- a/
daemon/da_protocol.c
+++ b/
daemon/da_protocol.c
@@
-994,6
+994,11
@@
static int process_msg_start(struct msg_buf_t *msg_control)
struct msg_t *msg_reply;
uint32_t serialized_time[2];
+ if (check_running_status(&prof_session.conf) == 1) {
+ LOGW("Profiling has already been started\n");
+ goto send_ack;
+ }
+
if (!check_conf(&prof_session.conf)) {
LOGE("wrong profile config\n");
goto send_ack;