Skip to content

NoDrop Examples

Xiankun Chen edited this page Apr 1, 2026 · 3 revisions

Example: Streaming Compression of Event Buffers

NoDrop can compress event buffers while recording them to disk.
This reduces storage usage when capturing large numbers of events.

Enable Streaming Compression

First enable compressed recording:

nodrop record compress

This instructs NoDrop to compress recorded buffers using gzip.

Start Monitoring

Start NoDrop normally:

sudo nodrop start

During execution, NoDrop will capture events and write compressed buffers to disk.

Stop Monitoring

After running your workload, stop NoDrop:

sudo nodrop stop

Recorded Files

Compressed buffers are stored in the default directory:

/tmp/nodrop/

Files are saved using the following format:

tid-timestamp.buf.gz

Example:

/tmp/nodrop/23145-17110211234123.buf.gz

Each file contains compressed NoDrop event buffers generated by the corresponding thread.

Compressed buffers can later be decompressed or decoded for analysis.

Clone this wiki locally