aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-01-23 18:35:37 +0100
committerPaul Kocialkowski <contact@paulk.fr>2014-01-23 18:35:37 +0100
commit7d789225fbfe14034b2fcc63dd1d1e92f5482dd2 (patch)
tree9ab181780077bb62f3a99ce0a9cfd8c9664c53b2
parentadc29ca0c04d5fa70f30ae0ef65315db4465c2c4 (diff)
downloadexternal_libsamsung-ipc-7d789225fbfe14034b2fcc63dd1d1e92f5482dd2.zip
external_libsamsung-ipc-7d789225fbfe14034b2fcc63dd1d1e92f5482dd2.tar.gz
external_libsamsung-ipc-7d789225fbfe14034b2fcc63dd1d1e92f5482dd2.tar.bz2
ipc_util: Print messages lengthsreplicant-4.2-0002
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--samsung-ipc/ipc_util.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/samsung-ipc/ipc_util.c b/samsung-ipc/ipc_util.c
index 4de39de..c63bfc3 100644
--- a/samsung-ipc/ipc_util.c
+++ b/samsung-ipc/ipc_util.c
@@ -400,8 +400,8 @@ void ipc_client_log_recv(struct ipc_client *client,
switch (client->type) {
case IPC_CLIENT_TYPE_FMT:
ipc_client_log(client, "%s: RECV FMT!", prefix);
- ipc_client_log(client, "%s: Response: aseq=0x%02x command=%s (0x%04x) type=%s",
- prefix, response->aseq, ipc_command_to_str(IPC_COMMAND(response)), IPC_COMMAND(response), ipc_response_type_to_str(response->type));
+ ipc_client_log(client, "%s: Response: aseq=0x%02x, command=%s, type=%s, length=%d",
+ prefix, response->aseq, ipc_command_to_str(IPC_COMMAND(response)), ipc_response_type_to_str(response->type), response->length);
#ifdef DEBUG
if (response->length > 0) {
ipc_client_log(client, "==== FMT DATA DUMP ====");
@@ -413,8 +413,8 @@ void ipc_client_log_recv(struct ipc_client *client,
break;
case IPC_CLIENT_TYPE_RFS:
ipc_client_log(client, "%s: RECV RFS!", prefix);
- ipc_client_log(client, "%s: Response: aseq=0x%02x command=%s (0x%04x)",
- prefix, response->aseq, ipc_command_to_str(IPC_COMMAND(response)), IPC_COMMAND(response));
+ ipc_client_log(client, "%s: Response: aseq=0x%02x, command=%s, length=%d",
+ prefix, response->aseq, ipc_command_to_str(IPC_COMMAND(response)), response->length);
#ifdef DEBUG
if (response->length > 0) {
ipc_client_log(client, "==== RFS DATA DUMP ====");
@@ -433,8 +433,8 @@ void ipc_client_log_send(struct ipc_client *client,
switch (client->type) {
case IPC_CLIENT_TYPE_FMT:
ipc_client_log(client, "%s: SEND FMT!", prefix);
- ipc_client_log(client, "%s: Request: mseq=0x%02x command=%s (0x%04x) type=%s",
- prefix, request->mseq, ipc_command_to_str(IPC_COMMAND(request)), IPC_COMMAND(request), ipc_request_type_to_str(request->type));
+ ipc_client_log(client, "%s: Request: mseq=0x%02x, command=%s, type=%s, length=%d",
+ prefix, request->mseq, ipc_command_to_str(IPC_COMMAND(request)), ipc_request_type_to_str(request->type), request->length);
#ifdef DEBUG
if (request->length > 0) {
ipc_client_log(client, "==== FMT DATA DUMP ====");
@@ -446,8 +446,8 @@ void ipc_client_log_send(struct ipc_client *client,
break;
case IPC_CLIENT_TYPE_RFS:
ipc_client_log(client, "%s: SEND RFS!", prefix);
- ipc_client_log(client, "%s: Request: mseq=0x%02x command=%s (0x%04x)",
- prefix, request->mseq, ipc_command_to_str(IPC_COMMAND(request)), IPC_COMMAND(request));
+ ipc_client_log(client, "%s: Request: mseq=0x%02x, command=%s, length=%d",
+ prefix, request->mseq, ipc_command_to_str(IPC_COMMAND(request)), request->length);
#ifdef DEBUG
if (request->length > 0) {
ipc_client_log(client, "==== RFS DATA DUMP ====");