1KITRACE_TO_DB(1) User Contributed Perl Documentation KITRACE_TO_DB(1)
2
3
4
6 kitrace_to_db - convert kitrace output to Fsdb format
7
9 kitrace_to_db [-Y year] [registers] <kitrace.out >kitrace.fsdb
10
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
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
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
85 Fsdb.
86
88 Copyright (C) 1991-2011 by John Heidemann <johnh@isi.edu>
89
90 This program is distributed under terms of the GNU general public
91 license, version 2. See the file COPYING with the distribution for
92 details.
93
94
95
96perl v5.30.0 2019-09-19 KITRACE_TO_DB(1)