perf-event-open-sys 0.2.1

Unsafe, direct bindings for Linux's perf_event_open system call, with associated types and constants.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

set -eu

cd $(dirname $0)

(
    sed -e '/automatically generated by rust-bindgen/,$d' src/bindings.rs
    bindgen --with-derive-default wrapper.h
) > new-bindings.rs~

mv new-bindings.rs~ src/bindings.rs