4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file since 22d466c was
22d466c,
checked in by Daniel Lawson <dlawson@…>, 16 years ago
|
modified install
|
-
Property mode set to
100644
|
File size:
1.8 KB
|
Line | |
---|
1 | Installing libtrace: |
---|
2 | |
---|
3 | |
---|
4 | ---------------------------------- |
---|
5 | To make and install libtrace: |
---|
6 | |
---|
7 | tar zxvf libtrace-x.y.z.tar.gz |
---|
8 | cd libtrace-x.y.z |
---|
9 | ./configure |
---|
10 | make |
---|
11 | (as root) |
---|
12 | make install |
---|
13 | |
---|
14 | |
---|
15 | |
---|
16 | You may need to run 'ldconfig' as root. |
---|
17 | |
---|
18 | ---------------------------------- |
---|
19 | To build the docs: |
---|
20 | |
---|
21 | cd libtrace-x.y.z |
---|
22 | doxygen |
---|
23 | |
---|
24 | |
---|
25 | This will build the docs into libtrace-x.y.z/docs/{html,man} |
---|
26 | There is currently no install candidate for these - sorry about that. |
---|
27 | |
---|
28 | |
---|
29 | ---------------------------------- |
---|
30 | Using libtrace: |
---|
31 | |
---|
32 | There are a number of example programs which should cover the basics of what you need within libtrace-x.y.z/examples/. |
---|
33 | |
---|
34 | |
---|
35 | |
---|
36 | ---------------------------------- |
---|
37 | Large trace files: |
---|
38 | |
---|
39 | Note that if you wish to use libtrace to read in large ( > 2/4 GB) files, and |
---|
40 | you wish to use gz-compressed traces or pcap traces, you will need to link |
---|
41 | against a version of libz or libpcap that supports large files. |
---|
42 | |
---|
43 | The versions of libz and libpcap that ship with Debian Woody don't support |
---|
44 | large file offsets. |
---|
45 | |
---|
46 | |
---|
47 | To get around this, you have a number of options: |
---|
48 | |
---|
49 | * Don't use compressed files. |
---|
50 | * Use stdin as the target of the input uri, and use cat or zcat to pipe the |
---|
51 | file into stdin, eg: |
---|
52 | zcat largetrace.erf.gz | program -i erf:- |
---|
53 | * Use process substitution in place of a filename, eg: |
---|
54 | program -i erf:<(zcat largetrace.erf.gz) |
---|
55 | |
---|
56 | |
---|
57 | ---------------------------------- |
---|
58 | Currently support input URIs: |
---|
59 | |
---|
60 | ERF (dag card tracefile): |
---|
61 | erf:/path/to/file |
---|
62 | erf:/path/to/file.gz |
---|
63 | erf:/path/to/socket |
---|
64 | erf:- |
---|
65 | |
---|
66 | PCAP (from libpcap) |
---|
67 | pcap:/path/to/file |
---|
68 | pcap:- |
---|
69 | |
---|
70 | PCAP Interface (from libpcap) |
---|
71 | pcapint:eth0 |
---|
72 | pcapint:ppp0 |
---|
73 | |
---|
74 | WAG tracefile |
---|
75 | wag:/path/to/file |
---|
76 | wag:/path/to/file.gz |
---|
77 | wag:/path/to/socket |
---|
78 | wag:- |
---|
79 | |
---|
80 | WAG card |
---|
81 | wagint:/dev/wag0 |
---|
82 | |
---|
83 | Real Time Client interface at Waikato University |
---|
84 | rtclient:hostname |
---|
85 | rtclient:hostname:port |
---|
86 | |
---|
87 | DAG (native dag) |
---|
88 | dag:/dev/dag0 |
---|
89 | |
---|
Note: See
TracBrowser
for help on using the repository browser.