diff options
author | Mohammed Nayeem Ur Rahman <mohara@codeaurora.org> | 2019-06-18 18:41:35 +0530 |
---|---|---|
committer | Mayank Chopra <mak.chopra@codeaurora.org> | 2019-06-24 21:41:17 -0700 |
commit | 331fd3a6d96fc6283bb00f05a6caf0f9eca94b01 (patch) | |
tree | bcd5f87e364a253560d40da2e7fd29c68f52a322 | |
parent | 66f226589a09b5c07f7729465073a28cb95e500b (diff) |
FASTRPC: Update library search pathqcom-drop
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>
-rw-r--r-- | src/apps_std_imp.c | 2 | ||||
-rw-r--r-- | src/fastrpc_apps_user.c | 10 | ||||
-rw-r--r-- | src/fastrpc_perf.c | 6 | ||||
-rw-r--r-- | src/log_config.c | 2 |
4 files changed, 8 insertions, 12 deletions
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 @@ bail: 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 @@ int remote_handle_invoke(remote_handle handle, uint32_t sc, remote_arg* pra) { 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 @@ int remote_handle64_invoke(remote_handle64 local, uint32_t sc, remote_arg* pra) 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 @@ bail: 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 @@ int remote_handle_close(remote_handle h) 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 @@ bail: 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 @@ int fastrpc_perf_init(int dev) { 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 @@ static void* file_watcher_thread(void *arg) { 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 ); |