amzn / hawktracer

HawkTracer is a highly portable, low-overhead, configurable profiling tool built in Amazon Video for getting performance metrics from low-end devices.
MIT License
133 stars 31 forks source link

Flushing API for file_dump_listener #51

Closed ftanuma closed 5 years ago

ftanuma commented 5 years ago

In some situation, I would like to trigger flushing all the data so far in file_dump_listener. By looking at current implementation, listener doesn't flush until its buffer is full.

It would be great if there is an API to trigger flushing. Thanks!

loganek commented 5 years ago

@ftanuma thanks for the report. The API has been implemented in 6a0420d95fb341010cae97911804ddc331ec4f38