diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/util/callchain.h | 2 | ||||
-rw-r--r-- | tools/perf/util/parse-events-test.c | 2 | ||||
-rw-r--r-- | tools/perf/util/python-ext-sources | 2 | ||||
-rw-r--r-- | tools/testing/ktest/examples/include/defaults.conf | 2 | ||||
-rw-r--r-- | tools/testing/ktest/examples/include/tests.conf | 2 | ||||
-rwxr-xr-x | tools/testing/ktest/ktest.pl | 4 | ||||
-rw-r--r-- | tools/testing/selftests/vm/run_vmtests | 6 |
7 files changed, 11 insertions, 9 deletions
diff --git a/tools/perf/util/callchain.h b/tools/perf/util/callchain.h index 3bdb407f9cd9..eb340571e7d6 100644 --- a/tools/perf/util/callchain.h +++ b/tools/perf/util/callchain.h | |||
@@ -58,7 +58,7 @@ struct callchain_list { | |||
58 | /* | 58 | /* |
59 | * A callchain cursor is a single linked list that | 59 | * A callchain cursor is a single linked list that |
60 | * let one feed a callchain progressively. | 60 | * let one feed a callchain progressively. |
61 | * It keeps persitent allocated entries to minimize | 61 | * It keeps persistent allocated entries to minimize |
62 | * allocations. | 62 | * allocations. |
63 | */ | 63 | */ |
64 | struct callchain_cursor_node { | 64 | struct callchain_cursor_node { |
diff --git a/tools/perf/util/parse-events-test.c b/tools/perf/util/parse-events-test.c index d7244e553670..28c18d1d52c3 100644 --- a/tools/perf/util/parse-events-test.c +++ b/tools/perf/util/parse-events-test.c | |||
@@ -1016,7 +1016,7 @@ static int test_pmu(void) | |||
1016 | 1016 | ||
1017 | ret = stat(path, &st); | 1017 | ret = stat(path, &st); |
1018 | if (ret) | 1018 | if (ret) |
1019 | pr_debug("ommiting PMU cpu tests\n"); | 1019 | pr_debug("omitting PMU cpu tests\n"); |
1020 | return !ret; | 1020 | return !ret; |
1021 | } | 1021 | } |
1022 | 1022 | ||
diff --git a/tools/perf/util/python-ext-sources b/tools/perf/util/python-ext-sources index 213362850abd..c40c2d33199e 100644 --- a/tools/perf/util/python-ext-sources +++ b/tools/perf/util/python-ext-sources | |||
@@ -1,5 +1,5 @@ | |||
1 | # | 1 | # |
2 | # List of files needed by perf python extention | 2 | # List of files needed by perf python extension |
3 | # | 3 | # |
4 | # Each source file must be placed on its own line so that it can be | 4 | # Each source file must be placed on its own line so that it can be |
5 | # processed by Makefile and util/setup.py accordingly. | 5 | # processed by Makefile and util/setup.py accordingly. |
diff --git a/tools/testing/ktest/examples/include/defaults.conf b/tools/testing/ktest/examples/include/defaults.conf index 323a552ce642..63a1a83f4f0b 100644 --- a/tools/testing/ktest/examples/include/defaults.conf +++ b/tools/testing/ktest/examples/include/defaults.conf | |||
@@ -33,7 +33,7 @@ DEFAULTS | |||
33 | THIS_DIR := ${PWD} | 33 | THIS_DIR := ${PWD} |
34 | 34 | ||
35 | 35 | ||
36 | # to orginize your configs, having each machine save their configs | 36 | # to organize your configs, having each machine save their configs |
37 | # into a separate directly is useful. | 37 | # into a separate directly is useful. |
38 | CONFIG_DIR := ${THIS_DIR}/configs/${MACHINE} | 38 | CONFIG_DIR := ${THIS_DIR}/configs/${MACHINE} |
39 | 39 | ||
diff --git a/tools/testing/ktest/examples/include/tests.conf b/tools/testing/ktest/examples/include/tests.conf index 4fdb811bd810..60cedb1a1154 100644 --- a/tools/testing/ktest/examples/include/tests.conf +++ b/tools/testing/ktest/examples/include/tests.conf | |||
@@ -47,7 +47,7 @@ BUILD_NOCLEAN = 1 | |||
47 | # Build, install, boot and test with a randconfg 10 times. | 47 | # Build, install, boot and test with a randconfg 10 times. |
48 | # It is important that you have set MIN_CONFIG in the config | 48 | # It is important that you have set MIN_CONFIG in the config |
49 | # that includes this file otherwise it is likely that the | 49 | # that includes this file otherwise it is likely that the |
50 | # randconfig will not have the neccessary configs needed to | 50 | # randconfig will not have the necessary configs needed to |
51 | # boot your box. This version of the test requires a min | 51 | # boot your box. This version of the test requires a min |
52 | # config that has enough to make sure the target has network | 52 | # config that has enough to make sure the target has network |
53 | # working. | 53 | # working. |
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 52b7959cd513..c05bcd293d8c 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl | |||
@@ -840,7 +840,9 @@ sub __read_config { | |||
840 | 840 | ||
841 | if ($rest =~ /\sIF\s+(.*)/) { | 841 | if ($rest =~ /\sIF\s+(.*)/) { |
842 | # May be a ELSE IF section. | 842 | # May be a ELSE IF section. |
843 | if (!process_if($name, $1)) { | 843 | if (process_if($name, $1)) { |
844 | $if_set = 1; | ||
845 | } else { | ||
844 | $skip = 1; | 846 | $skip = 1; |
845 | } | 847 | } |
846 | $rest = ""; | 848 | $rest = ""; |
diff --git a/tools/testing/selftests/vm/run_vmtests b/tools/testing/selftests/vm/run_vmtests index 8b40bd5e5cc2..4c53cae6c273 100644 --- a/tools/testing/selftests/vm/run_vmtests +++ b/tools/testing/selftests/vm/run_vmtests | |||
@@ -36,7 +36,7 @@ mkdir $mnt | |||
36 | mount -t hugetlbfs none $mnt | 36 | mount -t hugetlbfs none $mnt |
37 | 37 | ||
38 | echo "--------------------" | 38 | echo "--------------------" |
39 | echo "runing hugepage-mmap" | 39 | echo "running hugepage-mmap" |
40 | echo "--------------------" | 40 | echo "--------------------" |
41 | ./hugepage-mmap | 41 | ./hugepage-mmap |
42 | if [ $? -ne 0 ]; then | 42 | if [ $? -ne 0 ]; then |
@@ -50,7 +50,7 @@ shmall=`cat /proc/sys/kernel/shmall` | |||
50 | echo 268435456 > /proc/sys/kernel/shmmax | 50 | echo 268435456 > /proc/sys/kernel/shmmax |
51 | echo 4194304 > /proc/sys/kernel/shmall | 51 | echo 4194304 > /proc/sys/kernel/shmall |
52 | echo "--------------------" | 52 | echo "--------------------" |
53 | echo "runing hugepage-shm" | 53 | echo "running hugepage-shm" |
54 | echo "--------------------" | 54 | echo "--------------------" |
55 | ./hugepage-shm | 55 | ./hugepage-shm |
56 | if [ $? -ne 0 ]; then | 56 | if [ $? -ne 0 ]; then |
@@ -62,7 +62,7 @@ echo $shmmax > /proc/sys/kernel/shmmax | |||
62 | echo $shmall > /proc/sys/kernel/shmall | 62 | echo $shmall > /proc/sys/kernel/shmall |
63 | 63 | ||
64 | echo "--------------------" | 64 | echo "--------------------" |
65 | echo "runing map_hugetlb" | 65 | echo "running map_hugetlb" |
66 | echo "--------------------" | 66 | echo "--------------------" |
67 | ./map_hugetlb | 67 | ./map_hugetlb |
68 | if [ $? -ne 0 ]; then | 68 | if [ $? -ne 0 ]; then |