From 8c201f49d920d5506a67f67c88de0c89161b17ed Mon Sep 17 00:00:00 2001 From: Luke Bordonaro Date: Tue, 4 Jun 2024 11:39:10 -0700 Subject: [PATCH 1/2] Include required properties on all ProcessingSourceInfo instances returned by processing sources --- LTTngCds/LTTngCds.csproj | 1 + LTTngCds/LTTngDataSource.cs | 33 +++++----- PerfDataExtension/PerfDataExtension.csproj | 4 ++ PerfDataExtension/PerfDataProcessingSource.cs | 17 +++-- .../PerfDataProcessingSource.cs | 8 +-- PerfettoCds/Pipeline/PerfettoDataSource.cs | 65 ++++++++++--------- Utilities/ProcessingSourceInfoGenerator.cs | 23 +++++++ 7 files changed, 94 insertions(+), 57 deletions(-) create mode 100644 Utilities/ProcessingSourceInfoGenerator.cs diff --git a/LTTngCds/LTTngCds.csproj b/LTTngCds/LTTngCds.csproj index dc9d128..9791f09 100644 --- a/LTTngCds/LTTngCds.csproj +++ b/LTTngCds/LTTngCds.csproj @@ -33,6 +33,7 @@ + diff --git a/LTTngCds/LTTngDataSource.cs b/LTTngCds/LTTngDataSource.cs index 98c2598..ca4855a 100644 --- a/LTTngCds/LTTngDataSource.cs +++ b/LTTngCds/LTTngDataSource.cs @@ -7,6 +7,7 @@ using System.Linq; using Microsoft.Performance.SDK; using Microsoft.Performance.SDK.Processing; +using Utilities; namespace LTTngCds { @@ -22,7 +23,7 @@ public class LTTngDataSource private IApplicationEnvironment applicationEnvironment; /// - public override IEnumerable