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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Cc: containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
---
 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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux