New port: libtracepoint-decode (#31839)

* New port: libtracepoint-decode (decoder for perf.data)

Library for decoding tracepoints, e.g. from Linux perf.data files.

* Version 1.0 for new port: libtracepoint-decode
This commit is contained in:
Doug Cook 2023-06-06 16:22:02 -07:00 committed by GitHub
parent a7c5980158
commit 7dc475291a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,21 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO "microsoft/LinuxTracepoints"
REF abf1f6d3e32546aeaab75ed3cea45b54b94fbd50
SHA512 ac67bbd8184a29c8058a7b2cde51db9a14f97326396ba894f56a36d4219bebbc580f64a3ed5f182df4a0111ad97294a6b780bd44181d37e0fda1be16a6e23dea
HEAD_REF main)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/libtracepoint-decode-cpp")
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
vcpkg_cmake_config_fixup(
PACKAGE_NAME tracepoint-decode
CONFIG_PATH lib/cmake/tracepoint-decode)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

View File

@ -0,0 +1,18 @@
{
"name": "libtracepoint-decode",
"version": "1.0.0",
"description": "Tracepoint decoding classes for C++",
"homepage": "https://github.com/microsoft/LinuxTracepoints/",
"license": "MIT",
"supports": "linux | windows",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -4640,6 +4640,10 @@
"baseline": "1.0.0",
"port-version": 0
},
"libtracepoint-decode": {
"baseline": "1.0.0",
"port-version": 0
},
"libu2f-server": {
"baseline": "1.1.0",
"port-version": 5

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "6bd99da97aa18ca05fd3a67eb77f6df1ea210d2e",
"version": "1.0.0",
"port-version": 0
}
]
}