pt_library_version - Man Page

version information

Synopsis

#include <intel-pt.h>

struct pt_version pt_library_version();

Link with -lipt.

Description

pt_library_version() returns the decoder library version.

Return Value

pt_library_version() returns a pt_version structure which is declared as:

/** The library version. */
struct pt_version {
    /** Major version number. */
    uint8_t major;

    /** Minor version number. */
    uint8_t minor;

    /** Patch level. */
    uint16_t patch;

    /** Build number. */
    uint32_t build;

    /** Version extension. */
    const char *ext;
};

Referenced By

pt_blk_next(3), pt_insn_next(3).