1PT_LIBRARY_VERSION(3)                                    PT_LIBRARY_VERSION(3)
2
3
4

NAME

6       pt_library_version - version information
7

SYNOPSIS

9       #include <intel-pt.h>
10       struct pt_version pt_library_version();
11
12       Link with -lipt.
13

DESCRIPTION

15       pt_library_version() returns the decoder library version.
16

RETURN VALUE

18       pt_library_version()  returns  a pt_version structure which is declared
19       as:
20
21              /** The library version. */
22              struct pt_version {
23                  /** Major version number. */
24                  uint8_t major;
25
26                  /** Minor version number. */
27                  uint8_t minor;
28
29                  /** Patch level. */
30                  uint16_t patch;
31
32                  /** Build number. */
33                  uint32_t build;
34
35                  /** Version extension. */
36                  const char *ext;
37              };
38
39
40
41                                                         PT_LIBRARY_VERSION(3)
Impressum