KITRACE_TO_DB(1)
π kitrace_to_db β the perl manpage, but make it make sense
okay so real talk, bestie: this is KITRACE_TO_DB(1), part of the User Contributed Perl Documentation collection, and it's genuinely the glow-up your kitrace data has been waiting for. Let's get into it π
β¨ NAME β¨
kitrace_to_db β no cap, this thing converts kitrace output into Fsdb format. that's the whole vibe. π
πΈ SYNOPSIS πΈ
kitrace_to_db [-Y year] [registers] <kitrace.out >kitrace.fsdb
literally just pipe it in and it comes out the other side looking like a database. iconic. β¨
π¦ DESCRIPTION π¦
So here's the tea: this converts a kitrace data stream into Fsdb format. π«Ά
And the optional arguments? They list registers β which get picked out of the output stream and formatted as their own little columns. main character energy for each register, honestly. π
π OPTIONS π
the kitrace_to_db girlies πΈ
-YY or--yearY β specifies the 4-digit year for the dataset. defaults to the current year, which likeβ¦ fair. ποΈ-uor--utcβ specifies the UTC timezone. defaults to local time zeon. (yes, the manpage literally says "zeon". we're keeping it. it's iconic. π)
the standard fsdb options (it also supports these, bestie) π§
-dβ enable debugging output. for when you need to see what's happening. π-ior--inputInputSource β read from InputSource, typically a file name, or"-"for standard input, or (if you're in Perl)IO::Handle,Fsdb::IOorFsdb::BoundedQueueobjects. π-oor--outputOutputDestination β write to OutputDestination, typically a file name, or"-"for standard output, or (if you're in Perl)IO::Handle,Fsdb::IOorFsdb::BoundedQueueobjects. π--autorunor--noautorunβ okay so by default, programs process automatically, butFsdb::Filterobjects in Perl do not run until you invoke therun()method. this option controls that behavior within Perl. very "you have to ask nicely" of them. π--helpβ show help. π«Ά--manβ show the full manual. (hi, you're here π)
π₯ SAMPLE USAGE π₯
π Input:
_null_getpage+4 Nov 7 22:40:13.281070 ( ) pid 4893
_null_getpage+128 Nov 7 22:40:13.281756 ( 00.000686) pid 4893
_null_getpage+4 Nov 7 22:40:13.282694 ( 00.000938) pid 4893
_null_getpage+128 Nov 7 22:40:13.328709 ( 00.046015) pid 4893
_null_getpage+4 Nov 7 22:40:13.330758 ( 00.002049) pid 4893
_null_getpage+128 Nov 7 22:40:13.353830 ( 00.023072) pid 4893
_null_getpage+4 Nov 7 22:40:13.355566 ( 00.001736) pid 4893
_null_getpage+128 Nov 7 22:40:13.357169 ( 00.001603) pid 4893
_null_getpage+4 Nov 7 22:40:13.358780 ( 00.001611) pid 4893
_null_getpage+128 Nov 7 22:40:13.375844 ( 00.017064) pid 4893
_null_getpage+4 Nov 7 22:40:13.377850 ( 00.002006) pid 4893
_null_getpage+128 Nov 7 22:40:13.378358 ( 00.000508) pid 4893
π¦ Command:
kitrace_to_db -Y 1995
β Output:
#fsdb event clock diff
_null_getpage+4 815812813.281070 0.0
_null_getpage+128 815812813.281756 00.000686
_null_getpage+4 815812813.282694 00.000938
_null_getpage+128 815812813.328709 00.046015
_null_getpage+4 815812813.330758 00.002049
_null_getpage+128 815812813.353830 00.023072
_null_getpage+4 815812813.355566 00.001736
_null_getpage+128 815812813.357169 00.001603
_null_getpage+4 815812813.358780 00.001611
_null_getpage+128 815812813.375844 00.017064
_null_getpage+4 815812813.377850 00.002006
_null_getpage+128 815812813.378358 00.000508
# | kitrace_to_db
look at that #fsdb event clock diff header line. she ate. π
π SEE ALSO π
Fsdb. go give her a read, iykyk π
π AUTHOR and COPYRIGHT π
Copyright (C) 1991-2011 by John Heidemann <johnh@isi.edu>
This program is distributed under terms of the GNU general public license, version 2. See the file COPYING with the distribution for details. π
fr fr, read the COPYING file if you're gonna redistribute. it's giving "respect the license" energy and we stan. π
and that's the whole page, bestie π«Ά this version dropped as perl v5.32.1, dated 2024-08-02 β mwah, go convert some kitrace output, you're gonna slay πβ¨π
π¦ where this page comes from
- epel 9: perl-Fsdb 2:3.9-1.el9 Β· GPLv2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms