Skip to content

profile_tool : support multiple input files - #7441

Open
proller wants to merge 37 commits into
mainfrom
users/proller/profile.files
Open

proller wants to merge 37 commits into
mainfrom
users/proller/profile.files

Conversation

@proller

@proller proller commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Adds support for multiple profile logs, sorted by filename timestamp or mtime. Skips files outside the requested time range, with --all-files to bypass pruning and --ignore-errors to continue past unreadable logs. Includes multi-file masking and regression tests.

@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/,cloud/fastshard/ (test time: 273s): all tests PASSED for commit 1badea8.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1733 1733 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 323s): all tests PASSED for commit 1badea8.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1773 1773 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1614s): all tests PASSED for commit 1badea8.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
7611 7610 0 0 0 1 0

🔴 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5274s): some tests FAILED for commit 1badea8.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
4905 4903 0 0 1 1 0

🔴 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 4967s): some tests FAILED for commit 1badea8.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
4905 4903 0 0 1 1 0

@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/,cloud/fastshard/ (test time: 277s): all tests PASSED for commit 248e11b.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1736 1736 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 328s): all tests PASSED for commit 248e11b.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1798 1798 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1573s): all tests PASSED for commit 248e11b.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
7627 7626 0 0 0 1 0

🔴 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5408s) Test run completed, no test results found for commit 248e11b.
Please check build logs.

🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 4910s): all tests PASSED for commit 248e11b.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
4924 4923 0 0 0 1 0

@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/,cloud/fastshard/ (test time: 275s): all tests PASSED for commit 99f67a1.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1736 1736 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 314s): all tests PASSED for commit 99f67a1.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1798 1798 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1578s): all tests PASSED for commit 99f67a1.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
7627 7626 0 0 0 1 0

🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5200s): all tests PASSED for commit 99f67a1.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
4924 4923 0 0 0 1 0

@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/,cloud/fastshard/ (test time: 276s): all tests PASSED for commit 789eb2f.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1744 1744 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 323s): all tests PASSED for commit 789eb2f.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1821 1821 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1604s): all tests PASSED for commit 789eb2f.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
7629 7628 0 0 0 1 0

🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5032s): all tests PASSED for commit 789eb2f.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
4981 4980 0 0 0 1 0

@proller proller changed the title profile_tool : support muliple files profile_tool : support multiple files Oct 7, 2026
@proller proller changed the title profile_tool : support multiple files profile_tool : support multiple input files Oct 7, 2026
@SvartMetal
SvartMetal self-requested a review October 8, 2026 21:02
Comment thread cloud/filestore/tools/analytics/profile_tool/main.cpp Outdated
@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/,cloud/fastshard/ (test time: 271s): all tests PASSED for commit 54ddfdc.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1744 1744 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 336s): all tests PASSED for commit 54ddfdc.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1821 1821 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1826s): all tests PASSED for commit 54ddfdc.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
7629 7628 0 0 0 1 0

🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5402s): all tests PASSED for commit 54ddfdc.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
4981 4980 0 0 0 1 0

🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5144s): all tests PASSED for commit 54ddfdc.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
4981 4980 0 0 0 1 0

Comment thread cloud/filestore/tools/analytics/profile_tool/lib/time_range.cpp
Comment thread cloud/filestore/tools/analytics/profile_tool/lib/command_ut.cpp
@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 303s): all tests PASSED for commit 18bd192.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1836 1836 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/,cloud/fastshard/ (test time: 281s): all tests PASSED for commit 18bd192.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1745 1745 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1813s): all tests PASSED for commit 18bd192.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
7643 7642 0 0 0 1 0

🔴 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5460s) Test run completed, no test results found for commit 18bd192.
Please check build logs.

🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5168s): all tests PASSED for commit 18bd192.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
5005 5004 0 0 0 1 0

Comment thread cloud/filestore/tools/analytics/profile_tool/lib/command.cpp
Comment thread cloud/filestore/tools/analytics/profile_tool/lib/mask.cpp Outdated
Comment thread cloud/filestore/tools/analytics/profile_tool/lib/command.cpp Outdated
Comment thread cloud/filestore/tools/analytics/profile_tool/lib/command.cpp Outdated
Comment thread cloud/filestore/tools/analytics/profile_tool/lib/command.cpp Outdated
<< Endl;
return 0;
}
return 1;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we using C-style error codes here? NProto::TError would be more natural

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All interfaces around uses int return type -
int IterateEventLog(..
int Execute()
And with converting type need to write strange return transforms:

    int Execute() override
    {
        TEventProcessor processor(Filter);
        return HasError(ProcessProfileLogs(processor)) ? 1 : 0;
   }

Comment thread cloud/filestore/tools/analytics/profile_tool/lib/mask.cpp Outdated
Comment thread cloud/filestore/tools/analytics/profile_tool/lib/command.cpp Outdated
Comment thread cloud/filestore/tools/analytics/profile_tool/lib/command_ut.cpp Outdated
@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/,cloud/fastshard/ (test time: 276s): all tests PASSED for commit 45911bd.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1754 1754 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 306s): all tests PASSED for commit 45911bd.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1849 1849 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1551s): all tests PASSED for commit 45911bd.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
7661 7660 0 0 0 1 0

🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5133s): all tests PASSED for commit 45911bd.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
5071 5070 0 0 0 1 0

@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/,cloud/fastshard/ (test time: 270s): all tests PASSED for commit 0c087e5.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1782 1782 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 307s): all tests PASSED for commit 0c087e5.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1849 1849 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1689s): all tests PASSED for commit 0c087e5.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
7670 7669 0 0 0 1 0

🔴 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5449s) Test run completed, no test results found for commit 0c087e5.
Please check build logs.

🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 4949s): all tests PASSED for commit 0c087e5.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
5067 5066 0 0 0 1 0

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/,cloud/fastshard/ (test time: 279s): all tests PASSED for commit 0c8112b.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1798 1798 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 321s): all tests PASSED for commit 0c8112b.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1849 1849 0 0 0 0 0

🔴 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1437s): some tests FAILED for commit 0c8112b.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
7682 7679 0 2 0 1 0

🔴 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 27s): some tests FAILED for commit 0c8112b.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
4 2 0 2 0 0 0

🔴 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 14s): some tests FAILED for commit 0c8112b.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
4 2 0 2 0 0 0

🔴 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5461s) Test run completed, no test results found for commit 0c8112b.
Please check build logs.

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

Successfully merging this pull request may close these issues.

2 participants