mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:27:43 +00:00
ProfileViewer: Add basic support for loading "perfcore" files
"perfcore" is the file that the kernel generates after a process that was recording performance events has exited. This patch teaches ProfileViewer how to load (and symbolicate!) those files so that we can look at them. This will need a bunch more work to make it truly useful.
This commit is contained in:
parent
fa97ff1c83
commit
266d7ca268
3 changed files with 74 additions and 1 deletions
|
@ -105,6 +105,7 @@ private:
|
|||
class Profile {
|
||||
public:
|
||||
static OwnPtr<Profile> load_from_file(const StringView& path);
|
||||
static OwnPtr<Profile> load_from_perfcore_file(const StringView& path);
|
||||
~Profile();
|
||||
|
||||
GUI::Model& model();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue