1LIBTRACEEVENT(3) libtraceevent Manual LIBTRACEEVENT(3)
2
3
4
6 tep_get_long_size, tep_set_long_size - Get / set the size of a long
7 integer on the machine, where the trace is generated, in bytes
8
10 #include <event-parse.h>
11
12 int tep_get_long_size(strucqt tep_handle *tep);
13 void tep_set_long_size(struct tep_handle *tep, int long_size);
14
16 The tep_get_long_size() function returns the size of a long integer on
17 the machine, where the trace is generated. The tep argument is trace
18 event parser context.
19
20 The tep_set_long_size() function sets the size of a long integer on the
21 machine, where the trace is generated. The tep argument is trace event
22 parser context. The long_size is the size of a long integer, in bytes.
23
25 The tep_get_long_size() function returns the size of a long integer on
26 the machine, where the trace is generated, in bytes.
27
29 #include <event-parse.h>
30 ...
31 struct tep_handle *tep = tep_alloc();
32 ...
33 tep_set_long_size(tep, 4);
34 ...
35 int long_size = tep_get_long_size(tep);
36 ...
37
39 event-parse.h
40 Header file to include in order to have access to the library APIs.
41 -ltraceevent
42 Linker switch to add when building a program that uses the library.
43
45 libtraceevent(3), trace-cmd(1)
46
48 Steven Rostedt <rostedt@goodmis.org[1]>, author of libtraceevent.
49 Tzvetomir Stoyanov <tz.stoyanov@gmail.com[2]>, author of this man page.
50
52 Report bugs to <linux-trace-devel@vger.kernel.org[3]>
53
55 libtraceevent is Free Software licensed under the GNU LGPL 2.1
56
58 https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
59
61 1. rostedt@goodmis.org
62 mailto:rostedt@goodmis.org
63
64 2. tz.stoyanov@gmail.com
65 mailto:tz.stoyanov@gmail.com
66
67 3. linux-trace-devel@vger.kernel.org
68 mailto:linux-trace-devel@vger.kernel.org
69
70
71
72libtraceevent 1.7.2 04/05/2023 LIBTRACEEVENT(3)