mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +00:00
UserspaceEmulator: Profiles are now expected to have a strings
array
The kernel profiles were recently changed to have a `strings` array as part of the profile objects. The `ProfileViewer` now checks for that during startup and declares the profile invalid if the array is not present. The UserspaceEmulator doesn't use the API which the kernel exposed the string array for, so just fake it by always adding an empty array to the generated profiles.
This commit is contained in:
parent
e00c871f65
commit
ad1051089c
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ int main(int argc, char** argv, char** env)
|
|||
rc = emulator.exec();
|
||||
|
||||
if (dump_profile)
|
||||
emulator.profile_stream().write_or_error(R"(]})"sv.bytes());
|
||||
emulator.profile_stream().write_or_error(R"(], "strings": []})"sv.bytes());
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue