Message ID | 20210812213853.77183026@oasis.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | eaacd582e528cde37d781c6d47e8c15a4bc4e97d |
Headers | show |
Series | libtracefs: Fix SYM-OFFSET in tracefs_sql() | expand |
diff --git a/src/sqlhist.l b/src/sqlhist.l index db0ae11..4df475a 100644 --- a/src/sqlhist.l +++ b/src/sqlhist.l @@ -40,6 +40,12 @@ on { HANDLE_COLUMN; return ON; } where { HANDLE_COLUMN; return WHERE; } cast { HANDLE_COLUMN; return CAST; } +sym-offset { + HANDLE_COLUMN; + yylval->string = store_str(TRACE_SB, yyg->yytext_r); + return FIELD; +} + {qstring} { HANDLE_COLUMN; yylval->string = store_str(TRACE_SB, yyg->yytext_r);