Hi, I cannot retrieve any events from the ftrace_event table using the perfetto python API.
When I use the query
select COUNT(*) from ftrace_event
in the sql embedded in the Perfetto UI, I get 1209622
However, Using the perfetto UI, I get
COUNT(*)
0 0
as the result. The trace I am using is the example_android_trace_15s provided in the UI.
The code I used for the python API is
from perfetto.trace_processor import TraceProcessor
tp = TraceProcessor(trace="example_android_trace_15s")
print(tp.query('select COUNT(*) from ftrace_event').as_pandas_dataframe())
I have tried updating the trace processor using TraceProcessorConfig, but got the same results. This was the same for all other traces as well.
Thanks