X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lttng_ivc%2Fsettings.py;h=e21c47b8730a492d02798ba380f412a55a950bf0;hb=efdd48dbd95ae57db1b0f2dfe5af429feee2b06d;hp=adfa6b5493c363a15d4f6a694387f978cbf0792e;hpb=dc3b014c2706cfc7d5ed64e19e197303520acf4d;p=deliverable%2Flttng-ivc.git diff --git a/lttng_ivc/settings.py b/lttng_ivc/settings.py index adfa6b5..e21c47b 100644 --- a/lttng_ivc/settings.py +++ b/lttng_ivc/settings.py @@ -3,16 +3,34 @@ import os test_only = {} -configuration_file = os.path.dirname(os.path.abspath(__file__)) + "/config.yaml" -run_configuration_file = os.path.dirname(os.path.abspath(__file__)) + "/run_configuration.yaml" +base_dir = os.path.dirname(os.path.abspath(__file__)) -projects_cache_folder = os.path.dirname(os.path.abspath(__file__)) + "/runtime/projects_cache" -git_remote_folder = os.path.dirname(os.path.abspath(__file__)) + "/runtime/git_remote" -app_folder = os.path.dirname(os.path.abspath(__file__)) + "/runtime/git_remote" -apps_folder = os.path.dirname(os.path.abspath(__file__)) + "/apps" +configuration_file = os.path.join(base_dir, "config.yaml") +run_configuration_file = os.path.join(base_dir, "run_configuration.yaml") + +projects_cache_folder = os.path.join(base_dir, "runtime/projects_cache") +git_remote_folder = os.path.join(base_dir, "runtime/git_remote") + +apps_folder = os.path.join(base_dir, "apps") apps_gen_events_folder = os.path.join(apps_folder, "gen_ust_events") apps_preload_provider_folder = os.path.join(apps_folder, "preload_provider") +apps_jul_1 = os.path.join(apps_folder, "jul-1.0") +apps_jul_2 = os.path.join(apps_folder, "jul-2.0") +apps_python = os.path.join(apps_folder, "python") + +traces_folder = os.path.join(base_dir, "traces") +trace_lost_packet = os.path.join(traces_folder, "packet_lost_2_stream") + +# Used for checksum validation +project_py_file_location = os.path.join(base_dir, "utils/project.py") tmp_object_prefix = "lttng-ivc-" default_babeltrace = "babeltrace-1.5" + + +lttng_test_procfile = "/proc/lttng-test-filter-event" + +save_ext = ".lttng" + +mi_xsd_file_name = ['mi_lttng.xsd', 'mi-lttng-3.0.xsd']