summaryrefslogtreecommitdiff
path: root/src/scripts
diff options
context:
space:
mode:
authorSung Yoon Whang <suwhang@microsoft.com>2019-06-28 13:57:19 -0700
committerGitHub <noreply@github.com>2019-06-28 13:57:19 -0700
commit59e7be03ddb77e36b8e36574682d23cb6dc38f5c (patch)
treed4b53c00826c13848306948299e63bec73163aca /src/scripts
parentc381bc0c982f36b9492975d49e5fed82680a749d (diff)
downloadcoreclr-59e7be03ddb77e36b8e36574682d23cb6dc38f5c.tar.gz
coreclr-59e7be03ddb77e36b8e36574682d23cb6dc38f5c.tar.bz2
coreclr-59e7be03ddb77e36b8e36574682d23cb6dc38f5c.zip
Don't return TRUE on tracepoint_enabled if LTTng library does not exist on build (#25459)
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/genLttngProvider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/genLttngProvider.py b/src/scripts/genLttngProvider.py
index cf938f6b6d..38fca2d09b 100644
--- a/src/scripts/genLttngProvider.py
+++ b/src/scripts/genLttngProvider.py
@@ -546,7 +546,7 @@ def generateLttngFiles(etwmanifest,eventprovider_directory, dryRun):
lttngimpl_file.write("#include \"" + lttngevntheadershortname + "\"\n\n")
lttngimpl_file.write("""#ifndef tracepoint_enabled
-#define tracepoint_enabled(provider, name) TRUE
+#define tracepoint_enabled(provider, name) FALSE
#define do_tracepoint tracepoint
#endif