Submit #3063

kcollect export to dbm and view existing dbm file

Added by htse about 1 year ago. Updated 12 months ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


adds the ability to export to DBM db file with -b option and option to display existing dumped files with -d (-o option is used in display)

kcollect_dbm.patch (7.56 KB) kcollect_dbm.patch htse, 09/21/2017 11:42 AM
kcollect_dbm_final.patch (10.9 KB) kcollect_dbm_final.patch htse, 09/22/2017 08:31 PM
save_headers_to_dbm_file.patch (4.75 KB) save_headers_to_dbm_file.patch htse, 09/24/2017 05:56 PM
intermediary_patch.patch (2.59 KB) intermediary_patch.patch htse, 09/24/2017 06:47 PM
final_path_i_think.patch (5.79 KB) final_path_i_think.patch htse, 09/25/2017 01:54 PM


#1 Updated by htse about 1 year ago

  • File kcollect_load.patch added

As discussed in irc: the loading routine decoupled from display so that it can both display and plot from database

database "adding on" functionality tested and working.

#2 Updated by htse about 1 year ago

  • File deleted (kcollect_load.patch)

#3 Updated by htse about 1 year ago

well I'm a retard and I officially can't work git because I'm a git, there's that. :P

I remade the patch again, third time good time I hope but I also pushed it to a public remote gitlab repository if that's easier:

#4 Updated by dillon about 1 year ago

  • Status changed from New to In Progress
  • Assignee set to dillon

ok, committed the updated patch with whitespace and formatting fixes, plus a manual page adjustment.


#5 Updated by dillon about 1 year ago

  • % Done changed from 100 to 90

#6 Updated by htse about 1 year ago

Saves the kcollect_t[] first 2 header records to the dbm file with "HEADER 0" and "HEADER 1" keys

#7 Updated by htse about 1 year ago

clean up patch, adds switch so we know we get data loaded from disk for GMT conversion. Not happy yet with the time conversion stuff, something is off there. try a dump and then a dump from that load to see what I mean. :/

./kcollect -b testdump
./kcollect -d testdump -b testdump2

#8 Updated by htse about 1 year ago

I hope this is the final patch: bugfixed + -r option, which writes only the header records to an existing DB, based on the header records of the current in kernel ary.

#9 Updated by swildner 12 months ago

  • Status changed from In Progress to Closed

Matt said all of this was pushed, so closing it.

Also available in: Atom PDF