1*436bf2bcSAndroid Build Coastguard Workerlibtraceevent(3) 2*436bf2bcSAndroid Build Coastguard Worker================ 3*436bf2bcSAndroid Build Coastguard Worker 4*436bf2bcSAndroid Build Coastguard WorkerNAME 5*436bf2bcSAndroid Build Coastguard Worker---- 6*436bf2bcSAndroid Build Coastguard Workertep_get_long_size, tep_set_long_size - Get / set the size of a long integer on 7*436bf2bcSAndroid Build Coastguard Workerthe machine, where the trace is generated, in bytes 8*436bf2bcSAndroid Build Coastguard Worker 9*436bf2bcSAndroid Build Coastguard WorkerSYNOPSIS 10*436bf2bcSAndroid Build Coastguard Worker-------- 11*436bf2bcSAndroid Build Coastguard Worker[verse] 12*436bf2bcSAndroid Build Coastguard Worker-- 13*436bf2bcSAndroid Build Coastguard Worker*#include <event-parse.h>* 14*436bf2bcSAndroid Build Coastguard Worker 15*436bf2bcSAndroid Build Coastguard Workerint *tep_get_long_size*(strucqt tep_handle pass:[*]_tep_); 16*436bf2bcSAndroid Build Coastguard Workervoid *tep_set_long_size*(struct tep_handle pass:[*]_tep_, int _long_size_); 17*436bf2bcSAndroid Build Coastguard Worker-- 18*436bf2bcSAndroid Build Coastguard Worker 19*436bf2bcSAndroid Build Coastguard WorkerDESCRIPTION 20*436bf2bcSAndroid Build Coastguard Worker----------- 21*436bf2bcSAndroid Build Coastguard WorkerThe *tep_get_long_size()* function returns the size of a long integer on the machine, 22*436bf2bcSAndroid Build Coastguard Workerwhere the trace is generated. The _tep_ argument is trace event parser context. 23*436bf2bcSAndroid Build Coastguard Worker 24*436bf2bcSAndroid Build Coastguard WorkerThe *tep_set_long_size()* function sets the size of a long integer on the machine, 25*436bf2bcSAndroid Build Coastguard Workerwhere the trace is generated. The _tep_ argument is trace event parser context. 26*436bf2bcSAndroid Build Coastguard WorkerThe _long_size_ is the size of a long integer, in bytes. 27*436bf2bcSAndroid Build Coastguard Worker 28*436bf2bcSAndroid Build Coastguard WorkerRETURN VALUE 29*436bf2bcSAndroid Build Coastguard Worker------------ 30*436bf2bcSAndroid Build Coastguard WorkerThe *tep_get_long_size()* function returns the size of a long integer on the machine, 31*436bf2bcSAndroid Build Coastguard Workerwhere the trace is generated, in bytes. 32*436bf2bcSAndroid Build Coastguard Worker 33*436bf2bcSAndroid Build Coastguard WorkerEXAMPLE 34*436bf2bcSAndroid Build Coastguard Worker------- 35*436bf2bcSAndroid Build Coastguard Worker[source,c] 36*436bf2bcSAndroid Build Coastguard Worker-- 37*436bf2bcSAndroid Build Coastguard Worker#include <event-parse.h> 38*436bf2bcSAndroid Build Coastguard Worker... 39*436bf2bcSAndroid Build Coastguard Workerstruct tep_handle *tep = tep_alloc(); 40*436bf2bcSAndroid Build Coastguard Worker... 41*436bf2bcSAndroid Build Coastguard Workertep_set_long_size(tep, 4); 42*436bf2bcSAndroid Build Coastguard Worker... 43*436bf2bcSAndroid Build Coastguard Workerint long_size = tep_get_long_size(tep); 44*436bf2bcSAndroid Build Coastguard Worker... 45*436bf2bcSAndroid Build Coastguard Worker-- 46*436bf2bcSAndroid Build Coastguard Worker 47*436bf2bcSAndroid Build Coastguard WorkerFILES 48*436bf2bcSAndroid Build Coastguard Worker----- 49*436bf2bcSAndroid Build Coastguard Worker[verse] 50*436bf2bcSAndroid Build Coastguard Worker-- 51*436bf2bcSAndroid Build Coastguard Worker*event-parse.h* 52*436bf2bcSAndroid Build Coastguard Worker Header file to include in order to have access to the library APIs. 53*436bf2bcSAndroid Build Coastguard Worker*-ltraceevent* 54*436bf2bcSAndroid Build Coastguard Worker Linker switch to add when building a program that uses the library. 55*436bf2bcSAndroid Build Coastguard Worker-- 56*436bf2bcSAndroid Build Coastguard Worker 57*436bf2bcSAndroid Build Coastguard WorkerSEE ALSO 58*436bf2bcSAndroid Build Coastguard Worker-------- 59*436bf2bcSAndroid Build Coastguard Worker*libtraceevent*(3), *trace-cmd*(1) 60*436bf2bcSAndroid Build Coastguard Worker 61*436bf2bcSAndroid Build Coastguard WorkerAUTHOR 62*436bf2bcSAndroid Build Coastguard Worker------ 63*436bf2bcSAndroid Build Coastguard Worker[verse] 64*436bf2bcSAndroid Build Coastguard Worker-- 65*436bf2bcSAndroid Build Coastguard Worker*Steven Rostedt* <[email protected]>, author of *libtraceevent*. 66*436bf2bcSAndroid Build Coastguard Worker*Tzvetomir Stoyanov* <[email protected]>, author of this man page. 67*436bf2bcSAndroid Build Coastguard Worker-- 68*436bf2bcSAndroid Build Coastguard WorkerREPORTING BUGS 69*436bf2bcSAndroid Build Coastguard Worker-------------- 70*436bf2bcSAndroid Build Coastguard WorkerReport bugs to <[email protected]> 71*436bf2bcSAndroid Build Coastguard Worker 72*436bf2bcSAndroid Build Coastguard WorkerLICENSE 73*436bf2bcSAndroid Build Coastguard Worker------- 74*436bf2bcSAndroid Build Coastguard Workerlibtraceevent is Free Software licensed under the GNU LGPL 2.1 75*436bf2bcSAndroid Build Coastguard Worker 76*436bf2bcSAndroid Build Coastguard WorkerRESOURCES 77*436bf2bcSAndroid Build Coastguard Worker--------- 78*436bf2bcSAndroid Build Coastguard Workerhttps://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/ 79