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

feat: allow handling of compressed perfparser files #663

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

GitMensch
Copy link
Contributor

all of the code was in place but checking for perfparser format used the original filename instead the temporary (unpacked) one

I guess that xz format is always available when KFArchive_FOUND is set - but if this isn't the case I'll change the test from xz to gz.

note: I'm open to suggestions for accessing the filename different than via m_parserArgs[1] ...

src/mainwindow.cpp Show resolved Hide resolved
src/parsers/perf/perfparser.cpp Outdated Show resolved Hide resolved
tests/integrationtests/tst_perfparser.cpp Show resolved Hide resolved
@GitMensch
Copy link
Contributor Author

ping @milianw for answering the review comments, enabling me to push an updated version for merge

@GitMensch
Copy link
Contributor Author

rebased + changed the lamda + added a check for "no magic header in compressed file"

all of the code was in place but checking for perfparser format used the original filename instead the temporary (unpacked) one
Copy link
Member

@milianw milianw left a comment

Choose a reason for hiding this comment

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

lgtm, thanks

src/mainwindow.cpp Show resolved Hide resolved
@milianw milianw merged commit 90451a7 into KDAB:master Oct 7, 2024
13 checks passed
@GitMensch GitMensch deleted the gzperfparser branch October 7, 2024 11:39
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