-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3d76ec
commit b3cb0ef
Showing
9 changed files
with
13 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
using System.Diagnostics.Tracing; | ||
|
||
// WARNING: THIS FILE GETS REPLACED ON THE BUILD FARM | ||
namespace Microsoft.PowerToys.Telemetry | ||
{ | ||
/// <summary> | ||
|
@@ -17,10 +16,10 @@ public enum PartA_PrivTags | |
None = 0, | ||
|
||
/// <nodoc/> | ||
ProductAndServicePerformance = 1, | ||
ProductAndServicePerformance = 0x0000000001000000u, | ||
|
||
/// <nodoc/> | ||
ProductAndServiceUsage = 2, | ||
ProductAndServiceUsage = 0x0000000002000000u, | ||
} | ||
|
||
/// <summary> | ||
|
@@ -36,17 +35,17 @@ public class TelemetryBase : EventSource | |
/// <summary> | ||
/// The event tag for this event source. | ||
/// </summary> | ||
public const EventTags ProjectTelemetryTagProductAndServicePerformance = (EventTags)0x0u | DropPii; | ||
public const EventTags ProjectTelemetryTagProductAndServicePerformance = (EventTags)0x0000000001000000u | DropPii; | ||
|
||
/// <summary> | ||
/// The event keyword for this event source. | ||
/// </summary> | ||
public const EventKeywords ProjectKeywordMeasure = (EventKeywords)0x0; | ||
public const EventKeywords ProjectKeywordMeasure = (EventKeywords)0x0000400000000000; | ||
|
||
/// <summary> | ||
/// Group ID for Powertoys project. | ||
/// </summary> | ||
private static readonly string[] PowerToysTelemetryTraits = { "ETW_GROUP", "{42749043-438c-46a2-82be-c6cbeb192ff2}" }; | ||
private static readonly string[] PowerToysTelemetryTraits = { "MSPG_GROUP", "{5ecb0bac-b930-47f5-a8a4-e8253529edb7}" }; | ||
Check failure Code scanning / check-spelling Unrecognized Spelling Error
MSPG is not a recognized word. (unrecognized-spelling)
|
||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TelemetryBase"/> class. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
#pragma once | ||
|
||
#define TraceLoggingOptionProjectTelemetry() TraceLoggingOptionGroup(0x42749043, 0x438c, 0x46a2, 0x82, 0xbe, 0xc6, 0xcb, 0xeb, 0x19, 0x2f, 0xf2) | ||
#define ProjectTelemetryPrivacyDataTag(tag) TraceLoggingUInt64((tag), "Ignore") | ||
#define ProjectTelemetryTag_ProductAndServicePerformance 0x0u | ||
#define PROJECT_KEYWORD_MEASURE 0x0 | ||
#define MICROSOFT_EVENTTAG_DROP_PII 0x02000000 | ||
// Microsoft Partner Group Provider (MSPG) | ||
Check failure Code scanning / check-spelling Unrecognized Spelling Error
MSPG is not a recognized word. (unrecognized-spelling)
|
||
#define TraceLoggingOptionProjectTelemetry() TraceLoggingOptionGroup(0x5ECB0BAC, 0xB930, 0x47F5, 0xA8, 0xA4, 0xE8, 0x25, 0x35, 0x29, 0xED, 0xB7) | ||
#define ProjectTelemetryPrivacyDataTag(tag) TraceLoggingUInt64((tag), "PartA_PrivTags") | ||
#define ProjectTelemetryTag_ProductAndServicePerformance 0x0000000001000000u | ||
#define PROJECT_KEYWORD_MEASURE 0x0000400000000000 | ||
#define MICROSOFT_EVENTTAG_DROP_PII 0x02000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters