[Devel] [PATCH 10/11] cr_tests: Extend the "INFO" tag to the samples

Matt Helsley matthltc at us.ibm.com
Wed Aug 19 21:58:13 PDT 2009


When we dump samples during a signal use the INFO tag. This
should extend the use of LTP-style tags throughout all of the
log output.

Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
Cc: containers at lists.linux-foundation.org
---
 futex/plain.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/futex/plain.c b/futex/plain.c
index bc7f50c..daf1bef 100644
--- a/futex/plain.c
+++ b/futex/plain.c
@@ -95,7 +95,7 @@ again:
 
 void dump (const char *prefix)
 {
-	fprintf(logfp, "%s children past 1: %d\t children past 2: %d\t futex: %d\n",
+	log("INFO","%s children past 1: %d\t children past 2: %d\t futex: %d\n",
 	       prefix,
 	       atomic_read(&dumb_barrier[0]),
 	       atomic_read(&dumb_barrier[1]),
-- 
1.5.6.3


_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list