File: README.adoc

package info (click to toggle)
barectf 3.1.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,840 kB
  • sloc: python: 3,781; ansic: 1,585; makefile: 45; sh: 11
file content (50 lines) | stat: -rw-r--r-- 746 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Render with Asciidoctor

= Linux FS simple example
Philippe Proulx
16 September 2020
:toc: left

This simple example shows how to use the barectf
link:../../platforms/linux-fs[Linux FS platform].

== Build

Make sure barectf is installed.

Build this example:

----
$ make
----

== Run

Run this example:

----
$ ./linux-fs-simple
----

The complete CTF trace is the `trace` directory.

[NOTE]
====
You can run the example with arguments; they will be recorded as string
fields in the event records of the `trace/stream` data stream.

For example:

----
$ ./linux-fs-simple dolore excepteur eiusmod commodo incididunt
----
====

== Read

Read the resulting trace with
https://babeltrace.org/[Babeltrace{nbsp}2]:

----
$ babeltrace2 trace
----