cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

libtraceevent-long_size.txt (1784B)


      1libtraceevent(3)
      2================
      3
      4NAME
      5----
      6tep_get_long_size, tep_set_long_size - Get / set the size of a long integer on
      7the machine, where the trace is generated, in bytes
      8
      9SYNOPSIS
     10--------
     11[verse]
     12--
     13*#include <event-parse.h>*
     14
     15int *tep_get_long_size*(strucqt tep_handle pass:[*]_tep_);
     16void *tep_set_long_size*(struct tep_handle pass:[*]_tep_, int _long_size_);
     17--
     18
     19DESCRIPTION
     20-----------
     21The _tep_get_long_size()_ function returns the size of a long integer on the machine,
     22where the trace is generated. The _tep_ argument is trace event parser context.
     23
     24The _tep_set_long_size()_ function sets the size of a long integer on the machine,
     25where the trace is generated. The _tep_ argument is trace event parser context.
     26The _long_size_ is the size of a long integer, in bytes.
     27
     28RETURN VALUE
     29------------
     30The _tep_get_long_size()_ function returns the size of a long integer on the machine,
     31where the trace is generated, in bytes.
     32
     33EXAMPLE
     34-------
     35[source,c]
     36--
     37#include <event-parse.h>
     38...
     39struct tep_handle *tep = tep_alloc();
     40...
     41tep_set_long_size(tep, 4);
     42...
     43int long_size = tep_get_long_size(tep);
     44...
     45--
     46
     47FILES
     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
     57SEE ALSO
     58--------
     59_libtraceevent(3)_, _trace-cmd(1)_
     60
     61AUTHOR
     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--
     68REPORTING BUGS
     69--------------
     70Report bugs to  <linux-trace-devel@vger.kernel.org>
     71
     72LICENSE
     73-------
     74libtraceevent is Free Software licensed under the GNU LGPL 2.1
     75
     76RESOURCES
     77---------
     78https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git