perfetto icon indicating copy to clipboard operation
perfetto copied to clipboard

The recent updates seem to not support regular expression search.

Open wangkai0055 opened this issue 2 years ago • 4 comments

The recent updates seem to not support regular expression search.

wangkai0055 avatar May 13 '24 03:05 wangkai0055

SQL error: Traceback (most recent call last): File "stdin" line 1 col 1 SELECT ts, dur, name FROM slice WHERE name REGEXP '.vacCreate.' ^ Value has to be a string

So I have to use LIKE, but our script also needs to be updated accordingly.

wangkai0055 avatar May 13 '24 03:05 wangkai0055

It doesn't repro on autopush. Can you tell me what trace processor version you are using? Or are you building from the HEAD?

aMayzner avatar May 13 '24 11:05 aMayzner

v44.0-257a02990

Query result (406 rows) - 62.9ms SELECT * FROM slice WHERE name like '%xxxcost%'

SQL error: Traceback (most recent call last): File "stdin" line 1 col 1 SELECT ts, dur, name FROM slice WHERE name REGEXP '.xxxcost.' ^ Value has to be a string

wangkai0055 avatar May 13 '24 12:05 wangkai0055

It should be fixed now.

aMayzner avatar May 13 '24 15:05 aMayzner