diff mbox

Remove function name and lines from simple logging function.

Message ID 1416935414-5851-1-git-send-email-maxim.uvarov@linaro.org
State Accepted
Commit de7246179d39b7136f7e3233ec8d7f2554e01a11
Headers show

Commit Message

Maxim Uvarov Nov. 25, 2014, 5:10 p.m. UTC
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 platform/linux-generic/include/api/odp_debug.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Mike Holmes Nov. 25, 2014, 6:28 p.m. UTC | #1
On 25 November 2014 at 12:10, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:

> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
>

Reviewed-and-tested-by: Mike Holmes <mike.holmes@linaro.org>


> ---
>  platform/linux-generic/include/api/odp_debug.h | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/platform/linux-generic/include/api/odp_debug.h
> b/platform/linux-generic/include/api/odp_debug.h
> index 5c3adde..e853be4 100644
> --- a/platform/linux-generic/include/api/odp_debug.h
> +++ b/platform/linux-generic/include/api/odp_debug.h
> @@ -96,8 +96,7 @@ do { \
>                         __LINE__, __func__, ##__VA_ARGS__); \
>                 break; \
>         case ODP_LOG_PRINT: \
> -               fprintf(stdout, "%s:%d:%s():" fmt, __FILE__, \
> -               __LINE__, __func__, ##__VA_ARGS__); \
> +               fprintf(stdout, " " fmt, ##__VA_ARGS__); \
>                 break; \
>         case ODP_LOG_ABORT: \
>                 fprintf(stderr, "%s:%d:%s(): " fmt, __FILE__, \
> --
> 1.8.5.1.163.gd7aced9
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
diff mbox

Patch

diff --git a/platform/linux-generic/include/api/odp_debug.h b/platform/linux-generic/include/api/odp_debug.h
index 5c3adde..e853be4 100644
--- a/platform/linux-generic/include/api/odp_debug.h
+++ b/platform/linux-generic/include/api/odp_debug.h
@@ -96,8 +96,7 @@  do { \
 			__LINE__, __func__, ##__VA_ARGS__); \
 		break; \
 	case ODP_LOG_PRINT: \
-		fprintf(stdout, "%s:%d:%s():" fmt, __FILE__, \
-		__LINE__, __func__, ##__VA_ARGS__); \
+		fprintf(stdout, " " fmt, ##__VA_ARGS__); \
 		break; \
 	case ODP_LOG_ABORT: \
 		fprintf(stderr, "%s:%d:%s(): " fmt, __FILE__, \