summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore12
-rwxr-xr-xpackaging/tar-compare2
-rw-r--r--profile/Makefile12
-rw-r--r--tests/profile/Makefile12
-rw-r--r--tests/profile/benchmark-dictionary.c (renamed from profile/benchmark-dictionary.c)4
-rw-r--r--tests/profile/benchmark-line-parsing.c (renamed from profile/benchmark-line-parsing.c)0
-rw-r--r--tests/profile/benchmark-procfile-parser.c (renamed from profile/benchmark-procfile-parser.c)0
-rwxr-xr-xtests/profile/benchmark-registry.c (renamed from profile/benchmark-registry.c)0
-rw-r--r--tests/profile/benchmark-strcmp.c (renamed from profile/benchmark-strcmp.c)0
-rw-r--r--tests/profile/statsd-stress.c (renamed from profile/statsd-stress.c)0
-rw-r--r--tests/profile/test-eval.c (renamed from profile/test-eval.c)0
11 files changed, 21 insertions, 21 deletions
diff --git a/.gitignore b/.gitignore
index 615696f990..aba1c3d5f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -103,12 +103,12 @@ src/cppcheck-build/
# debugging / profiling
makeself/debug/
-profile/benchmark-dictionary
-profile/benchmark-registry
-profile/test-eval
-profile/benchmark-line-parsing
-profile/benchmark-procfile-parser
-profile/statsd-stress
+tests/profile/benchmark-dictionary
+tests/profile/benchmark-registry
+tests/profile/test-eval
+tests/profile/benchmark-line-parsing
+tests/profile/benchmark-procfile-parser
+tests/profile/statsd-stress
oprofile_data/
vgcore.*
callgrind.out.*
diff --git a/packaging/tar-compare b/packaging/tar-compare
index 81981732c6..374765ba11 100755
--- a/packaging/tar-compare
+++ b/packaging/tar-compare
@@ -58,7 +58,7 @@ diff -r "$1" $MYTMP/unpack/* | grep "^Only" | sed \
-e '/: iprange$/d' \
-e '/: .*\.o$/d' \
-e '/: CMakeLists.txt/d' \
- -e '/: profile$/d' \
+ -e '/: tests$/d' \
-e '/python.d: python-modules-installer\.sh\.in$/d' \
-e '/: .travis.yml/d' > $MYTMP/out
diff --git a/profile/Makefile b/profile/Makefile
deleted file mode 100644
index d0eda1a322..0000000000
--- a/profile/Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-# SPDX-License-Identifier: GPL-3.0+
-
-COMMON_CFLAGS=-I ../src/ -I ../
-PROFILE_CFLAGS=-O1 -ggdb -Wall -Wextra
-
-benchmark-procfile-parser: benchmark-procfile-parser.c
- gcc ${PROFILE_CFLAGS} ${COMMON_CFLAGS} -o $@ $^ ../src/log.o ../src/procfile.o ../src/threads.o ../src/locks.o ../src/common.o ../src/clocks.o ../src/web_buffer.o ../src/storage_number.o -pthread -lm
-
-statsd-stress: statsd-stress.c
- gcc -O2 -Wall -Wextra -o $@ $^ -pthread
-
-all: statsd-stress benchmark-procfile-parser
diff --git a/tests/profile/Makefile b/tests/profile/Makefile
new file mode 100644
index 0000000000..16c6e43bc2
--- /dev/null
+++ b/tests/profile/Makefile
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-3.0+
+
+COMMON_CFLAGS=-I ../../src/ -I ../../
+PROFILE_CFLAGS=-O1 -ggdb -Wall -Wextra
+
+benchmark-procfile-parser: benchmark-procfile-parser.c
+ gcc ${PROFILE_CFLAGS} ${COMMON_CFLAGS} -o $@ $^ ../../src/log.o ../../src/procfile.o ../../src/threads.o ../../src/locks.o ../../src/common.o ../../src/clocks.o ../../src/web_buffer.o ../../src/storage_number.o -pthread -lm
+
+statsd-stress: statsd-stress.c
+ gcc -O2 -Wall -Wextra -o $@ $^ -pthread
+
+all: statsd-stress benchmark-procfile-parser
diff --git a/profile/benchmark-dictionary.c b/tests/profile/benchmark-dictionary.c
index d920243036..ac115442a9 100644
--- a/profile/benchmark-dictionary.c
+++ b/tests/profile/benchmark-dictionary.c
@@ -1,9 +1,9 @@
/* SPDX-License-Identifier: GPL-3.0+ */
/*
* 1. build netdata (as normally)
- * 2. cd profile/
+ * 2. cd tests/profile/
* 3. compile with:
- * gcc -O3 -Wall -Wextra -I ../src/ -I ../ -o benchmark-dictionary benchmark-dictionary.c ../src/dictionary.o ../src/log.o ../src/avl.o ../src/common.o -pthread
+ * gcc -O3 -Wall -Wextra -I ../../src/ -I ../../ -o benchmark-dictionary benchmark-dictionary.c ../../src/dictionary.o ../../src/log.o ../../src/avl.o ../../src/common.o -pthread
*
*/
diff --git a/profile/benchmark-line-parsing.c b/tests/profile/benchmark-line-parsing.c
index d1cc0fde28..d1cc0fde28 100644
--- a/profile/benchmark-line-parsing.c
+++ b/tests/profile/benchmark-line-parsing.c
diff --git a/profile/benchmark-procfile-parser.c b/tests/profile/benchmark-procfile-parser.c
index 2ec23265dd..2ec23265dd 100644
--- a/profile/benchmark-procfile-parser.c
+++ b/tests/profile/benchmark-procfile-parser.c
diff --git a/profile/benchmark-registry.c b/tests/profile/benchmark-registry.c
index efab5850f0..efab5850f0 100755
--- a/profile/benchmark-registry.c
+++ b/tests/profile/benchmark-registry.c
diff --git a/profile/benchmark-strcmp.c b/tests/profile/benchmark-strcmp.c
index d1cc0fde28..d1cc0fde28 100644
--- a/profile/benchmark-strcmp.c
+++ b/tests/profile/benchmark-strcmp.c
diff --git a/profile/statsd-stress.c b/tests/profile/statsd-stress.c
index 977a92d39a..977a92d39a 100644
--- a/profile/statsd-stress.c
+++ b/tests/profile/statsd-stress.c
diff --git a/profile/test-eval.c b/tests/profile/test-eval.c
index 680acc7250..680acc7250 100644
--- a/profile/test-eval.c
+++ b/tests/profile/test-eval.c