Lines Matching +full:version +full:- +full:minor
2 * Copyright (c) 2018-2019, Intel Corporation
32 #include "intel-pt.h"
38 static inline int pt_fprint_version(FILE *file, struct pt_version version) in pt_fprint_version() argument
40 if (version.build) { in pt_fprint_version()
41 if (version.ext && version.ext[0]) in pt_fprint_version()
43 "-%" PRIu32 "-%s", version.major, in pt_fprint_version()
44 version.minor, version.patch, in pt_fprint_version()
45 version.build, version.ext); in pt_fprint_version()
48 "-%" PRIu32 "", version.major, in pt_fprint_version()
49 version.minor, version.patch, in pt_fprint_version()
50 version.build); in pt_fprint_version()
52 if (version.ext && version.ext[0]) in pt_fprint_version()
54 "-%s", version.major, version.minor, in pt_fprint_version()
55 version.patch, version.ext); in pt_fprint_version()
58 version.major, version.minor, in pt_fprint_version()
59 version.patch); in pt_fprint_version()
63 static inline int pt_print_version(struct pt_version version) in pt_print_version() argument
65 return pt_fprint_version(stdout, version); in pt_print_version()
72 /* .minor = */ PT_VERSION_MINOR, in pt_print_tool_version()
81 printf("%s-", name); in pt_print_tool_version()
83 printf(" / libipt-"); in pt_print_tool_version()