Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions ui/src/core/search_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,11 @@ export class SearchManagerImpl implements SearchManager {
track_id as sourceId,
0 as utid
from slice
join args using(arg_set_id)
where string_value glob ${searchLiteral} or key glob ${searchLiteral}
join (
select arg_set_id from args where display_value glob ${searchLiteral}
union
select arg_set_id from args where key glob ${searchLiteral}
) using(arg_set_id)
)
union all
select
Expand Down
8 changes: 8 additions & 0 deletions ui/src/test/chrome_rendering_desktop.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ test('slice with flows', async () => {
await pth.waitForPerfettoIdle();
await pth.waitForIdleAndScreenshot('slice_with_flows.png');
});

test('search int arg', async () => {
await pth.searchSlice('5292083664613144124');
await pth.resetFocus();
await page.keyboard.press('f');
await pth.waitForPerfettoIdle();
await pth.waitForIdleAndScreenshot('search_int_arg.png');
});
Loading