Deprecated Catapult GitHub. Please instead use http://crbug.com "Speed>Benchmarks" component for bugs and https://chromium.googlesource.com/catapult for downloading and editing source code..
I'm not sure if I've done this right, but I wanted to trace the usage of a few of the file locks in my program, so I added flow tracing support to the ftrace viewer.
I read through the trace even format specification but it's not clear how that is associated with the format of ftrace markers, so I mostly copied the format from the async markers.
The format says that flow events should be associated with slices. I get weird rendering artifacts if they're not associated with async slices, so I add async slices when I add each flow event. I'm not sure if this is entirely right, but it seems easier for both the data association and the trace marker logging.
I'm not sure if I've done this right, but I wanted to trace the usage of a few of the file locks in my program, so I added flow tracing support to the ftrace viewer.
I read through the trace even format specification but it's not clear how that is associated with the format of ftrace markers, so I mostly copied the format from the async markers.
The format says that flow events should be associated with slices. I get weird rendering artifacts if they're not associated with async slices, so I add async slices when I add each flow event. I'm not sure if this is entirely right, but it seems easier for both the data association and the trace marker logging.