I use linux perf (perf\_events) to produce a perf.data file with timestamps. 

How can I generate a report of all the events in a sub interval of time [i-start, i-end]?

Can I maybe narrow down perf.data to a perf\_subinterv.data file with only events in [i-start, i-end]?

I need to do this to analyze short intervals (2s - 6s) of poor performance every 5mins or so.