Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The GroupRegExs and FoldRegExs filters are not propagated to StackWindow when using OpenStackViewer #2098

Open
ara-ayvazyan opened this issue Aug 21, 2024 · 0 comments

Comments

@ara-ayvazyan
Copy link

ara-ayvazyan commented Aug 21, 2024

The GroupRegExs and FoldRegExs filters are not propagated to StackWindow when using OpenStackViewer.

public class Commands : CommandEnvironment
{
    public void TestFileView(string fileName, string viewName)
    {
        var etlFile = OpenETLFile(fileName);
        var stacks = new Stacks(new MutableTraceEventStackSource(etlFile.TraceLog), viewName, etlFile);
        stacks.Filter.GroupRegExs += "GroupRegExs";
        stacks.Filter.FoldRegExs += "FoldRegExs";
        stacks.Filter.IncludeRegExs += "IncludeRegExs";
        stacks.Filter.ExcludeRegExs += "ExcludeRegExs";
        stacks.Filter.MinInclusiveTimePercent += "12.34";
        OpenStackViewer(stacks);
    }
}

image

I think they are applied to the data itself, but the drop downs don't show them.

Default values for the Stacks.Filter don't seem to match with those in StackWindow.

When changing the values on the dropdown, it doesn't seem to overwrite the filter values set to Stacks (e.g., when clearing the FoldPats).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant