[PATCH] rt-tests - minor clean-ups
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi Clark
Please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/jkacur/rt-tests.git
branch: rt-tests-dev
I have a few clean-ups in my repo that aren't in yours.
1. Spelling clean-ups - makes it look more professional
2. A function header style clean-up, and spacing.
The diff between our trees is shown below.
Thanks
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index 29d0fe5..d13669b 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -313,9 +313,7 @@ void traceopt(char *option)
traceptr[traceopt_count++] = ptr;
}
-
-static int
-trace_file_exists(char *name)
+static int trace_file_exists(char *name)
{
struct stat sbuf;
char *tracing_prefix = get_debugfileprefix();
@@ -1030,7 +1028,7 @@ static void process_options (int argc, char *argv[])
setaffinity = AFFINITY_USEALL;
use_nanosleep = MODE_CLOCK_NANOSLEEP;
#else
- warn("cyclicteset was not built with the numa option\n");
+ warn("cyclictest was not built with the numa option\n");
warn("ignoring --numa or -U\n");
#endif
break;
@@ -1187,7 +1185,7 @@ static void print_hist(struct thread_param *par[], int nthreads)
if (histofall && nthreads > 1)
printf(" %09llu", log_entries[nthreads]);
printf("\n");
- printf("# Min Latencys:");
+ printf("# Max Latencies:");
for (j = 0; j < nthreads; j++)
printf(" %05lu", par[j]->stats->min);
printf("\n");
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[RT Stable]
[Kernel Newbies]
[Share Photos]
[IDE]
[Security]
[Git]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux ATA RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]