1Fsdb::Filter::kitrace_tUos_edrb(C3o)ntributed Perl DocumFesndtba:t:iFoinlter::kitrace_to_db(3)
2
3
4

NAME

6       kitrace_to_db - convert kitrace output to Fsdb format
7

SYNOPSIS

9           kitrace_to_db [-Y year] [registers] <kitrace.out >kitrace.fsdb
10

DESCRIPTION

12       Converts a kitrace data stream to Fsdb format.
13
14       Optional arguments list registers which will be picked out of the
15       output stream and formatted as their own columns.
16

OPTIONS

18       -Y Y or --year Y
19           Specify the 4-digit year for the dataset (defaults to current
20           year).
21
22       -u or  --utc
23           Specify UTC timezone (defaults to local time zeon).
24
25       This module also supports the standard fsdb options:
26
27       -d  Enable debugging output.
28
29       -i or --input InputSource
30           Read from InputSource, typically a file name, or "-" for standard
31           input, or (if in Perl) a IO::Handle, Fsdb::IO or Fsdb::BoundedQueue
32           objects.
33
34       -o or --output OutputDestination
35           Write to OutputDestination, typically a file name, or "-" for
36           standard output, or (if in Perl) a IO::Handle, Fsdb::IO or
37           Fsdb::BoundedQueue objects.
38
39       --autorun or --noautorun
40           By default, programs process automatically, but Fsdb::Filter
41           objects in Perl do not run until you invoke the run() method.  The
42           "--(no)autorun" option controls that behavior within Perl.
43
44       --help
45           Show help.
46
47       --man
48           Show full manual.
49

SAMPLE USAGE

51   Input:
52           _null_getpage+4  Nov  7 22:40:13.281070 (            ) pid 4893
53           _null_getpage+128 Nov  7 22:40:13.281756 (   00.000686) pid 4893
54           _null_getpage+4  Nov  7 22:40:13.282694 (   00.000938) pid 4893
55           _null_getpage+128 Nov  7 22:40:13.328709 (   00.046015) pid 4893
56           _null_getpage+4  Nov  7 22:40:13.330758 (   00.002049) pid 4893
57           _null_getpage+128 Nov  7 22:40:13.353830 (   00.023072) pid 4893
58           _null_getpage+4  Nov  7 22:40:13.355566 (   00.001736) pid 4893
59           _null_getpage+128 Nov  7 22:40:13.357169 (   00.001603) pid 4893
60           _null_getpage+4  Nov  7 22:40:13.358780 (   00.001611) pid 4893
61           _null_getpage+128 Nov  7 22:40:13.375844 (   00.017064) pid 4893
62           _null_getpage+4  Nov  7 22:40:13.377850 (   00.002006) pid 4893
63           _null_getpage+128 Nov  7 22:40:13.378358 (   00.000508) pid 4893
64
65   Command:
66           kitrace_to_db -Y 1995
67
68   Output:
69           #fsdb event clock diff
70           _null_getpage+4  815812813.281070      0.0
71           _null_getpage+128  815812813.281756  00.000686
72           _null_getpage+4  815812813.282694  00.000938
73           _null_getpage+128  815812813.328709  00.046015
74           _null_getpage+4  815812813.330758  00.002049
75           _null_getpage+128  815812813.353830  00.023072
76           _null_getpage+4  815812813.355566  00.001736
77           _null_getpage+128  815812813.357169  00.001603
78           _null_getpage+4  815812813.358780  00.001611
79           _null_getpage+128  815812813.375844  00.017064
80           _null_getpage+4  815812813.377850  00.002006
81           _null_getpage+128  815812813.378358  00.000508
82           # | kitrace_to_db
83

SEE ALSO

85       Fsdb.
86

CLASS FUNCTIONS

88   new
89           $filter = new Fsdb::Filter::kitrace_to_db(@arguments);
90
91       Create a new kitrace_to_db object, taking command-line arguments.
92
93   set_defaults
94           $filter->set_defaults();
95
96       Internal: set up defaults.
97
98   parse_options
99           $filter->parse_options(@ARGV);
100
101       Internal: parse command-line arguments.
102
103   setup
104           $filter->setup();
105
106       Internal: setup, parse headers.
107
108   run
109           $filter->run();
110
111       Internal: run over each rows.
112
114       Copyright (C) 1991-2011 by John Heidemann <johnh@isi.edu>
115
116       This program is distributed under terms of the GNU general public
117       license, version 2.  See the file COPYING with the distribution for
118       details.
119
120
121
122perl v5.28.1                      2018-02-17    Fsdb::Filter::kitrace_to_db(3)
Impressum