mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 08:25:07 +00:00
ProfileViewer: Interpret addresses >= 0xc0000000 as kernel frames
This commit is contained in:
parent
32ec1e5aed
commit
efbdaaaa65
2 changed files with 3 additions and 2 deletions
|
@ -92,7 +92,7 @@ GVariant ProfileModel::data(const GModelIndex& index, Role role) const
|
|||
auto* node = static_cast<ProfileNode*>(index.internal_data());
|
||||
if (role == Role::Icon) {
|
||||
if (index.column() == Column::StackFrame) {
|
||||
if (node->address() < (8 * MB))
|
||||
if (node->address() < (8 * MB) || node->address() >= 0xc0000000)
|
||||
return m_kernel_frame_icon;
|
||||
return m_user_frame_icon;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue