From c3f8eeaf71f799df8a23cb177e69b75cec622657 Mon Sep 17 00:00:00 2001 From: Theo van de Ven <110678314+rs-tve@users.noreply.github.com> Date: Thu, 6 Jul 2023 16:55:07 +0200 Subject: [PATCH 1/3] Update EtwPerformanceProfiler.cs Added ObjectType 'TableExtension', Changed returnvalue for ObjectType 'PageExtension' --- EtwPerformanceProfiler/EtwPerformanceProfiler.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/EtwPerformanceProfiler/EtwPerformanceProfiler.cs b/EtwPerformanceProfiler/EtwPerformanceProfiler.cs index 3db8e88..6d1e91b 100644 --- a/EtwPerformanceProfiler/EtwPerformanceProfiler.cs +++ b/EtwPerformanceProfiler/EtwPerformanceProfiler.cs @@ -178,11 +178,16 @@ public int CallTreeCurrentStatementOwningObjectType return 10; } - if (0 == String.Compare(objectType, "PageExtension", System.StringComparison.OrdinalIgnoreCase)) + if (0 == String.Compare(objectType, "TableExtension", System.StringComparison.OrdinalIgnoreCase)) { return 12; } + if (0 == String.Compare(objectType, "PageExtension", System.StringComparison.OrdinalIgnoreCase)) + { + return 13; + } + throw new InvalidOperationException("Invalid object type."); } } From 2a94c7ec368a76080b30a6ec6d5395cff579becf Mon Sep 17 00:00:00 2001 From: Theo van de Ven <110678314+rs-tve@users.noreply.github.com> Date: Thu, 6 Jul 2023 16:57:30 +0200 Subject: [PATCH 2/3] Update TAB50000.txt Added 'TableExtension' and 'PageExtension' to ObjectType options --- EtwPerformanceProfiler/App Objects/TAB50000.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EtwPerformanceProfiler/App Objects/TAB50000.txt b/EtwPerformanceProfiler/App Objects/TAB50000.txt index e0582fe..de806dd 100644 --- a/EtwPerformanceProfiler/App Objects/TAB50000.txt +++ b/EtwPerformanceProfiler/App Objects/TAB50000.txt @@ -16,8 +16,8 @@ OBJECT Table 50000 Performance Profiler Events { 2 ; ;Session ID ;Integer } { 3 ; ;Indentation ;Integer } { 4 ; ;Object Type ;Option ;CaptionML=ENU=Object Type; - OptionCaptionML=ENU=TableData,Table,Form,Report,Dataport,Codeunit,XMLport,MenuSuite,Page,Query,System,FieldNumber; - OptionString=TableData,Table,Form,Report,Dataport,Codeunit,XMLport,MenuSuite,Page,Query,System,FieldNumber } + OptionCaptionML=ENU=TableData,Table,Form,Report,Dataport,Codeunit,XMLport,MenuSuite,Page,Query,System,FieldNumber,TableExtension,PageExtension; + OptionString=TableData,Table,Form,Report,Dataport,Codeunit,XMLport,MenuSuite,Page,Query,System,FieldNumber,TableExtension,PageExtension } { 5 ; ;Object ID ;Integer ;TableRelation=Object.ID WHERE (Type=FIELD(Object Type)); TestTableRelation=No; CaptionML=ENU=Object ID } From eb472356c3ccc5f837281d86a60c4778eb7a4e2a Mon Sep 17 00:00:00 2001 From: Theo van de Ven <110678314+rs-tve@users.noreply.github.com> Date: Thu, 6 Jul 2023 16:58:53 +0200 Subject: [PATCH 3/3] Update TAB50001.txt Added 'TableExtension' and 'PageExtension' to ObjectType options --- EtwPerformanceProfiler/App Objects/TAB50001.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EtwPerformanceProfiler/App Objects/TAB50001.txt b/EtwPerformanceProfiler/App Objects/TAB50001.txt index 0c50c0d..1dfb28b 100644 --- a/EtwPerformanceProfiler/App Objects/TAB50001.txt +++ b/EtwPerformanceProfiler/App Objects/TAB50001.txt @@ -15,8 +15,8 @@ OBJECT Table 50001 Performance Profiler Archive { 1 ; ;Id ;Integer } { 3 ; ;Indentation ;Integer } { 4 ; ;Object Type ;Option ;CaptionML=ENU=Object Type; - OptionCaptionML=ENU=TableData,Table,Form,Report,Dataport,Codeunit,XMLport,MenuSuite,Page,Query,System,FieldNumber; - OptionString=TableData,Table,Form,Report,Dataport,Codeunit,XMLport,MenuSuite,Page,Query,System,FieldNumber } + OptionCaptionML=ENU=TableData,Table,Form,Report,Dataport,Codeunit,XMLport,MenuSuite,Page,Query,System,FieldNumber,TableExtension,PageExtension; + OptionString=TableData,Table,Form,Report,Dataport,Codeunit,XMLport,MenuSuite,Page,Query,System,FieldNumber,TableExtension,PageExtension } { 5 ; ;Object ID ;Integer ;TableRelation=Object.ID WHERE (Type=FIELD(Object Type)); TestTableRelation=No; CaptionML=ENU=Object ID }