aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-07-26 21:39:25 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-07-26 21:39:25 +0200
commit74e32c068d7e95275a0d237ecaf9f057e5d6f064 (patch)
treebd9119afc357b255a5145d928d8363833538ef3c /samsung-ipc
parent1c4d4f7e68ce1740b08b250292bab8361eca3402 (diff)
downloadexternal_libsamsung-ipc-74e32c068d7e95275a0d237ecaf9f057e5d6f064.zip
external_libsamsung-ipc-74e32c068d7e95275a0d237ecaf9f057e5d6f064.tar.gz
external_libsamsung-ipc-74e32c068d7e95275a0d237ecaf9f057e5d6f064.tar.bz2
ipc_utils: New line before printing I/O debug
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc')
-rw-r--r--samsung-ipc/ipc_utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/samsung-ipc/ipc_utils.c b/samsung-ipc/ipc_utils.c
index f6436f9..a907e35 100644
--- a/samsung-ipc/ipc_utils.c
+++ b/samsung-ipc/ipc_utils.c
@@ -485,6 +485,7 @@ void ipc_client_log_send(struct ipc_client *client, struct ipc_message *message,
switch (client->type) {
case IPC_CLIENT_TYPE_FMT:
+ ipc_client_log(client, "\n");
ipc_client_log(client, "%s: Sent FMT message", prefix);
ipc_client_log(client, "%s: Message: mseq=0x%02x, command=%s, type=%s, size=%d", prefix, message->mseq, ipc_command_string(message->command), ipc_request_type_string(message->type), message->size);
#ifdef DEBUG
@@ -496,6 +497,7 @@ void ipc_client_log_send(struct ipc_client *client, struct ipc_message *message,
#endif
break;
case IPC_CLIENT_TYPE_RFS:
+ ipc_client_log(client, "\n");
ipc_client_log(client, "%s: Sent RFS message", prefix);
ipc_client_log(client, "%s: Message: mseq=0x%02x, command=%s, size=%d", prefix, message->mseq, ipc_command_string(message->command), message->size);
#ifdef DEBUG
@@ -517,6 +519,7 @@ void ipc_client_log_recv(struct ipc_client *client, struct ipc_message *message,
switch (client->type) {
case IPC_CLIENT_TYPE_FMT:
+ ipc_client_log(client, "\n");
ipc_client_log(client, "%s: Received FMT message", prefix);
ipc_client_log(client, "%s: Message: aseq=0x%02x, command=%s, type=%s, size=%d", prefix, message->aseq, ipc_command_string(message->command), ipc_response_type_string(message->type), message->size);
#ifdef DEBUG
@@ -528,6 +531,7 @@ void ipc_client_log_recv(struct ipc_client *client, struct ipc_message *message,
#endif
break;
case IPC_CLIENT_TYPE_RFS:
+ ipc_client_log(client, "\n");
ipc_client_log(client, "%s: Received RFS message", prefix);
ipc_client_log(client, "%s: Message: aseq=0x%02x, command=%s, size=%d", prefix, message->aseq, ipc_command_string(message->command), message->size);
#ifdef DEBUG