Back to home page

OSCL-LXR

 
 

    


0001 libtraceevent(3)
0002 ================
0003 
0004 NAME
0005 ----
0006 tep_get_long_size, tep_set_long_size - Get / set the size of a long integer on
0007 the machine, where the trace is generated, in bytes
0008 
0009 SYNOPSIS
0010 --------
0011 [verse]
0012 --
0013 *#include <event-parse.h>*
0014 
0015 int *tep_get_long_size*(strucqt tep_handle pass:[*]_tep_);
0016 void *tep_set_long_size*(struct tep_handle pass:[*]_tep_, int _long_size_);
0017 --
0018 
0019 DESCRIPTION
0020 -----------
0021 The _tep_get_long_size()_ function returns the size of a long integer on the machine,
0022 where the trace is generated. The _tep_ argument is trace event parser context.
0023 
0024 The _tep_set_long_size()_ function sets the size of a long integer on the machine,
0025 where the trace is generated. The _tep_ argument is trace event parser context.
0026 The _long_size_ is the size of a long integer, in bytes.
0027 
0028 RETURN VALUE
0029 ------------
0030 The _tep_get_long_size()_ function returns the size of a long integer on the machine,
0031 where the trace is generated, in bytes.
0032 
0033 EXAMPLE
0034 -------
0035 [source,c]
0036 --
0037 #include <event-parse.h>
0038 ...
0039 struct tep_handle *tep = tep_alloc();
0040 ...
0041 tep_set_long_size(tep, 4);
0042 ...
0043 int long_size = tep_get_long_size(tep);
0044 ...
0045 --
0046 
0047 FILES
0048 -----
0049 [verse]
0050 --
0051 *event-parse.h*
0052         Header file to include in order to have access to the library APIs.
0053 *-ltraceevent*
0054         Linker switch to add when building a program that uses the library.
0055 --
0056 
0057 SEE ALSO
0058 --------
0059 _libtraceevent(3)_, _trace-cmd(1)_
0060 
0061 AUTHOR
0062 ------
0063 [verse]
0064 --
0065 *Steven Rostedt* <rostedt@goodmis.org>, author of *libtraceevent*.
0066 *Tzvetomir Stoyanov* <tz.stoyanov@gmail.com>, author of this man page.
0067 --
0068 REPORTING BUGS
0069 --------------
0070 Report bugs to  <linux-trace-devel@vger.kernel.org>
0071 
0072 LICENSE
0073 -------
0074 libtraceevent is Free Software licensed under the GNU LGPL 2.1
0075 
0076 RESOURCES
0077 ---------
0078 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git