tep_get_long_size3
Get / set the size of a long integer on the machine, where the trace is generated, in bytes
Usage
int tep_get_long_size(strucqt
tep_handle
*tep);
void tep_set_long_size(struct
tep_handle
*tep,
int
long_size);
Overview
The tep_get_long_size() function returns the size of a long integer on the machine, where the trace is generated. The tep argument is trace event parser context.
The tep_set_long_size() function sets the size of a long integer on the machine, where the trace is generated. The tep argument is trace event parser context. The long_size is the size of a long integer, in bytes.
Return value
The tep_get_long_size() function returns the size of a long integer on the machine, where the trace is generated, in bytes.
Examples
#include <event-parse.h> ... struct tep_handle *tep = tep_alloc(); ... tep_set_long_size(tep, 4); ... int long_size = tep_get_long_size(tep); ...
Files
event-parse.h
Header file to include in order to have access to the library APIs.
-ltraceevent
Linker switch to add when building a program that uses the library.
Resources
https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
Notes
- 1.
-
mailto:[email protected]
- 2.
-
mailto:[email protected]
- 3.
-
mailto:[email protected]
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)