Commit | Line | Data |
---|---|---|
e5aa0be3 PP |
1 | # linux-fs-simple example |
2 | ||
3 | This very simple example shows how to use the barectf | |
4 | [linux-fs platform](../../../platforms/linux-fs). | |
5 | ||
6 | ||
7 | ## Building | |
8 | ||
9 | Make sure you have the latest version of barectf installed. | |
10 | ||
11 | Build this example: | |
12 | ||
13 | make | |
14 | ||
15 | ||
16 | ## Running | |
17 | ||
18 | Run this example: | |
19 | ||
20 | ./linux-fs-simple | |
21 | ||
22 | The complete CTF trace is written to the `ctf` directory. | |
23 | ||
24 | You may run the example with any arguments; they will be recorded, | |
25 | as string fields in the events of the binary stream, e.g.: | |
26 | ||
27 | ./linux-fs-simple this argument and this one will be recorded |