enable lttng for FreeBSD. (#14342)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Fri, 6 Oct 2017 08:43:54 +0000 (01:43 -0700)
committerJan Vorlicek <janvorli@microsoft.com>
Fri, 6 Oct 2017 08:43:54 +0000 (10:43 +0200)
*  enable lttng for FreeBSD. it is supported for user space

* unify Linux and FreeBSD branches for lttng. At lest for now, they are identical

build.sh

index fd21a43..922063c 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -230,7 +230,7 @@ generate_event_logging_sources()
         fi
 
         case $__BuildOS in
-            Linux)
+            Linux|FreeBSD)
                 echo "Laying out dynamically generated EventPipe Implementation"
                 $PYTHON -B $__PythonWarningFlags "$__ProjectRoot/src/scripts/genEventPipe.py" --man "$__ProjectRoot/src/vm/ClrEtwAll.man" --intermediate "$__GeneratedIntermediateEventPipe" --exc "$__ProjectRoot/src/vm/ClrEtwAllMeta.lst"
                 if  [[ $? != 0 ]]; then
@@ -243,7 +243,7 @@ generate_event_logging_sources()
 
         #determine the logging system
         case $__BuildOS in
-            Linux)
+            Linux|FreeBSD)
                 echo "Laying out dynamically generated Event Logging Implementation of Lttng"
                 $PYTHON -B $__PythonWarningFlags "$__ProjectRoot/src/scripts/genXplatLttng.py" --man "$__ProjectRoot/src/vm/ClrEtwAll.man" --intermediate "$__GeneratedIntermediateEventProvider"
                 if  [[ $? != 0 ]]; then