diff --git a/src/AddIns/Analysis/Profiler/Hook/Callback.cpp b/src/AddIns/Analysis/Profiler/Hook/Callback.cpp
index b4fd60edf0..7c06b4137a 100644
--- a/src/AddIns/Analysis/Profiler/Hook/Callback.cpp
+++ b/src/AddIns/Analysis/Profiler/Hook/Callback.cpp
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#include "Callback.h"
diff --git a/src/AddIns/Analysis/Profiler/Hook/Callback.h b/src/AddIns/Analysis/Profiler/Hook/Callback.h
index 375f9acd10..2f07cb2875 100644
--- a/src/AddIns/Analysis/Profiler/Hook/Callback.h
+++ b/src/AddIns/Analysis/Profiler/Hook/Callback.h
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#pragma once
#include "CorProfilerCallbackImpl.h"
diff --git a/src/AddIns/Analysis/Profiler/Hook/CircularBuffer.cpp b/src/AddIns/Analysis/Profiler/Hook/CircularBuffer.cpp
index 5b97d59c5e..eacde2f162 100644
--- a/src/AddIns/Analysis/Profiler/Hook/CircularBuffer.cpp
+++ b/src/AddIns/Analysis/Profiler/Hook/CircularBuffer.cpp
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#include "main.h"
#include "CircularBuffer.h"
diff --git a/src/AddIns/Analysis/Profiler/Hook/CircularBuffer.h b/src/AddIns/Analysis/Profiler/Hook/CircularBuffer.h
index 4116e1b259..252ffa022f 100644
--- a/src/AddIns/Analysis/Profiler/Hook/CircularBuffer.h
+++ b/src/AddIns/Analysis/Profiler/Hook/CircularBuffer.h
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#pragma once
diff --git a/src/AddIns/Analysis/Profiler/Hook/CriticalSection.h b/src/AddIns/Analysis/Profiler/Hook/CriticalSection.h
index afa67ae825..2214658c23 100644
--- a/src/AddIns/Analysis/Profiler/Hook/CriticalSection.h
+++ b/src/AddIns/Analysis/Profiler/Hook/CriticalSection.h
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#pragma once
#include "main.h"
diff --git a/src/AddIns/Analysis/Profiler/Hook/EventWaitHandle.cpp b/src/AddIns/Analysis/Profiler/Hook/EventWaitHandle.cpp
index 1e20083352..ab347ae5e2 100644
--- a/src/AddIns/Analysis/Profiler/Hook/EventWaitHandle.cpp
+++ b/src/AddIns/Analysis/Profiler/Hook/EventWaitHandle.cpp
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#include "main.h"
#include "EventWaitHandle.h"
diff --git a/src/AddIns/Analysis/Profiler/Hook/EventWaitHandle.h b/src/AddIns/Analysis/Profiler/Hook/EventWaitHandle.h
index 7f382b3828..0bc3eabcf5 100644
--- a/src/AddIns/Analysis/Profiler/Hook/EventWaitHandle.h
+++ b/src/AddIns/Analysis/Profiler/Hook/EventWaitHandle.h
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#pragma once
diff --git a/src/AddIns/Analysis/Profiler/Hook/FunctionInfo.cpp b/src/AddIns/Analysis/Profiler/Hook/FunctionInfo.cpp
index 924982b77c..acd499a856 100644
--- a/src/AddIns/Analysis/Profiler/Hook/FunctionInfo.cpp
+++ b/src/AddIns/Analysis/Profiler/Hook/FunctionInfo.cpp
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#include "main.h"
#include "global.h"
diff --git a/src/AddIns/Analysis/Profiler/Hook/FunctionInfo.h b/src/AddIns/Analysis/Profiler/Hook/FunctionInfo.h
index 8b8895fed9..766d500ab7 100644
--- a/src/AddIns/Analysis/Profiler/Hook/FunctionInfo.h
+++ b/src/AddIns/Analysis/Profiler/Hook/FunctionInfo.h
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#pragma once
diff --git a/src/AddIns/Analysis/Profiler/Hook/Hook.cpp b/src/AddIns/Analysis/Profiler/Hook/Hook.cpp
index 4f36640611..6ca4faf7db 100644
--- a/src/AddIns/Analysis/Profiler/Hook/Hook.cpp
+++ b/src/AddIns/Analysis/Profiler/Hook/Hook.cpp
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#include "main.h"
#include "global.h"
diff --git a/src/AddIns/Analysis/Profiler/Hook/LightweightList.cpp b/src/AddIns/Analysis/Profiler/Hook/LightweightList.cpp
index 1348cc9972..4c3ba0c0ec 100644
--- a/src/AddIns/Analysis/Profiler/Hook/LightweightList.cpp
+++ b/src/AddIns/Analysis/Profiler/Hook/LightweightList.cpp
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#include
#include "main.h"
diff --git a/src/AddIns/Analysis/Profiler/Hook/LightweightList.h b/src/AddIns/Analysis/Profiler/Hook/LightweightList.h
index 84162ff5c2..5f3e4e9525 100644
--- a/src/AddIns/Analysis/Profiler/Hook/LightweightList.h
+++ b/src/AddIns/Analysis/Profiler/Hook/LightweightList.h
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#pragma once
diff --git a/src/AddIns/Analysis/Profiler/Hook/LightweightStack.h b/src/AddIns/Analysis/Profiler/Hook/LightweightStack.h
index 5f1d0dc4b3..908246f030 100644
--- a/src/AddIns/Analysis/Profiler/Hook/LightweightStack.h
+++ b/src/AddIns/Analysis/Profiler/Hook/LightweightStack.h
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#include
diff --git a/src/AddIns/Analysis/Profiler/Hook/Profiler.cpp b/src/AddIns/Analysis/Profiler/Hook/Profiler.cpp
index 966d407073..abc189e0d4 100644
--- a/src/AddIns/Analysis/Profiler/Hook/Profiler.cpp
+++ b/src/AddIns/Analysis/Profiler/Hook/Profiler.cpp
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#include "main.h"
#include "global.h"
@@ -496,7 +492,7 @@ STDMETHODIMP CProfiler::ExceptionThrown(ObjectID) {
STDMETHODIMP CProfiler::ExceptionUnwindFunctionLeave() {
DebugWriteLine(L"ExceptionUnwindFunctionLeave");
FunctionLeaveGlobal();
- return S_OK;
+ return S_OK;
}
STDMETHODIMP CProfiler::JITCompilationStarted(FunctionID functionID, BOOL /*fIsSafeToBlock*/) {
@@ -507,18 +503,24 @@ STDMETHODIMP CProfiler::JITCompilationStarted(FunctionID functionID, BOOL /*fIsS
return S_OK;
for (int i = 0; i < CONSOLE_GROUP_LENGTH; i++) {
- if (wcsstr(consoleGroupList[i], name) != nullptr)
+ if (wcsstr(consoleGroupList[i], name) != nullptr) {
+ DebugWriteLine(L"Rewriting %s", name);
Rewrite(functionID, 0x1, nameId);
+ }
}
for (int i = 0; i < WINFORMS_GROUP_LENGTH; i++) {
- if (wcsstr(winFormsGroupList[i], name) != nullptr)
+ if (wcsstr(winFormsGroupList[i], name) != nullptr) {
+ DebugWriteLine(L"Rewriting %s", name);
Rewrite(functionID, 0x2, nameId);
+ }
}
for (int i = 0; i < WPF_GROUP_LENGTH; i++) {
- if (wcsstr(wpfGroupList[i], name) != nullptr)
+ if (wcsstr(wpfGroupList[i], name) != nullptr) {
+ DebugWriteLine(L"Rewriting %s", name);
Rewrite(functionID, 0x3, nameId);
+ }
}
return S_OK;
diff --git a/src/AddIns/Analysis/Profiler/Hook/Profiler.h b/src/AddIns/Analysis/Profiler/Hook/Profiler.h
index 88f2168acc..fc5554c496 100644
--- a/src/AddIns/Analysis/Profiler/Hook/Profiler.h
+++ b/src/AddIns/Analysis/Profiler/Hook/Profiler.h
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#pragma once
diff --git a/src/AddIns/Analysis/Profiler/Hook/ProfilerFactory.h b/src/AddIns/Analysis/Profiler/Hook/ProfilerFactory.h
index 2d6d00b1b7..29145066d8 100644
--- a/src/AddIns/Analysis/Profiler/Hook/ProfilerFactory.h
+++ b/src/AddIns/Analysis/Profiler/Hook/ProfilerFactory.h
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#pragma once
diff --git a/src/AddIns/Analysis/Profiler/Hook/ProfilerMetaData.cpp b/src/AddIns/Analysis/Profiler/Hook/ProfilerMetaData.cpp
index 251a1b3a74..74adc5261b 100644
--- a/src/AddIns/Analysis/Profiler/Hook/ProfilerMetaData.cpp
+++ b/src/AddIns/Analysis/Profiler/Hook/ProfilerMetaData.cpp
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#include "main.h"
#include "Profiler.h"
diff --git a/src/AddIns/Analysis/Profiler/Hook/ProfilerMetaData.h b/src/AddIns/Analysis/Profiler/Hook/ProfilerMetaData.h
index f452913c5c..fc276084e5 100644
--- a/src/AddIns/Analysis/Profiler/Hook/ProfilerMetaData.h
+++ b/src/AddIns/Analysis/Profiler/Hook/ProfilerMetaData.h
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#pragma once
diff --git a/src/AddIns/Analysis/Profiler/Hook/SharedMemory.cpp b/src/AddIns/Analysis/Profiler/Hook/SharedMemory.cpp
index 151b24cacc..e8a23052ac 100644
--- a/src/AddIns/Analysis/Profiler/Hook/SharedMemory.cpp
+++ b/src/AddIns/Analysis/Profiler/Hook/SharedMemory.cpp
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#include "main.h"
#include "SharedMemory.h"
diff --git a/src/AddIns/Analysis/Profiler/Hook/SharedMemory.h b/src/AddIns/Analysis/Profiler/Hook/SharedMemory.h
index 99b7eccf69..4ccae5effc 100644
--- a/src/AddIns/Analysis/Profiler/Hook/SharedMemory.h
+++ b/src/AddIns/Analysis/Profiler/Hook/SharedMemory.h
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#pragma once
diff --git a/src/AddIns/Analysis/Profiler/Hook/allocator.cpp b/src/AddIns/Analysis/Profiler/Hook/allocator.cpp
index 7d050084b2..f547efcd1e 100644
--- a/src/AddIns/Analysis/Profiler/Hook/allocator.cpp
+++ b/src/AddIns/Analysis/Profiler/Hook/allocator.cpp
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#include "main.h"
#include "windows.h"
diff --git a/src/AddIns/Analysis/Profiler/Hook/allocator.h b/src/AddIns/Analysis/Profiler/Hook/allocator.h
index 2803789469..03279db9d7 100644
--- a/src/AddIns/Analysis/Profiler/Hook/allocator.h
+++ b/src/AddIns/Analysis/Profiler/Hook/allocator.h
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#pragma once
diff --git a/src/AddIns/Analysis/Profiler/Hook/constants.cpp b/src/AddIns/Analysis/Profiler/Hook/constants.cpp
index dae66ab3a0..2efe965039 100644
--- a/src/AddIns/Analysis/Profiler/Hook/constants.cpp
+++ b/src/AddIns/Analysis/Profiler/Hook/constants.cpp
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#include "global.h"
@@ -13,10 +9,11 @@ WCHAR *consoleGroupList[CONSOLE_GROUP_LENGTH] = {
};
WCHAR *winFormsGroupList[WINFORMS_GROUP_LENGTH] = {
- L"System.Windows.Forms.Control.OnClick",
- L"System.Windows.Forms.Control.OnDoubleClick",
- L"System.Windows.Forms.Control.OnMouseWheel",
- L"System.Windows.Forms.Control.OnKeyDown"
+ L"-------------------------------------------------",
+ // L"System.Windows.Forms.Control.OnClick",
+ // L"System.Windows.Forms.Control.OnDoubleClick",
+ // L"System.Windows.Forms.Control.OnMouseWheel",
+ // L"System.Windows.Forms.Control.OnKeyDown"
};
WCHAR *wpfGroupList[WPF_GROUP_LENGTH] = {
diff --git a/src/AddIns/Analysis/Profiler/Hook/global.h b/src/AddIns/Analysis/Profiler/Hook/global.h
index 2436015efd..2a63d2f3c6 100644
--- a/src/AddIns/Analysis/Profiler/Hook/global.h
+++ b/src/AddIns/Analysis/Profiler/Hook/global.h
@@ -1,11 +1,8 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#pragma once
+
#include "main.h"
#include "allocator.h"
#include "sharedMemory.h"
@@ -14,7 +11,7 @@
#include "LightweightList.h"
#define CONSOLE_GROUP_LENGTH 2
-#define WINFORMS_GROUP_LENGTH 4
+#define WINFORMS_GROUP_LENGTH 1
#define WPF_GROUP_LENGTH 1
extern fastAllocator stackAllocator;
diff --git a/src/AddIns/Analysis/Profiler/Hook/main.cpp b/src/AddIns/Analysis/Profiler/Hook/main.cpp
index e4d08f6761..f4adbb65b6 100644
--- a/src/AddIns/Analysis/Profiler/Hook/main.cpp
+++ b/src/AddIns/Analysis/Profiler/Hook/main.cpp
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#include "main.h"
#include "global.h"
diff --git a/src/AddIns/Analysis/Profiler/Hook/main.h b/src/AddIns/Analysis/Profiler/Hook/main.h
index 1630b08ca2..627a1a9b59 100644
--- a/src/AddIns/Analysis/Profiler/Hook/main.h
+++ b/src/AddIns/Analysis/Profiler/Hook/main.h
@@ -1,9 +1,5 @@
-//
-//
-//
-//
-// $Revision$
-//
+// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
+// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#pragma once