Next: Further information
Up: Tapsets
Previous: Naming conventions
Contents
- Write a tapset that implements deferred and ``cancelable''
logging. Export a function that enqueues a text string (into some
private array), returning an id token. Include a timer-based probe
that periodically flushes the array to the standard log output.
Export another function that, if the entry was not already flushed,
allows a text string to be cancelled from the queue.
- Create a ``relative timestamp'' tapset with functions return all
the same values as the ones in the timestamp tapset, except that they
are made relative to the start time of the script.
- Create a tapset that exports a global array that contains a
mapping of recently seen process ID numbers to process names.
Intercept key system calls (
execve?) to update the list
incrementally.
- Send your tapset ideas to the mailing list!