commit | e276eb82820eb92d221f183496e28da4ffe0fe68 | [log] [tgz] |
---|---|---|
author | Paul Jakma <paul@quagga.net> | Sat Jan 09 16:15:00 2010 +0000 |
committer | Paul Jakma <paul@quagga.net> | Wed Dec 08 16:53:09 2010 +0000 |
tree | 33f8ab85f1bd68874589ca804049d2ec4958478a | |
parent | 2613abe64fe48761d798942af8dc0ec90c804b22 [diff] |
lib: Add a command to clear the thread CPU history data * (general) this can be useful when investigating thread latency problems, when you don't want to have to restart a daemon between tests. * thread.c: (cpu_record_(hash_)clear) wipe the stored thread cpu history data, according to the filter, similar to the vty print code. (clear_thread_cpu_cmd) new command to clear data. * thread.h: export new command * command.c: install it