Project

General

Profile

Actions

Submit #3063

closed

kcollect export to dbm and view existing dbm file

Added by htse over 6 years ago. Updated over 6 years ago.

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

90%

Estimated time:

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)


Files

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
Actions #1

Updated by htse over 6 years 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.

Actions #2

Updated by htse over 6 years ago

  • File deleted (kcollect_load.patch)
Actions #3

Updated by htse over 6 years 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

Actions #4

Updated by dillon over 6 years 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

Actions #5

Updated by dillon over 6 years ago

  • % Done changed from 100 to 90
Actions #6

Updated by htse over 6 years ago

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

Actions #7

Updated by htse over 6 years 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

Actions #8

Updated by htse over 6 years 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.

Actions #9

Updated by swildner over 6 years ago

  • Status changed from In Progress to Closed

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

Actions

Also available in: Atom PDF