carta
tep_get_long_size(3)

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

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)

Author

Steven Rostedt <[email protected][1]>, author of libtraceevent.
Tzvetomir Stoyanov <[email protected][2]>, author of this man page.

Reporting bugs

Report bugs to <[email protected][3]>

License

libtraceevent is Free Software licensed under the GNU LGPL 2.1

From libtraceevent 1:1.9.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.