Move ftrace_reader code into src/traced/probes/ftrace
Reduces the API surface hiding the ftrace reader into src/.
Change-Id: Ie89b90013c6bd22ceed8aaf9595a23a4185b7b92
diff --git a/tools/protos_from_genfs_contexts.sh b/tools/protos_from_genfs_contexts.sh
index e2e00d9..7147104 100644
--- a/tools/protos_from_genfs_contexts.sh
+++ b/tools/protos_from_genfs_contexts.sh
@@ -17,7 +17,7 @@
if [ -f "protos/perfetto/trace/ftrace/$f.proto" ]; then
echo "'protos/perfetto/trace/ftrace/$f.proto',";
else
- for x in $(find src/ftrace_reader/test/data/*/events -wholename '*/'"$f"'/format' -or -wholename '*/'"$f"'/*/format'); do
+ for x in $(find src/traced/probes/ftrace/test/data/*/events -wholename '*/'"$f"'/format' -or -wholename '*/'"$f"'/*/format'); do
event=$(echo $x | awk -F / '{print $(NF - 1)}')
n="protos/perfetto/trace/ftrace/$event.proto";
if [ -f $n ]; then