Linux-libre 5.4.47-gnu
[librecmc/linux-libre.git] / tools / lib / traceevent / Documentation / libtraceevent-long_size.txt
1 libtraceevent(3)
2 ================
3
4 NAME
5 ----
6 tep_get_long_size, tep_set_long_size - Get / set the size of a long integer on
7 the machine, where the trace is generated, in bytes
8
9 SYNOPSIS
10 --------
11 [verse]
12 --
13 *#include <event-parse.h>*
14
15 int *tep_get_long_size*(strucqt tep_handle pass:[*]_tep_);
16 void *tep_set_long_size*(struct tep_handle pass:[*]_tep_, int _long_size_);
17 --
18
19 DESCRIPTION
20 -----------
21 The _tep_get_long_size()_ function returns the size of a long integer on the machine,
22 where the trace is generated. The _tep_ argument is trace event parser context.
23
24 The _tep_set_long_size()_ function sets the size of a long integer on the machine,
25 where the trace is generated. The _tep_ argument is trace event parser context.
26 The _long_size_ is the size of a long integer, in bytes.
27
28 RETURN VALUE
29 ------------
30 The _tep_get_long_size()_ function returns the size of a long integer on the machine,
31 where the trace is generated, in bytes.
32
33 EXAMPLE
34 -------
35 [source,c]
36 --
37 #include <event-parse.h>
38 ...
39 struct tep_handle *tep = tep_alloc();
40 ...
41 tep_set_long_size(tep, 4);
42 ...
43 int long_size = tep_get_long_size(tep);
44 ...
45 --
46
47 FILES
48 -----
49 [verse]
50 --
51 *event-parse.h*
52         Header file to include in order to have access to the library APIs.
53 *-ltraceevent*
54         Linker switch to add when building a program that uses the library.
55 --
56
57 SEE ALSO
58 --------
59 _libtraceevent(3)_, _trace-cmd(1)_
60
61 AUTHOR
62 ------
63 [verse]
64 --
65 *Steven Rostedt* <rostedt@goodmis.org>, author of *libtraceevent*.
66 *Tzvetomir Stoyanov* <tz.stoyanov@gmail.com>, author of this man page.
67 --
68 REPORTING BUGS
69 --------------
70 Report bugs to  <linux-trace-devel@vger.kernel.org>
71
72 LICENSE
73 -------
74 libtraceevent is Free Software licensed under the GNU LGPL 2.1
75
76 RESOURCES
77 ---------
78 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git