KDAB / hotspot

The Linux perf GUI for performance analysis.
4.16k stars 257 forks source link

feat: allow handling of compressed perfparser files #663

Closed GitMensch closed 1 month ago

GitMensch commented 4 months ago

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] ...

GitMensch commented 2 months ago

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

GitMensch commented 2 months ago

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