FASTRPC: Update library search path
Updated library search path for 64-bit and minimized error logging.
Change-Id: If3393aec6bf7026747c65a462341403f8edc4434
Acked-by: Krishnaiah Tadakamalla <ktadakam@qti.qualcomm.com>
Signed-off-by: Mohammed Nayeem Ur Rahman <mohara@codeaurora.org>
Signed-off-by: Mayank Chopra <mak.chopra@codeaurora.org>
diff --git a/src/apps_std_imp.c b/src/apps_std_imp.c
index fe8d17f..ffa1c5c 100644
--- a/src/apps_std_imp.c
+++ b/src/apps_std_imp.c
@@ -746,7 +746,7 @@
FREEIF(absName);
FREEIF(dirListBuf);
if (nErr != AEE_SUCCESS) {
- VERIFY_EPRINTF("Error %x: fopen failed for %s. (%s)", nErr, name, strerror(ERRNO));
+ VERIFY_IPRINTF("Error %x: fopen failed for %s. (%s)", nErr, name, strerror(ERRNO));
}
return nErr;
}
diff --git a/src/fastrpc_apps_user.c b/src/fastrpc_apps_user.c
index 3c687c1..7e4df5b 100644
--- a/src/fastrpc_apps_user.c
+++ b/src/fastrpc_apps_user.c
@@ -814,7 +814,7 @@
VERIFY(AEE_SUCCESS == (nErr = remote_handle_invoke_domain(domain, handle, sc, pra)));
bail:
if (nErr != AEE_SUCCESS) {
- FARF(ERROR, "Error %x: remote handle invoke failed. domain %d, handle %x, sc %x, pra %p\n", nErr, domain, handle, sc, pra);
+ FARF(HIGH, "Error %x: remote handle invoke failed. domain %d, handle %x, sc %x, pra %p\n", nErr, domain, handle, sc, pra);
}
return nErr;
}
@@ -829,7 +829,7 @@
VERIFY(AEE_SUCCESS == (nErr = remote_handle_invoke_domain(domain, remote, sc, pra)));
bail:
if (nErr != AEE_SUCCESS) {
- FARF(ERROR, "Error %x: remote handle64 invoke failed. domain %d, handle %p, sc %x, pra %p\n", nErr, domain, &local, sc, pra);
+ FARF(HIGH, "Error %x: remote handle64 invoke failed. domain %d, handle %p, sc %x, pra %p\n", nErr, domain, &local, sc, pra);
}
return nErr;
}
@@ -915,7 +915,7 @@
if(nErr) {
if(h)
remote_handle_close(h);
- FARF(ERROR, "Error %x: remote handle64 open failed. name %s\n", nErr, name);
+ FARF(HIGH, "Error %x: remote handle64 open failed. name %s\n", nErr, name);
}
return nErr;
}
@@ -929,7 +929,7 @@
VERIFY(AEE_SUCCESS == (nErr = dlerr));
bail:
if (nErr != AEE_SUCCESS) {
- FARF(ERROR, "Error %x: remote handle close failed. error %s\n", nErr, dlerrstr);
+ FARF(HIGH, "Error %x: remote handle close failed. error %s\n", nErr, dlerrstr);
}
return nErr;
}
@@ -948,7 +948,7 @@
domain_deinit(domain);
}
if (nErr != AEE_SUCCESS) {
- FARF(ERROR, "Error %x: remote handle64 close failed.\n", nErr);
+ FARF(HIGH, "Error %x: remote handle64 close failed.\n", nErr);
}
return nErr;
}
diff --git a/src/fastrpc_perf.c b/src/fastrpc_perf.c
index f4987ed..415830b 100644
--- a/src/fastrpc_perf.c
+++ b/src/fastrpc_perf.c
@@ -27,10 +27,6 @@
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef VERIFY_PRINT_ERROR
-#define VERIFY_PRINT_ERROR
-#endif // VERIFY_PRINT_ERROR
-
#define FARF_ERROR 1
#include <stdlib.h>
@@ -200,7 +196,7 @@
perf_dsp_enable();
bail:
if (nErr) {
- FARF(ERROR, "fastrpc perf init failed");
+ FARF(HIGH, "fastrpc perf init failed");
p->perf_on = 0;
}
return nErr;
diff --git a/src/log_config.c b/src/log_config.c
index b7f2a0f..b2ef10e 100644
--- a/src/log_config.c
+++ b/src/log_config.c
@@ -339,7 +339,7 @@
VERIFY_EPRINTF("%s: Error polling for file change. Runtime FARF will not work for this process. errno=%x !", log_config_watcher[dom].fileToWatch, errno);
break;
} else if (pfd[1].revents & POLLIN) { // Check for exit
- VERIFY_EPRINTF("Received exit.\n");
+ VERIFY_IPRINTF("Received exit.\n");
break;
} else {
length = read( log_config_watcher[dom].fd, buffer, EVENT_BUF_LEN );