Move osquery/events/linux/probes/ to osquery/experimental/tracing/linux/

Summary: To clean it up, they are parts of the same experimental subsystem and shoul be close to each other in experimental directory.

Reviewed By: marekcirkos

Differential Revision: D14668951

fbshipit-source-id: 404be1f3c24699557edc0b9e5ada823ea04533f1
This commit is contained in:
Alexander Kindyakov 2019-03-29 09:11:14 -07:00 committed by Facebook Github Bot
parent 9f58f0cc0a
commit 93fd8a27ee
14 changed files with 14 additions and 14 deletions

View File

@ -37,7 +37,7 @@ osquery_cxx_library(
deps = [ deps = [
osquery_target("osquery/core:core"), osquery_target("osquery/core:core"),
osquery_target("osquery/dispatcher:dispatcher"), osquery_target("osquery/dispatcher:dispatcher"),
osquery_target("osquery/events/linux/probes:probes_events"), osquery_target("osquery/experimental/tracing/linux:probes_events"),
osquery_target("osquery/experimental/events_stream:events_stream"), osquery_target("osquery/experimental/events_stream:events_stream"),
osquery_target("osquery/utils/caches:lru"), osquery_target("osquery/utils/caches:lru"),
osquery_target("osquery/utils/conversions:conversions"), osquery_target("osquery/utils/conversions:conversions"),

View File

@ -13,7 +13,7 @@ load("//tools/build_defs/oss/osquery:third_party.bzl", "osquery_tp_target")
osquery_cxx_library( osquery_cxx_library(
name = "probes_events", name = "probes_events",
header_namespace = "osquery/events/linux/probes", header_namespace = "osquery/experimental/tracing/linux",
exported_platform_headers = [ exported_platform_headers = [
( (
LINUX, LINUX,
@ -37,7 +37,7 @@ osquery_cxx_library(
), ),
], ],
tests = [ tests = [
osquery_target("osquery/events/linux/probes/tests:ebpf_tracepoint_tests"), osquery_target("osquery/experimental/tracing/linux/tests:ebpf_tracepoint_tests"),
], ],
visibility = ["PUBLIC"], visibility = ["PUBLIC"],
deps = [ deps = [

View File

@ -8,7 +8,7 @@
* You may select, at your option, one of the above-listed licenses. * You may select, at your option, one of the above-listed licenses.
*/ */
#include <osquery/events/linux/probes/ebpf_tracepoint.h> #include <osquery/experimental/tracing/linux/ebpf_tracepoint.h>
#include <osquery/utils/expected/expected.h> #include <osquery/utils/expected/expected.h>
#include <osquery/utils/system/linux/perf_event/perf_event.h> #include <osquery/utils/system/linux/perf_event/perf_event.h>

View File

@ -8,7 +8,7 @@
* You may select, at your option, one of the above-listed licenses. * You may select, at your option, one of the above-listed licenses.
*/ */
#include <osquery/events/linux/probes/probes.h> #include <osquery/experimental/tracing/linux/probes.h>
#include <osquery/utils/expected/expected.h> #include <osquery/utils/expected/expected.h>
#include <osquery/utils/map_take.h> #include <osquery/utils/map_take.h>

View File

@ -8,9 +8,9 @@
#pragma once #pragma once
#include <osquery/events/linux/probes/ebpf_tracepoint.h> #include <osquery/experimental/tracing/linux/ebpf_tracepoint.h>
#include <osquery/events/linux/probes/syscall_event.h> #include <osquery/experimental/tracing/linux/syscall_event.h>
#include <osquery/events/linux/probes/syscalls_programs.h> #include <osquery/experimental/tracing/linux/syscalls_programs.h>
#include <osquery/utils/enum_class_hash.h> #include <osquery/utils/enum_class_hash.h>
#include <osquery/utils/expected/expected.h> #include <osquery/utils/expected/expected.h>

View File

@ -8,7 +8,7 @@
* You may select, at your option, one of the above-listed licenses. * You may select, at your option, one of the above-listed licenses.
*/ */
#include <osquery/events/linux/probes/syscall_event.h> #include <osquery/experimental/tracing/linux/syscall_event.h>
namespace osquery { namespace osquery {
namespace events { namespace events {

View File

@ -8,7 +8,7 @@
* You may select, at your option, one of the above-listed licenses. * You may select, at your option, one of the above-listed licenses.
*/ */
#include <osquery/events/linux/probes/syscalls_programs.h> #include <osquery/experimental/tracing/linux/syscalls_programs.h>
#include <boost/core/demangle.hpp> #include <boost/core/demangle.hpp>

View File

@ -10,7 +10,7 @@
#pragma once #pragma once
#include <osquery/events/linux/probes/syscall_event.h> #include <osquery/experimental/tracing/linux/syscall_event.h>
#include <osquery/utils/expected/expected.h> #include <osquery/utils/expected/expected.h>
#include <osquery/utils/system/linux/ebpf/map.h> #include <osquery/utils/system/linux/ebpf/map.h>

View File

@ -25,6 +25,6 @@ osquery_cxx_test(
], ],
visibility = ["PUBLIC"], visibility = ["PUBLIC"],
deps = [ deps = [
osquery_target("osquery/events/linux/probes:probes_events"), osquery_target("osquery/experimental/tracing/linux:probes_events"),
], ],
) )

View File

@ -10,7 +10,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <osquery/events/linux/probes/syscall_event.h> #include <osquery/experimental/tracing/linux/syscall_event.h>
namespace osquery { namespace osquery {
namespace { namespace {

View File

@ -8,8 +8,8 @@
#include <osquery/experimental/tracing/syscalls_tracing_impl.h> #include <osquery/experimental/tracing/syscalls_tracing_impl.h>
#include <osquery/events/linux/probes/probes.h>
#include <osquery/experimental/events_stream/events_stream.h> #include <osquery/experimental/events_stream/events_stream.h>
#include <osquery/experimental/tracing/linux/probes.h>
#include <osquery/dispatcher.h> #include <osquery/dispatcher.h>
#include <osquery/logger.h> #include <osquery/logger.h>