aboutsummaryrefslogtreecommitdiff
path: root/libc/src/unix/notbsd/linux/musl/b64/x86_64.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/unix/notbsd/linux/musl/b64/x86_64.rs')
-rw-r--r--libc/src/unix/notbsd/linux/musl/b64/x86_64.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/libc/src/unix/notbsd/linux/musl/b64/x86_64.rs b/libc/src/unix/notbsd/linux/musl/b64/x86_64.rs
new file mode 100644
index 0000000..2cfd903
--- /dev/null
+++ b/libc/src/unix/notbsd/linux/musl/b64/x86_64.rs
@@ -0,0 +1,20 @@
+pub type c_char = i8;
+
+s! {
+ pub struct mcontext_t {
+ __private: [u64; 32],
+ }
+
+ pub struct ucontext_t {
+ pub uc_flags: ::c_ulong,
+ pub uc_link: *mut ucontext_t,
+ pub uc_stack: ::stack_t,
+ pub uc_mcontext: mcontext_t,
+ pub uc_sigmask: ::sigset_t,
+ __private: [u8; 512],
+ }
+}
+
+pub const SYS_gettid: ::c_long = 186;
+
+pub const SYS_perf_event_open: ::c_long = 298;