Project

General

Profile

Submit #3063

kcollect export to dbm and view existing dbm file

Added by htse 29 days ago. Updated 15 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Userland
Target version:
-
Start date:
09/21/2017
Due date:
% Done:

90%


Description

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 View (7.56 KB) htse, 09/21/2017 11:42 AM

kcollect_dbm_final.patch View (10.9 KB) htse, 09/22/2017 08:31 PM

save_headers_to_dbm_file.patch View (4.75 KB) htse, 09/24/2017 05:56 PM

intermediary_patch.patch View (2.59 KB) htse, 09/24/2017 06:47 PM

final_path_i_think.patch View (5.79 KB) htse, 09/25/2017 01:54 PM

History

#1 Updated by htse 28 days 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 28 days ago

  • File deleted (kcollect_load.patch)

#3 Updated by htse 28 days 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: https://gitlab.com/HowTheStoryEnds/kcollect.git

#4 Updated by dillon 26 days 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.

-Matt

#5 Updated by dillon 26 days ago

  • % Done changed from 100 to 90

#6 Updated by htse 26 days ago

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

#7 Updated by htse 26 days 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. :/

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

#8 Updated by htse 25 days 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 15 days ago

  • Status changed from In Progress to Closed

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

Also available in: Atom PDF