Remove NOETW in favor of LINUX

ETW is available on Windows, so this is only (and will always be)
necessary for Linux.
This commit is contained in:
Andrew Schwartzmeyer
2016-06-10 11:49:40 -07:00
parent 80aceb7a8a
commit e61d698bbc
14 changed files with 13 additions and 21 deletions
@@ -9,14 +9,6 @@
"compile": [ "../windows-build/gen/Microsoft.PowerShell.CoreCLR.Eventing/*.cs" ]
},
"configurations": {
"Linux": {
"buildOptions": {
"define": [ "NOETW" ]
}
}
},
"frameworks": {
"netstandard1.5": {
"imports": [ "dnxcore50" ],
@@ -1409,7 +1409,7 @@ namespace System.Management.Automation.Security
}
#if NOETW || LINUX
#if LINUX
// Porting note: Tracing is absolutely not available on Linux
namespace System.Management.Automation.Tracing
@@ -172,7 +172,7 @@ namespace System.Management.Automation
#endif
Collection<LogProvider> providers = new Collection<LogProvider>();
// Porting note: Linux does not support ETW
#if !NOETW && !LINUX
#if !LINUX
try
{
#if !CORECLR //TODO:CORECLR EventLogLogProvider not handled yet
@@ -12,7 +12,7 @@
"configurations": {
"Linux": {
"buildOptions": {
"define": [ "LINUX", "NOETW" ]
"define": [ "LINUX" ]
}
}
},
@@ -1,4 +1,4 @@
#if !NOETW
#if !LINUX
//
// Copyright (C) Microsoft. All rights reserved.
//
@@ -1,4 +1,4 @@
#if !NOETW
#if !LINUX
//
// Copyright (C) Microsoft. All rights reserved.
//
@@ -1,4 +1,4 @@
#if !NOETW
#if !LINUX
//-----------------------------------------------------------------------
// <copyright file="EtwActivityReverter.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
#if !NOETW
#if !LINUX
//-----------------------------------------------------------------------
// <copyright file="EtwActivityReverterMethodInvoker.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
#if !NOETW
#if !LINUX
//-----------------------------------------------------------------------
// <copyright file="EtwEventCorrelator.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
#if !NOETW
#if !LINUX
//-----------------------------------------------------------------------
// <copyright file="IMethodInvoker.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
#if !NOETW
#if !LINUX
//
// Copyright (C) Microsoft. All rights reserved.
//
@@ -1,4 +1,4 @@
#if !NOETW
#if !LINUX
//
// Copyright (C) Microsoft. All rights reserved.
//
@@ -1,4 +1,4 @@
#if !NOETW
#if !LINUX
//
// Copyright (C) Microsoft. All rights reserved.
//
@@ -1,4 +1,4 @@
#if !NOETW
#if !LINUX
using System;
using System.Collections;
using System.Diagnostics.Eventing;