Fsdb::F...ce_to_db(3)
π Fsdb::F...ce_to_db(3) π
okay bestie, welcome to Fsdb::F...ce_to_db(3) from the User Contributed Perl Documentation aisle of the manual-page mall ποΈβ¨ this one is all about turning kitrace output into Fsdb format, and it's lowkey iconic.
π NAME π
kitrace_to_db β convert kitrace output to Fsdb format. slay.
β¨ SYNOPSIS β¨
kitrace_to_db [-Y year] [registers] <kitrace.out >kitrace.fsdb
π¦ DESCRIPTION π¦
Converts a kitrace data stream to Fsdb format. literally its whole job, and it ate.
The optional arguments are a list of registers which will be picked out of the output stream and formatted as their own columns. cute, organized, main character energy π
π OPTIONS π
-Y Yor--year Yβ specify the 4-digit year for the dataset (defaults to current year).-uor--utcβ specify UTC timezone (defaults to local time zeon π«Ά yes, that spelling is in the page, not me).
This module also supports the standard fsdb options:
-dβ enable debugging output.-ior--inputInputSource β read from InputSource, typically a file name, or"-"for standard input, or (if in Perl) aIO::Handle,Fsdb::IOorFsdb::BoundedQueueobjects.-oor--outputOutputDestination β write to OutputDestination, typically a file name, or"-"for standard output, or (if in Perl) aIO::Handle,Fsdb::IOorFsdb::BoundedQueueobjects.--autorunor--noautorunβ by default, programs process automatically, butFsdb::Filterobjects in Perl do not run until you invoke therun()method. The"--(no)autorun"option controls that behavior within Perl.--helpβ show help.--manβ show full manual.
πΈ SAMPLE USAGE πΈ
Here's the before/after, bestie β the glow-up is real π
π₯ 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
π«Ά SEE ALSO π«Ά
Fsdb. β that's the whole list, bestie. periodt.
π§ CLASS FUNCTIONS π§
π new
$filter = new Fsdb::Filter::kitrace_to_db(@arguments);
Create a new kitrace_to_db object, taking command-line arguments. new object, who dis π
βοΈ set_defaults
$filter->set_defaults();
Internal: set up defaults.
πͺ parse_options
$filter->parse_options(@ARGV);
Internal: parse command-line arguments.
π οΈ setup
$filter->setup();
Internal: setup, parse headers.
π run
$filter->run();
Internal: run over each rows.
π 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.
okay bye bestie β this page was brought to you by perl v5.32.1, dated 2024-08-02, signing off as Fsdb::F...ce_to_db(3) πβ¨
π¦ 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