Comment 28 for bug 501715

lavinog (lavinog) wrote :

@james79: if the issue is that you are low on memory, you can release the trace buffer with:
echo 1|sudo tee /sys/kernel/debug/tracing/buffer_size_kb

I wrote a init script that does this automatically after a trace. I can clean it up and post it if it will help.

If the issue is that you run out of memory during boot, your only option is to disable ureadahead. Ureadahead is only useful if you have the memory for caching the files.

I suspect fixing this bug would be counter productive if the goal is to change the way tracing is accomplished.