[INFO] fetching crate ittapi-sys 0.4.0... [INFO] testing ittapi-sys-0.4.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate ittapi-sys 0.4.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ittapi-sys 0.4.0 [INFO] finished tweaking crates.io crate ittapi-sys 0.4.0 [INFO] tweaked toml for crates.io crate ittapi-sys 0.4.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ittapi-sys 0.4.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 48 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.68.1 (available: v0.72.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.68.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bda6abb692e5eb8cec44564718057e5672f645f6443351dd6c1c20cce3fe8c76 [INFO] running `Command { std: "docker" "start" "-a" "bda6abb692e5eb8cec44564718057e5672f645f6443351dd6c1c20cce3fe8c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bda6abb692e5eb8cec44564718057e5672f645f6443351dd6c1c20cce3fe8c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bda6abb692e5eb8cec44564718057e5672f645f6443351dd6c1c20cce3fe8c76", kill_on_drop: false }` [INFO] [stdout] bda6abb692e5eb8cec44564718057e5672f645f6443351dd6c1c20cce3fe8c76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 495e1cc4153ab9dfec163dbc99e82c6f0db9aa2336f59d89f7bdac2d666c430e [INFO] running `Command { std: "docker" "start" "-a" "495e1cc4153ab9dfec163dbc99e82c6f0db9aa2336f59d89f7bdac2d666c430e", kill_on_drop: false }` [INFO] [stderr] Compiling ittapi-sys v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "495e1cc4153ab9dfec163dbc99e82c6f0db9aa2336f59d89f7bdac2d666c430e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "495e1cc4153ab9dfec163dbc99e82c6f0db9aa2336f59d89f7bdac2d666c430e", kill_on_drop: false }` [INFO] [stdout] 495e1cc4153ab9dfec163dbc99e82c6f0db9aa2336f59d89f7bdac2d666c430e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04cd76d2a465d6191a8b98c8992e77fa683d875b358d62520133287ce4c3ae8f [INFO] running `Command { std: "docker" "start" "-a" "04cd76d2a465d6191a8b98c8992e77fa683d875b358d62520133287ce4c3ae8f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bindgen v0.68.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ittapi-sys v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.01s [INFO] running `Command { std: "docker" "inspect" "04cd76d2a465d6191a8b98c8992e77fa683d875b358d62520133287ce4c3ae8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04cd76d2a465d6191a8b98c8992e77fa683d875b358d62520133287ce4c3ae8f", kill_on_drop: false }` [INFO] [stdout] 04cd76d2a465d6191a8b98c8992e77fa683d875b358d62520133287ce4c3ae8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bafd2a620f1d35b8963a9e34645e3eb96b4232eaf3cadd7b560983c030ee8aa6 [INFO] running `Command { std: "docker" "start" "-a" "bafd2a620f1d35b8963a9e34645e3eb96b4232eaf3cadd7b560983c030ee8aa6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ittapi_sys-21e067a1d232a7e8) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test bindgen_test_layout____itt_clock_domain ... ok [INFO] [stdout] test bindgen_test_layout__LineNumberInfo ... ok [INFO] [stdout] test bindgen_test_layout____itt_clock_info ... ok [INFO] [stdout] test bindgen_test_layout____itt_domain ... ok [INFO] [stdout] test bindgen_test_layout____itt_histogram ... ok [INFO] [stdout] test bindgen_test_layout____itt_context_metadata ... ok [INFO] [stdout] test bindgen_test_layout____itt_section_info ... ok [INFO] [stdout] test bindgen_test_layout____itt_id ... ok [INFO] [stdout] test bindgen_test_layout____itt_module_object ... ok [INFO] [stdout] test bindgen_test_layout__iJIT_Method_Load ... ok [INFO] [stdout] test bindgen_test_layout__iJIT_Method_Update ... ok [INFO] [stdout] test bindgen_test_layout__iJIT_Method_Load_V2 ... ok [INFO] [stdout] test bindgen_test_layout____itt_string_handle ... ok [INFO] [stdout] test bindgen_test_layout____itt_track ... ok [INFO] [stdout] test bindgen_test_layout____itt_track_group ... ok [INFO] [stdout] test bindgen_test_layout__iJIT_Method_Inline_Load ... ok [INFO] [stdout] test bindgen_test_layout__iJIT_Method_Load_V3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/bindgen-up-to-date.rs (/opt/rustwide/target/debug/deps/bindgen_up_to_date-7ffe37213fcc648d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain '350d0ef0ec0493e6d21cfb265cb8211a0e74d766'. [INFO] [stderr] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stderr] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] test test_jitprofiling_bindings_up_to_date ... FAILED [INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain '350d0ef0ec0493e6d21cfb265cb8211a0e74d766'. [INFO] [stderr] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stderr] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stdout] test test_ittnotify_bindings_up_to_date ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_jitprofiling_bindings_up_to_date stdout ---- [INFO] [stdout] Failed to run rustfmt: Internal rustfmt error (non-fatal, continuing) [INFO] [stdout] /* automatically generated by rust-bindgen 0.68.1 */ [INFO] [stdout] [INFO] [stdout] -# [doc = "<\\brief Send this to shutdown the agent.\n Use NULL for event data."] pub const iJIT_jvm_event_iJVM_EVENT_TYPE_SHUTDOWN : iJIT_jvm_event = 2 ; # [doc = "<\\brief Send when dynamic code is\n JIT compiled and loaded into\n memory by the JIT engine, but\n before the code is executed.\n Use iJIT_Method_Load as event\n data."] pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED : iJIT_jvm_event = 13 ; # [doc = "<\\brief Send when compiled dynamic\n code is being unloaded from memory.\n Use iJIT_Method_Load as event data."] pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_UNLOAD_START : iJIT_jvm_event = 14 ; # [doc = "<\\brief Send to provide new content for\n a previously reported dynamic code.\n The previous content will be invalidated\n starting from the time of the notification.\n Use iJIT_Method_Load as event data but\n required fields are following:\n - method_id identify the code to update.\n - method_load_address specify start address\n within identified code range\n where update should be started.\n - method_size specify length of updated code\n range."] pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_UPDATE : iJIT_jvm_event = 15 ; # [doc = "<\\brief Send when an inline dynamic\n code is JIT compiled and loaded\n into memory by the JIT engine,\n but before the parent code region\n starts executing.\n Use iJIT_Method_Inline_Load as event data."] pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_INLINE_LOAD_FINISHED : iJIT_jvm_event = 16 ; # [doc = " @cond exclude_from_documentation"] pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_UPDATE_V2 : iJIT_jvm_event = 17 ; # [doc = "<\\brief Send when a dynamic code is\n JIT compiled and loaded into\n memory by the JIT engine, but\n before the code is executed.\n Use iJIT_Method_Load_V2 as event data."] pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V2 : iJIT_jvm_event = 21 ; # [doc = "<\\brief Send when a dynamic code is\n JIT compiled and loaded into\n memory by the JIT engine, but\n before the code is executed.\n Use iJIT_Method_Load_V3 as event data."] pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V3 : iJIT_jvm_event = 22 ; # [doc = " @brief Enumerator for the types of notifications"] pub type iJIT_jvm_event = :: std :: os :: raw :: c_uint ; # [doc = " @brief Enumerator for the types of notifications"] pub use self :: iJIT_jvm_event as iJIT_JVM_EVENT ; # [doc = "<\\brief The agent is not running;\n iJIT_NotifyEvent calls will\n not be processed."] pub const _iJIT_IsProfilingActiveFlags_iJIT_NOTHING_RUNNING : _iJIT_IsProfilingActiveFlags = 0 ; # [doc = "<\\brief The agent is running and\n ready to process notifications."] pub const _iJIT_IsProfilingActiveFlags_iJIT_SAMPLING_ON : _iJIT_IsProfilingActiveFlags = 1 ; # [doc = " @brief Enumerator for the agent's mode"] pub type _iJIT_IsProfilingActiveFlags = :: std :: os :: raw :: c_uint ; # [doc = " @brief Enumerator for the agent's mode"] pub use self :: _iJIT_IsProfilingActiveFlags as iJIT_IsProfilingActiveFlags ; # [doc = " @brief Description of a single entry in the line number information of a code region.\n @details A table of line number entries gives information about how the reported code region\n is mapped to source file.\n Intel(R) VTune(TM) Amplifier uses line number information to attribute\n the samples (virtual address) to a line number. \\n\n It is acceptable to report different code addresses for the same source line:\n @code\n Offset LineNumber\n 1 2\n 12 4\n 15 2\n 18 1\n 21 30\n\n VTune Amplifier constructs the following table using the client data\n\n Code subrange Line number\n 0-1 2\n 1-12 4\n 12-15 2\n 15-18 1\n 18-21 30\n @endcode"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _LineNumberInfo { # [doc = "<\\brief Offset from the begining of the code region."] pub Offset : :: std :: os :: raw :: c_uint , # [doc = "<\\brief Matching source line number offset (from beginning of source file)."] pub LineNumber : :: std :: os :: raw :: c_uint , } # [test] fn bindgen_test_layout__LineNumberInfo () { const UNINIT : :: std :: mem :: MaybeUninit < _LineNumberInfo > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _LineNumberInfo > () , 8usize , concat ! ("Size of: " , stringify ! (_LineNumberInfo))) ; assert_eq ! (:: std :: mem :: align_of :: < _LineNumberInfo > () , 4usize , concat ! ("Alignment of " , stringify ! (_LineNumberInfo))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . Offset) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_LineNumberInfo) , "::" , stringify ! (Offset))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . LineNumber) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (_LineNumberInfo) , "::" , stringify ! (LineNumber))) ; } # [doc = " @brief Description of a single entry in the line number information of a code region.\n @details A table of line number entries gives information about how the reported code region\n is mapped to source file.\n Intel(R) VTune(TM) Amplifier uses line number information to attribute\n the samples (virtual address) to a line number. \\n\n It is acceptable to report different code addresses for the same source line:\n @code\n Offset LineNumber\n 1 2\n 12 4\n 15 2\n 18 1\n 21 30\n\n VTune Amplifier constructs the following table using the client data\n\n Code subrange Line number\n 0-1 2\n 1-12 4\n 12-15 2\n 15-18 1\n 18-21 30\n @endcode"] pub type pLineNumberInfo = * mut _LineNumberInfo ; # [doc = " @brief Description of a single entry in the line number information of a code region.\n @details A table of line number entries gives information about how the reported code region\n is mapped to source file.\n Intel(R) VTune(TM) Amplifier uses line number information to attribute\n the samples (virtual address) to a line number. \\n\n It is acceptable to report different code addresses for the same source line:\n @code\n Offset LineNumber\n 1 2\n 12 4\n 15 2\n 18 1\n 21 30\n\n VTune Amplifier constructs the following table using the client data\n\n Code subrange Line number\n 0-1 2\n 1-12 4\n 12-15 2\n 15-18 1\n 18-21 30\n @endcode"] pub type LineNumberInfo = _LineNumberInfo ; # [doc = "<\\brief Native to the process architecture that is calling it."] pub const _iJIT_CodeArchitecture_iJIT_CA_NATIVE : _iJIT_CodeArchitecture = 0 ; # [doc = "<\\brief 32-bit machine code."] pub const _iJIT_CodeArchitecture_iJIT_CA_32 : _iJIT_CodeArchitecture = 1 ; # [doc = "<\\brief 64-bit machine code."] pub const _iJIT_CodeArchitecture_iJIT_CA_64 : _iJIT_CodeArchitecture = 2 ; # [doc = " @brief Enumerator for the code architecture."] pub type _iJIT_CodeArchitecture = :: std :: os :: raw :: c_uint ; # [doc = " @brief Enumerator for the code architecture."] pub use self :: _iJIT_CodeArchitecture as iJIT_CodeArchitecture ; # [doc = " @brief Description of a JIT-compiled method\n @details When you use the iJIT_Method_Load structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED\n as an event type to report it."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _iJIT_Method_Load { # [doc = "<\\brief Unique method ID. Cannot be 0.\n You must either use the API function\n iJIT_GetNewMethodID to get a valid and unique\n method ID, or else manage ID uniqueness\n and correct range by yourself.\\n\n You must use the same method ID for all code\n regions of the same method, otherwise different\n method IDs specify different methods."] pub method_id : :: std :: os :: raw :: c_uint , # [doc = "<\\brief The name of the method. It can be optionally\n prefixed with its class name and appended with\n its complete signature. Can't be NULL."] pub method_name : * mut :: std :: os :: raw :: c_char , # [doc = "<\\brief The start virtual address of the method code\n region. If NULL, data provided with\n event are not accepted."] pub method_load_address : * mut :: std :: os :: raw :: c_void , # [doc = "<\\brief The code size of the method in memory.\n If 0, then data provided with the event are not\n accepted."] pub method_size : :: std :: os :: raw :: c_uint , # [doc = "<\\brief The number of entries in the line number\n table.0 if none."] pub line_number_size : :: std :: os :: raw :: c_uint , # [doc = "<\\brief Pointer to the line numbers info\n array. Can be NULL if\n line_number_size is 0. See\n LineNumberInfo Structure for a\n description of a single entry in\n the line number info array"] pub line_number_table : pLineNumberInfo , # [doc = "<\\brief This field is obsolete."] pub class_id : :: std :: os :: raw :: c_uint , # [doc = "<\\brief Class name. Can be NULL."] pub class_file_name : * mut :: std :: os :: raw :: c_char , # [doc = "<\\brief Source file name. Can be NULL."] pub source_file_name : * mut :: std :: os :: raw :: c_char , } # [test] fn bindgen_test_layout__iJIT_Method_Load () { const UNINIT : :: std :: mem :: MaybeUninit < _iJIT_Method_Load > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _iJIT_Method_Load > () , 64usize , concat ! ("Size of: " , stringify ! (_iJIT_Method_Load))) ; assert_eq ! (:: std :: mem :: align_of :: < _iJIT_Method_Load > () , 8usize , concat ! ("Alignment of " , stringify ! (_iJIT_Method_Load))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_id) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load) , "::" , stringify ! (method_id))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_name) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load) , "::" , stringify ! (method_name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_load_address) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load) , "::" , stringify ! (method_load_address))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_size) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load) , "::" , stringify ! (method_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . line_number_size) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load) , "::" , stringify ! (line_number_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . line_number_table) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load) , "::" , stringify ! (line_number_table))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . class_id) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load) , "::" , stringify ! (class_id))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . class_file_name) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load) , "::" , stringify ! (class_file_name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . source_file_name) as usize - ptr as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load) , "::" , stringify ! (source_file_name))) ; } # [doc = " @brief Description of a JIT-compiled method\n @details When you use the iJIT_Method_Load structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED\n as an event type to report it."] pub type piJIT_Method_Load = * mut _iJIT_Method_Load ; # [doc = " @brief Description of a JIT-compiled method\n @details When you use the iJIT_Method_Load structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED\n as an event type to report it."] pub type iJIT_Method_Load = _iJIT_Method_Load ; # [doc = " @brief Description of a JIT-compiled method\n @details When you use the iJIT_Method_Load_V2 structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V2\n as an event type to report it."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _iJIT_Method_Load_V2 { # [doc = "<\\brief Unique method ID. Cannot be 0.\n You must either use the API function\n iJIT_GetNewMethodID to get a valid and unique\n method ID, or else manage ID uniqueness\n and correct range by yourself.\\n\n You must use the same method ID for all code\n regions of the same method, otherwise different\n method IDs specify different methods."] pub method_id : :: std :: os :: raw :: c_uint , # [doc = "<\\brief The name of the method. It can be optionally\n prefixed with its class name and appended with\n its complete signature. Can't be NULL."] pub method_name : * mut :: std :: os :: raw :: c_char , # [doc = "<\\brief The start virtual address of the method code\n region. If NULL, then data provided with the\n event are not accepted."] pub method_load_address : * mut :: std :: os :: raw :: c_void , # [doc = "<\\brief The code size of the method in memory.\n If 0, then data provided with the event are not\n accepted."] pub method_size : :: std :: os :: raw :: c_uint , # [doc = "<\\brief The number of entries in the line number\n table. 0 if none."] pub line_number_size : :: std :: os :: raw :: c_uint , # [doc = "<\\brief Pointer to the line numbers info\n array. Can be NULL if\n line_number_size is 0. See\n LineNumberInfo Structure for a\n description of a single entry in\n the line number info array."] pub line_number_table : pLineNumberInfo , # [doc = "<\\brief Class name. Can be NULL."] pub class_file_name : * mut :: std :: os :: raw :: c_char , # [doc = "<\\brief Source file name. Can be NULL."] pub source_file_name : * mut :: std :: os :: raw :: c_char , # [doc = "<\\brief Module name. Can be NULL.\nThe module name can be useful for distinguishing among\ndifferent JIT engines. VTune Amplifier will display\nreported methods grouped by specific module."] pub module_name : * mut :: std :: os :: raw :: c_char , } # [test] fn bindgen_test_layout__iJIT_Method_Load_V2 () { const UNINIT : :: std :: mem :: MaybeUninit < _iJIT_Method_Load_V2 > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _iJIT_Method_Load_V2 > () , 64usize , concat ! ("Size of: " , stringify ! (_iJIT_Method_Load_V2))) ; assert_eq ! (:: std :: mem :: align_of :: < _iJIT_Method_Load_V2 > () , 8usize , concat ! ("Alignment of " , stringify ! (_iJIT_Method_Load_V2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_id) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V2) , "::" , stringify ! (method_id))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_name) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V2) , "::" , stringify ! (method_name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_load_address) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V2) , "::" , stringify ! (method_load_address))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_size) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V2) , "::" , stringify ! (method_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . line_number_size) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V2) , "::" , stringify ! (line_number_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . line_number_table) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V2) , "::" , stringify ! (line_number_table))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . class_file_name) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V2) , "::" , stringify ! (class_file_name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . source_file_name) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V2) , "::" , stringify ! (source_file_name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . module_name) as usize - ptr as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V2) , "::" , stringify ! (module_name))) ; } # [doc = " @brief Description of a JIT-compiled method\n @details When you use the iJIT_Method_Load_V2 structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V2\n as an event type to report it."] pub type piJIT_Method_Load_V2 = * mut _iJIT_Method_Load_V2 ; # [doc = " @brief Description of a JIT-compiled method\n @details When you use the iJIT_Method_Load_V2 structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V2\n as an event type to report it."] pub type iJIT_Method_Load_V2 = _iJIT_Method_Load_V2 ; # [doc = " @brief Description of a JIT-compiled method\n @details The iJIT_Method_Load_V3 structure is the same as iJIT_Method_Load_V2\n with a newly introduced 'arch' field that specifies architecture of the code region.\n When you use the iJIT_Method_Load_V3 structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V3\n as an event type to report it."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _iJIT_Method_Load_V3 { # [doc = "<\\brief Unique method ID. Cannot be 0.\n You must either use the API function\n iJIT_GetNewMethodID to get a valid and unique\n method ID, or manage ID uniqueness\n and correct range by yourself.\\n\n You must use the same method ID for all code\n regions of the same method, otherwise they are\n treated as regions of different methods."] pub method_id : :: std :: os :: raw :: c_uint , # [doc = "<\\brief The name of the method. It can be optionally\n prefixed with its class name and appended with\n its complete signature. Cannot be NULL."] pub method_name : * mut :: std :: os :: raw :: c_char , # [doc = "<\\brief The start virtual address of the method code\n region. If NULL, then data provided with the\n event are not accepted."] pub method_load_address : * mut :: std :: os :: raw :: c_void , # [doc = "<\\brief The code size of the method in memory.\n If 0, then data provided with the event are not\n accepted."] pub method_size : :: std :: os :: raw :: c_uint , # [doc = "<\\brief The number of entries in the line number\n table. 0 if none."] pub line_number_size : :: std :: os :: raw :: c_uint , # [doc = "<\\brief Pointer to the line numbers info\n array. Can be NULL if\n line_number_size is 0. See\n LineNumberInfo Structure for a\n description of a single entry in\n the line number info array."] pub line_number_table : pLineNumberInfo , # [doc = "<\\brief Class name. Can be NULL."] pub class_file_name : * mut :: std :: os :: raw :: c_char , # [doc = "<\\brief Source file name. Can be NULL."] pub source_file_name : * mut :: std :: os :: raw :: c_char , # [doc = "<\\brief Module name. Can be NULL.\n The module name can be useful for distinguishing among\n different JIT engines. VTune Amplifier will display\n reported methods grouped by specific module."] pub module_name : * mut :: std :: os :: raw :: c_char , # [doc = "<\\brief Architecture of the method's code region.\n By default, it is the same as the process\n architecture that is calling it.\n For example, you can use it if your 32-bit JIT\n engine generates 64-bit code.\n\n If JIT engine reports both 32-bit and 64-bit types\n of methods then VTune Amplifier splits the methods\n with the same module name but with different\n architectures in two different modules. VTune Amplifier\n modifies the original name provided with a 64-bit method\n version by ending it with '(64)'"] pub module_arch : iJIT_CodeArchitecture , } # [test] fn bindgen_test_layout__iJIT_Method_Load_V3 () { const UNINIT : :: std :: mem :: MaybeUninit < _iJIT_Method_Load_V3 > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _iJIT_Method_Load_V3 > () , 72usize , concat ! ("Size of: " , stringify ! (_iJIT_Method_Load_V3))) ; assert_eq ! (:: std :: mem :: align_of :: < _iJIT_Method_Load_V3 > () , 8usize , concat ! ("Alignment of " , stringify ! (_iJIT_Method_Load_V3))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_id) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V3) , "::" , stringify ! (method_id))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_name) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V3) , "::" , stringify ! (method_name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_load_address) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V3) , "::" , stringify ! (method_load_address))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_size) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V3) , "::" , stringify ! (method_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . line_number_size) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V3) , "::" , stringify ! (line_number_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . line_number_table) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V3) , "::" , stringify ! (line_number_table))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . class_file_name) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V3) , "::" , stringify ! (class_file_name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . source_file_name) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V3) , "::" , stringify ! (source_file_name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . module_name) as usize - ptr as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V3) , "::" , stringify ! (module_name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . module_arch) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Load_V3) , "::" , stringify ! (module_arch))) ; } # [doc = " @brief Description of a JIT-compiled method\n @details The iJIT_Method_Load_V3 structure is the same as iJIT_Method_Load_V2\n with a newly introduced 'arch' field that specifies architecture of the code region.\n When you use the iJIT_Method_Load_V3 structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V3\n as an event type to report it."] pub type piJIT_Method_Load_V3 = * mut _iJIT_Method_Load_V3 ; # [doc = " @brief Description of a JIT-compiled method\n @details The iJIT_Method_Load_V3 structure is the same as iJIT_Method_Load_V2\n with a newly introduced 'arch' field that specifies architecture of the code region.\n When you use the iJIT_Method_Load_V3 structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V3\n as an event type to report it."] pub type iJIT_Method_Load_V3 = _iJIT_Method_Load_V3 ; # [doc = " @brief Description of an inline JIT-compiled method\n @details When you use the_iJIT_Method_Inline_Load structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_INLINE_LOAD_FINISHED\n as an event type to report it."] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _iJIT_Method_Inline_Load { # [doc = "<\\brief Unique method ID. Cannot be 0.\n You must either use the API function\n iJIT_GetNewMethodID to get a valid and unique\n method ID, or else manage ID uniqueness\n and correct range by yourself."] pub method_id : :: std :: os :: raw :: c_uint , # [doc = "<\\brief Unique immediate parent's method ID.\n Cannot be 0.\n You must either use the API function\n iJIT_GetNewMethodID to get a valid and unique\n method ID, or else manage ID uniqueness\n and correct range by yourself."] pub parent_method_id : :: std :: os :: raw :: c_uint , # [doc = "<\\brief The name of the method. It can be optionally\n prefixed with its class name and appended with\n its complete signature. Can't be NULL."] pub method_name : * mut :: std :: os :: raw :: c_char , pub method_load_address : * mut :: std :: os :: raw :: c_void , # [doc = "<\\brief The code size of the method in memory.\n If 0, then data provided with the event are not\n accepted."] pub method_size : :: std :: os :: raw :: c_uint , # [doc = "<\\brief The number of entries in the line number\n table. 0 if none."] pub line_number_size : :: std :: os :: raw :: c_uint , # [doc = "<\\brief Pointer to the line numbers info\n array. Can be NULL if\n line_number_size is 0. See\n LineNumberInfo Structure for a\n description of a single entry in\n the line number info array"] pub line_number_table : pLineNumberInfo , # [doc = "<\\brief Class name. Can be NULL."] pub class_file_name : * mut :: std :: os :: raw :: c_char , # [doc = "<\\brief Source file name. Can be NULL."] pub source_file_name : * mut :: std :: os :: raw :: c_char , } # [test] fn bindgen_test_layout__iJIT_Method_Inline_Load () { const UNINIT : :: std :: mem :: MaybeUninit < _iJIT_Method_Inline_Load > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _iJIT_Method_Inline_Load > () , 56usize , concat ! ("Size of: " , stringify ! (_iJIT_Method_Inline_Load))) ; assert_eq ! (:: std :: mem :: align_of :: < _iJIT_Method_Inline_Load > () , 8usize , concat ! ("Alignment of " , stringify ! (_iJIT_Method_Inline_Load))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_id) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Inline_Load) , "::" , stringify ! (method_id))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . parent_method_id) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Inline_Load) , "::" , stringify ! (parent_method_id))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_name) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Inline_Load) , "::" , stringify ! (method_name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_load_address) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Inline_Load) , "::" , stringify ! (method_load_address))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . method_size) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Inline_Load) , "::" , stringify ! (method_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . line_number_size) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Inline_Load) , "::" , stringify ! (line_number_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . line_number_table) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Inline_Load) , "::" , stringify ! (line_number_table))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . class_file_name) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Inline_Load) , "::" , stringify ! (class_file_name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . source_file_name) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Inline_Load) , "::" , stringify ! (source_file_name))) ; } # [doc = " @brief Description of an inline JIT-compiled method\n @details When you use the_iJIT_Method_Inline_Load structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_INLINE_LOAD_FINISHED\n as an event type to report it."] pub type piJIT_Method_Inline_Load = * mut _iJIT_Method_Inline_Load ; # [doc = " @brief Description of an inline JIT-compiled method\n @details When you use the_iJIT_Method_Inline_Load structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_INLINE_LOAD_FINISHED\n as an event type to report it."] pub type iJIT_Method_Inline_Load = _iJIT_Method_Inline_Load ; pub const _iJIT_SegmentType_iJIT_CT_UNKNOWN : _iJIT_SegmentType = 0 ; # [doc = "<\\brief Executable code."] pub const _iJIT_SegmentType_iJIT_CT_CODE : _iJIT_SegmentType = 1 ; # [doc = "<\\brief Data (not executable code).\n VTune Amplifier uses the format string\n (see iJIT_Method_Update) to represent\n this data in the VTune Amplifier GUI"] pub const _iJIT_SegmentType_iJIT_CT_DATA : _iJIT_SegmentType = 2 ; # [doc = "<\\brief Use the previous markup for the trace.\n Can be used for the following\n iJVM_EVENT_TYPE_METHOD_UPDATE_V2 events,\n if the type of the previously reported segment\n type is the same."] pub const _iJIT_SegmentType_iJIT_CT_KEEP : _iJIT_SegmentType = 3 ; pub const _iJIT_SegmentType_iJIT_CT_EOF : _iJIT_SegmentType = 4 ; # [doc = " @cond exclude_from_documentation */\n/**\n @brief Description of a segment type\n @details Use the segment type to specify a type of data supplied\n with the iJVM_EVENT_TYPE_METHOD_UPDATE_V2 event to be applied to\n a certain code trace."] pub type _iJIT_SegmentType = :: std :: os :: raw :: c_uint ; # [doc = " @cond exclude_from_documentation */\n/**\n @brief Description of a segment type\n @details Use the segment type to specify a type of data supplied\n with the iJVM_EVENT_TYPE_METHOD_UPDATE_V2 event to be applied to\n a certain code trace."] pub use self :: _iJIT_SegmentType as iJIT_SegmentType ; # [doc = " @brief Description of a dynamic update of the content within JIT-compiled method\n @details The JIT engine may generate the methods that are updated at runtime\n partially by mixed (data + executable code) content. When you use the iJIT_Method_Update\n structure to describe the update of the content within a JIT-compiled method,\n use iJVM_EVENT_TYPE_METHOD_UPDATE_V2 as an event type to report it.\n\n On the first Update event, VTune Amplifier copies the original code range reported by\n the iJVM_EVENT_TYPE_METHOD_LOAD event, then modifies it with the supplied bytes and\n adds the modified range to the original method. For next update events, VTune Amplifier\n does the same but it uses the latest modified version of a code region for update.\n Eventually, VTune Amplifier GUI displays multiple code ranges for the method reported by\n the iJVM_EVENT_TYPE_METHOD_LOAD event.\n Notes:\n - Multiple update events with different types for the same trace are allowed\n but they must be reported for the same code ranges.\n Example,\n @code\n [-- data---] Allowed\n [-- code --] Allowed\n [code] Ignored\n [-- data---] Allowed\n [-- code --] Allowed\n [------------ trace ---------]\n @endcode\n - The types of previously reported events can be changed but they must be reported\n for the same code ranges.\n Example,\n @code\n [-- data---] Allowed\n [-- code --] Allowed\n [-- data---] Allowed\n [-- code --] Allowed\n [------------ trace ---------]\n @endcode"] # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _iJIT_Method_Update { # [doc = "<\\brief Start address of the update within a method"] pub load_address : * mut :: std :: os :: raw :: c_void , # [doc = "<\\brief The update size"] pub size : :: std :: os :: raw :: c_uint , # [doc = "<\\brief Type of the update"] pub type_ : iJIT_SegmentType , # [doc = "<\\brief C string that contains a format string\n that follows the same specifications as format in printf.\n The format string is used for iJIT_CT_CODE only\n and cannot be NULL.\n Format can be changed on the fly."] pub data_format : * const :: std :: os :: raw :: c_char , } # [test] fn bindgen_test_layout__iJIT_Method_Update () { const UNINIT : :: std :: mem :: MaybeUninit < _iJIT_Method_Update > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < _iJIT_Method_Update > () , 24usize , concat ! ("Size of: " , stringify ! (_iJIT_Method_Update))) ; assert_eq ! (:: std :: mem :: align_of :: < _iJIT_Method_Update > () , 8usize , concat ! ("Alignment of " , stringify ! (_iJIT_Method_Update))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . load_address) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Update) , "::" , stringify ! (load_address))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . size) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Update) , "::" , stringify ! (size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . type_) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Update) , "::" , stringify ! (type_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . data_format) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (_iJIT_Method_Update) , "::" , stringify ! (data_format))) ; } # [doc = " @brief Description of a dynamic update of the content within JIT-compiled method\n @details The JIT engine may generate the methods that are updated at runtime\n partially by mixed (data + executable code) content. When you use the iJIT_Method_Update\n structure to describe the update of the content within a JIT-compiled method,\n use iJVM_EVENT_TYPE_METHOD_UPDATE_V2 as an event type to report it.\n\n On the first Update event, VTune Amplifier copies the original code range reported by\n the iJVM_EVENT_TYPE_METHOD_LOAD event, then modifies it with the supplied bytes and\n adds the modified range to the original method. For next update events, VTune Amplifier\n does the same but it uses the latest modified version of a code region for update.\n Eventually, VTune Amplifier GUI displays multiple code ranges for the method reported by\n the iJVM_EVENT_TYPE_METHOD_LOAD event.\n Notes:\n - Multiple update events with different types for the same trace are allowed\n but they must be reported for the same code ranges.\n Example,\n @code\n [-- data---] Allowed\n [-- code --] Allowed\n [code] Ignored\n [-- data---] Allowed\n [-- code --] Allowed\n [------------ trace ---------]\n @endcode\n - The types of previously reported events can be changed but they must be reported\n for the same code ranges.\n Example,\n @code\n [-- data---] Allowed\n [-- code --] Allowed\n [-- data---] Allowed\n [-- code --] Allowed\n [------------ trace ---------]\n @endcode"] pub type piJIT_Method_Update = * mut _iJIT_Method_Update ; # [doc = " @brief Description of a dynamic update of the content within JIT-compiled method\n @details The JIT engine may generate the methods that are updated at runtime\n partially by mixed (data + executable code) content. When you use the iJIT_Method_Update\n structure to describe the update of the content within a JIT-compiled method,\n use iJVM_EVENT_TYPE_METHOD_UPDATE_V2 as an event type to report it.\n\n On the first Update event, VTune Amplifier copies the original code range reported by\n the iJVM_EVENT_TYPE_METHOD_LOAD event, then modifies it with the supplied bytes and\n adds the modified range to the original method. For next update events, VTune Amplifier\n does the same but it uses the latest modified version of a code region for update.\n Eventually, VTune Amplifier GUI displays multiple code ranges for the method reported by\n the iJVM_EVENT_TYPE_METHOD_LOAD event.\n Notes:\n - Multiple update events with different types for the same trace are allowed\n but they must be reported for the same code ranges.\n Example,\n @code\n [-- data---] Allowed\n [-- code --] Allowed\n [code] Ignored\n [-- data---] Allowed\n [-- code --] Allowed\n [------------ trace ---------]\n @endcode\n - The types of previously reported events can be changed but they must be reported\n for the same code ranges.\n Example,\n @code\n [-- data---] Allowed\n [-- code --] Allowed\n [-- data---] Allowed\n [-- code --] Allowed\n [------------ trace ---------]\n @endcode"] pub type iJIT_Method_Update = _iJIT_Method_Update ; extern "C" { # [doc = " @brief Generates a new unique method ID.\n\n You must use this API to obtain unique and valid method IDs for methods or\n traces reported to the agent if you don't have your own mechanism to generate\n unique method IDs.\n\n @return a new unique method ID. When out of unique method IDs, this API\n returns 0, which is not an accepted value."] pub fn iJIT_GetNewMethodID () -> :: std :: os :: raw :: c_uint ; } extern "C" { # [doc = " @brief Returns the current mode of the agent.\n\n @return iJIT_SAMPLING_ON, indicating that agent is running, or\n iJIT_NOTHING_RUNNING if no agent is running."] pub fn iJIT_IsProfilingActive () -> iJIT_IsProfilingActiveFlags ; } extern "C" { # [doc = " @brief Reports infomation about JIT-compiled code to the agent.\n\n The reported information is used to attribute samples obtained from any\n Intel(R) VTune(TM) Amplifier collector. This API needs to be called\n after JIT compilation and before the first entry into the JIT-compiled\n code.\n\n @param[in] event_type - type of the data sent to the agent\n @param[in] EventSpecificData - pointer to event-specific data\n\n @returns 1 on success, otherwise 0."] pub fn iJIT_NotifyEvent (event_type : iJIT_JVM_EVENT , EventSpecificData : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } [INFO] [stdout] +#[doc = "<\\brief Send this to shutdown the agent.\n Use NULL for event data."] [INFO] [stdout] +pub const iJIT_jvm_event_iJVM_EVENT_TYPE_SHUTDOWN: iJIT_jvm_event = 2; [INFO] [stdout] +#[doc = "<\\brief Send when dynamic code is\n JIT compiled and loaded into\n memory by the JIT engine, but\n before the code is executed.\n Use iJIT_Method_Load as event\n data."] [INFO] [stdout] +pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED: iJIT_jvm_event = 13; [INFO] [stdout] +#[doc = "<\\brief Send when compiled dynamic\n code is being unloaded from memory.\n Use iJIT_Method_Load as event data."] [INFO] [stdout] +pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_UNLOAD_START: iJIT_jvm_event = 14; [INFO] [stdout] +#[doc = "<\\brief Send to provide new content for\n a previously reported dynamic code.\n The previous content will be invalidated\n starting from the time of the notification.\n Use iJIT_Method_Load as event data but\n required fields are following:\n - method_id identify the code to update.\n - method_load_address specify start address\n within identified code range\n where update should be started.\n - method_size specify length of updated code\n range."] [INFO] [stdout] +pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_UPDATE: iJIT_jvm_event = 15; [INFO] [stdout] +#[doc = "<\\brief Send when an inline dynamic\n code is JIT compiled and loaded\n into memory by the JIT engine,\n but before the parent code region\n starts executing.\n Use iJIT_Method_Inline_Load as event data."] [INFO] [stdout] +pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_INLINE_LOAD_FINISHED: iJIT_jvm_event = 16; [INFO] [stdout] +#[doc = " @cond exclude_from_documentation"] [INFO] [stdout] +pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_UPDATE_V2: iJIT_jvm_event = 17; [INFO] [stdout] +#[doc = "<\\brief Send when a dynamic code is\n JIT compiled and loaded into\n memory by the JIT engine, but\n before the code is executed.\n Use iJIT_Method_Load_V2 as event data."] [INFO] [stdout] +pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V2: iJIT_jvm_event = 21; [INFO] [stdout] +#[doc = "<\\brief Send when a dynamic code is\n JIT compiled and loaded into\n memory by the JIT engine, but\n before the code is executed.\n Use iJIT_Method_Load_V3 as event data."] [INFO] [stdout] +pub const iJIT_jvm_event_iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V3: iJIT_jvm_event = 22; [INFO] [stdout] +#[doc = " @brief Enumerator for the types of notifications"] [INFO] [stdout] +pub type iJIT_jvm_event = ::std::os::raw::c_uint; [INFO] [stdout] +#[doc = " @brief Enumerator for the types of notifications"] [INFO] [stdout] +pub use self::iJIT_jvm_event as iJIT_JVM_EVENT; [INFO] [stdout] +#[doc = "<\\brief The agent is not running;\n iJIT_NotifyEvent calls will\n not be processed."] [INFO] [stdout] +pub const _iJIT_IsProfilingActiveFlags_iJIT_NOTHING_RUNNING: _iJIT_IsProfilingActiveFlags = 0; [INFO] [stdout] +#[doc = "<\\brief The agent is running and\n ready to process notifications."] [INFO] [stdout] +pub const _iJIT_IsProfilingActiveFlags_iJIT_SAMPLING_ON: _iJIT_IsProfilingActiveFlags = 1; [INFO] [stdout] +#[doc = " @brief Enumerator for the agent's mode"] [INFO] [stdout] +pub type _iJIT_IsProfilingActiveFlags = ::std::os::raw::c_uint; [INFO] [stdout] +#[doc = " @brief Enumerator for the agent's mode"] [INFO] [stdout] +pub use self::_iJIT_IsProfilingActiveFlags as iJIT_IsProfilingActiveFlags; [INFO] [stdout] +#[doc = " @brief Description of a single entry in the line number information of a code region.\n @details A table of line number entries gives information about how the reported code region\n is mapped to source file.\n Intel(R) VTune(TM) Amplifier uses line number information to attribute\n the samples (virtual address) to a line number. \\n\n It is acceptable to report different code addresses for the same source line:\n @code\n Offset LineNumber\n 1 2\n 12 4\n 15 2\n 18 1\n 21 30\n\n VTune Amplifier constructs the following table using the client data\n\n Code subrange Line number\n 0-1 2\n 1-12 4\n 12-15 2\n 15-18 1\n 18-21 30\n @endcode"] [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct _LineNumberInfo { [INFO] [stdout] + #[doc = "<\\brief Offset from the begining of the code region."] [INFO] [stdout] + pub Offset: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief Matching source line number offset (from beginning of source file)."] [INFO] [stdout] + pub LineNumber: ::std::os::raw::c_uint, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout__LineNumberInfo() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<_LineNumberInfo> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<_LineNumberInfo>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Size of: ", stringify!(_LineNumberInfo)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<_LineNumberInfo>(), [INFO] [stdout] + 4usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(_LineNumberInfo)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).Offset) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_LineNumberInfo), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(Offset) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).LineNumber) as usize - ptr as usize }, [INFO] [stdout] + 4usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_LineNumberInfo), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(LineNumber) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +#[doc = " @brief Description of a single entry in the line number information of a code region.\n @details A table of line number entries gives information about how the reported code region\n is mapped to source file.\n Intel(R) VTune(TM) Amplifier uses line number information to attribute\n the samples (virtual address) to a line number. \\n\n It is acceptable to report different code addresses for the same source line:\n @code\n Offset LineNumber\n 1 2\n 12 4\n 15 2\n 18 1\n 21 30\n\n VTune Amplifier constructs the following table using the client data\n\n Code subrange Line number\n 0-1 2\n 1-12 4\n 12-15 2\n 15-18 1\n 18-21 30\n @endcode"] [INFO] [stdout] +pub type pLineNumberInfo = *mut _LineNumberInfo; [INFO] [stdout] +#[doc = " @brief Description of a single entry in the line number information of a code region.\n @details A table of line number entries gives information about how the reported code region\n is mapped to source file.\n Intel(R) VTune(TM) Amplifier uses line number information to attribute\n the samples (virtual address) to a line number. \\n\n It is acceptable to report different code addresses for the same source line:\n @code\n Offset LineNumber\n 1 2\n 12 4\n 15 2\n 18 1\n 21 30\n\n VTune Amplifier constructs the following table using the client data\n\n Code subrange Line number\n 0-1 2\n 1-12 4\n 12-15 2\n 15-18 1\n 18-21 30\n @endcode"] [INFO] [stdout] +pub type LineNumberInfo = _LineNumberInfo; [INFO] [stdout] +#[doc = "<\\brief Native to the process architecture that is calling it."] [INFO] [stdout] +pub const _iJIT_CodeArchitecture_iJIT_CA_NATIVE: _iJIT_CodeArchitecture = 0; [INFO] [stdout] +#[doc = "<\\brief 32-bit machine code."] [INFO] [stdout] +pub const _iJIT_CodeArchitecture_iJIT_CA_32: _iJIT_CodeArchitecture = 1; [INFO] [stdout] +#[doc = "<\\brief 64-bit machine code."] [INFO] [stdout] +pub const _iJIT_CodeArchitecture_iJIT_CA_64: _iJIT_CodeArchitecture = 2; [INFO] [stdout] +#[doc = " @brief Enumerator for the code architecture."] [INFO] [stdout] +pub type _iJIT_CodeArchitecture = ::std::os::raw::c_uint; [INFO] [stdout] +#[doc = " @brief Enumerator for the code architecture."] [INFO] [stdout] +pub use self::_iJIT_CodeArchitecture as iJIT_CodeArchitecture; [INFO] [stdout] +#[doc = " @brief Description of a JIT-compiled method\n @details When you use the iJIT_Method_Load structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED\n as an event type to report it."] [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct _iJIT_Method_Load { [INFO] [stdout] + #[doc = "<\\brief Unique method ID. Cannot be 0.\n You must either use the API function\n iJIT_GetNewMethodID to get a valid and unique\n method ID, or else manage ID uniqueness\n and correct range by yourself.\\n\n You must use the same method ID for all code\n regions of the same method, otherwise different\n method IDs specify different methods."] [INFO] [stdout] + pub method_id: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief The name of the method. It can be optionally\n prefixed with its class name and appended with\n its complete signature. Can't be NULL."] [INFO] [stdout] + pub method_name: *mut ::std::os::raw::c_char, [INFO] [stdout] + #[doc = "<\\brief The start virtual address of the method code\n region. If NULL, data provided with\n event are not accepted."] [INFO] [stdout] + pub method_load_address: *mut ::std::os::raw::c_void, [INFO] [stdout] + #[doc = "<\\brief The code size of the method in memory.\n If 0, then data provided with the event are not\n accepted."] [INFO] [stdout] + pub method_size: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief The number of entries in the line number\n table.0 if none."] [INFO] [stdout] + pub line_number_size: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief Pointer to the line numbers info\n array. Can be NULL if\n line_number_size is 0. See\n LineNumberInfo Structure for a\n description of a single entry in\n the line number info array"] [INFO] [stdout] + pub line_number_table: pLineNumberInfo, [INFO] [stdout] + #[doc = "<\\brief This field is obsolete."] [INFO] [stdout] + pub class_id: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief Class name. Can be NULL."] [INFO] [stdout] + pub class_file_name: *mut ::std::os::raw::c_char, [INFO] [stdout] + #[doc = "<\\brief Source file name. Can be NULL."] [INFO] [stdout] + pub source_file_name: *mut ::std::os::raw::c_char, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout__iJIT_Method_Load() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<_iJIT_Method_Load> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<_iJIT_Method_Load>(), [INFO] [stdout] + 64usize, [INFO] [stdout] + concat!("Size of: ", stringify!(_iJIT_Method_Load)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<_iJIT_Method_Load>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(_iJIT_Method_Load)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_id) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_id) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_name) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_load_address) as usize - ptr as usize }, [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_load_address) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_size) as usize - ptr as usize }, [INFO] [stdout] + 24usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_size) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).line_number_size) as usize - ptr as usize }, [INFO] [stdout] + 28usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(line_number_size) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).line_number_table) as usize - ptr as usize }, [INFO] [stdout] + 32usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(line_number_table) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).class_id) as usize - ptr as usize }, [INFO] [stdout] + 40usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(class_id) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).class_file_name) as usize - ptr as usize }, [INFO] [stdout] + 48usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(class_file_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).source_file_name) as usize - ptr as usize }, [INFO] [stdout] + 56usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(source_file_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +#[doc = " @brief Description of a JIT-compiled method\n @details When you use the iJIT_Method_Load structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED\n as an event type to report it."] [INFO] [stdout] +pub type piJIT_Method_Load = *mut _iJIT_Method_Load; [INFO] [stdout] +#[doc = " @brief Description of a JIT-compiled method\n @details When you use the iJIT_Method_Load structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED\n as an event type to report it."] [INFO] [stdout] +pub type iJIT_Method_Load = _iJIT_Method_Load; [INFO] [stdout] +#[doc = " @brief Description of a JIT-compiled method\n @details When you use the iJIT_Method_Load_V2 structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V2\n as an event type to report it."] [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct _iJIT_Method_Load_V2 { [INFO] [stdout] + #[doc = "<\\brief Unique method ID. Cannot be 0.\n You must either use the API function\n iJIT_GetNewMethodID to get a valid and unique\n method ID, or else manage ID uniqueness\n and correct range by yourself.\\n\n You must use the same method ID for all code\n regions of the same method, otherwise different\n method IDs specify different methods."] [INFO] [stdout] + pub method_id: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief The name of the method. It can be optionally\n prefixed with its class name and appended with\n its complete signature. Can't be NULL."] [INFO] [stdout] + pub method_name: *mut ::std::os::raw::c_char, [INFO] [stdout] + #[doc = "<\\brief The start virtual address of the method code\n region. If NULL, then data provided with the\n event are not accepted."] [INFO] [stdout] + pub method_load_address: *mut ::std::os::raw::c_void, [INFO] [stdout] + #[doc = "<\\brief The code size of the method in memory.\n If 0, then data provided with the event are not\n accepted."] [INFO] [stdout] + pub method_size: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief The number of entries in the line number\n table. 0 if none."] [INFO] [stdout] + pub line_number_size: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief Pointer to the line numbers info\n array. Can be NULL if\n line_number_size is 0. See\n LineNumberInfo Structure for a\n description of a single entry in\n the line number info array."] [INFO] [stdout] + pub line_number_table: pLineNumberInfo, [INFO] [stdout] + #[doc = "<\\brief Class name. Can be NULL."] [INFO] [stdout] + pub class_file_name: *mut ::std::os::raw::c_char, [INFO] [stdout] + #[doc = "<\\brief Source file name. Can be NULL."] [INFO] [stdout] + pub source_file_name: *mut ::std::os::raw::c_char, [INFO] [stdout] + #[doc = "<\\brief Module name. Can be NULL.\nThe module name can be useful for distinguishing among\ndifferent JIT engines. VTune Amplifier will display\nreported methods grouped by specific module."] [INFO] [stdout] + pub module_name: *mut ::std::os::raw::c_char, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout__iJIT_Method_Load_V2() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<_iJIT_Method_Load_V2> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<_iJIT_Method_Load_V2>(), [INFO] [stdout] + 64usize, [INFO] [stdout] + concat!("Size of: ", stringify!(_iJIT_Method_Load_V2)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<_iJIT_Method_Load_V2>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(_iJIT_Method_Load_V2)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_id) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V2), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_id) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_name) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V2), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_load_address) as usize - ptr as usize }, [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V2), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_load_address) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_size) as usize - ptr as usize }, [INFO] [stdout] + 24usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V2), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_size) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).line_number_size) as usize - ptr as usize }, [INFO] [stdout] + 28usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V2), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(line_number_size) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).line_number_table) as usize - ptr as usize }, [INFO] [stdout] + 32usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V2), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(line_number_table) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).class_file_name) as usize - ptr as usize }, [INFO] [stdout] + 40usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V2), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(class_file_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).source_file_name) as usize - ptr as usize }, [INFO] [stdout] + 48usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V2), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(source_file_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).module_name) as usize - ptr as usize }, [INFO] [stdout] + 56usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V2), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(module_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +#[doc = " @brief Description of a JIT-compiled method\n @details When you use the iJIT_Method_Load_V2 structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V2\n as an event type to report it."] [INFO] [stdout] +pub type piJIT_Method_Load_V2 = *mut _iJIT_Method_Load_V2; [INFO] [stdout] +#[doc = " @brief Description of a JIT-compiled method\n @details When you use the iJIT_Method_Load_V2 structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V2\n as an event type to report it."] [INFO] [stdout] +pub type iJIT_Method_Load_V2 = _iJIT_Method_Load_V2; [INFO] [stdout] +#[doc = " @brief Description of a JIT-compiled method\n @details The iJIT_Method_Load_V3 structure is the same as iJIT_Method_Load_V2\n with a newly introduced 'arch' field that specifies architecture of the code region.\n When you use the iJIT_Method_Load_V3 structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V3\n as an event type to report it."] [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct _iJIT_Method_Load_V3 { [INFO] [stdout] + #[doc = "<\\brief Unique method ID. Cannot be 0.\n You must either use the API function\n iJIT_GetNewMethodID to get a valid and unique\n method ID, or manage ID uniqueness\n and correct range by yourself.\\n\n You must use the same method ID for all code\n regions of the same method, otherwise they are\n treated as regions of different methods."] [INFO] [stdout] + pub method_id: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief The name of the method. It can be optionally\n prefixed with its class name and appended with\n its complete signature. Cannot be NULL."] [INFO] [stdout] + pub method_name: *mut ::std::os::raw::c_char, [INFO] [stdout] + #[doc = "<\\brief The start virtual address of the method code\n region. If NULL, then data provided with the\n event are not accepted."] [INFO] [stdout] + pub method_load_address: *mut ::std::os::raw::c_void, [INFO] [stdout] + #[doc = "<\\brief The code size of the method in memory.\n If 0, then data provided with the event are not\n accepted."] [INFO] [stdout] + pub method_size: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief The number of entries in the line number\n table. 0 if none."] [INFO] [stdout] + pub line_number_size: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief Pointer to the line numbers info\n array. Can be NULL if\n line_number_size is 0. See\n LineNumberInfo Structure for a\n description of a single entry in\n the line number info array."] [INFO] [stdout] + pub line_number_table: pLineNumberInfo, [INFO] [stdout] + #[doc = "<\\brief Class name. Can be NULL."] [INFO] [stdout] + pub class_file_name: *mut ::std::os::raw::c_char, [INFO] [stdout] + #[doc = "<\\brief Source file name. Can be NULL."] [INFO] [stdout] + pub source_file_name: *mut ::std::os::raw::c_char, [INFO] [stdout] + #[doc = "<\\brief Module name. Can be NULL.\n The module name can be useful for distinguishing among\n different JIT engines. VTune Amplifier will display\n reported methods grouped by specific module."] [INFO] [stdout] + pub module_name: *mut ::std::os::raw::c_char, [INFO] [stdout] + #[doc = "<\\brief Architecture of the method's code region.\n By default, it is the same as the process\n architecture that is calling it.\n For example, you can use it if your 32-bit JIT\n engine generates 64-bit code.\n\n If JIT engine reports both 32-bit and 64-bit types\n of methods then VTune Amplifier splits the methods\n with the same module name but with different\n architectures in two different modules. VTune Amplifier\n modifies the original name provided with a 64-bit method\n version by ending it with '(64)'"] [INFO] [stdout] + pub module_arch: iJIT_CodeArchitecture, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout__iJIT_Method_Load_V3() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<_iJIT_Method_Load_V3> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<_iJIT_Method_Load_V3>(), [INFO] [stdout] + 72usize, [INFO] [stdout] + concat!("Size of: ", stringify!(_iJIT_Method_Load_V3)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<_iJIT_Method_Load_V3>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(_iJIT_Method_Load_V3)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_id) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V3), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_id) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_name) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V3), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_load_address) as usize - ptr as usize }, [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V3), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_load_address) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_size) as usize - ptr as usize }, [INFO] [stdout] + 24usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V3), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_size) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).line_number_size) as usize - ptr as usize }, [INFO] [stdout] + 28usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V3), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(line_number_size) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).line_number_table) as usize - ptr as usize }, [INFO] [stdout] + 32usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V3), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(line_number_table) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).class_file_name) as usize - ptr as usize }, [INFO] [stdout] + 40usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V3), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(class_file_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).source_file_name) as usize - ptr as usize }, [INFO] [stdout] + 48usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V3), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(source_file_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).module_name) as usize - ptr as usize }, [INFO] [stdout] + 56usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V3), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(module_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).module_arch) as usize - ptr as usize }, [INFO] [stdout] + 64usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Load_V3), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(module_arch) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +#[doc = " @brief Description of a JIT-compiled method\n @details The iJIT_Method_Load_V3 structure is the same as iJIT_Method_Load_V2\n with a newly introduced 'arch' field that specifies architecture of the code region.\n When you use the iJIT_Method_Load_V3 structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V3\n as an event type to report it."] [INFO] [stdout] +pub type piJIT_Method_Load_V3 = *mut _iJIT_Method_Load_V3; [INFO] [stdout] +#[doc = " @brief Description of a JIT-compiled method\n @details The iJIT_Method_Load_V3 structure is the same as iJIT_Method_Load_V2\n with a newly introduced 'arch' field that specifies architecture of the code region.\n When you use the iJIT_Method_Load_V3 structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V3\n as an event type to report it."] [INFO] [stdout] +pub type iJIT_Method_Load_V3 = _iJIT_Method_Load_V3; [INFO] [stdout] +#[doc = " @brief Description of an inline JIT-compiled method\n @details When you use the_iJIT_Method_Inline_Load structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_INLINE_LOAD_FINISHED\n as an event type to report it."] [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct _iJIT_Method_Inline_Load { [INFO] [stdout] + #[doc = "<\\brief Unique method ID. Cannot be 0.\n You must either use the API function\n iJIT_GetNewMethodID to get a valid and unique\n method ID, or else manage ID uniqueness\n and correct range by yourself."] [INFO] [stdout] + pub method_id: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief Unique immediate parent's method ID.\n Cannot be 0.\n You must either use the API function\n iJIT_GetNewMethodID to get a valid and unique\n method ID, or else manage ID uniqueness\n and correct range by yourself."] [INFO] [stdout] + pub parent_method_id: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief The name of the method. It can be optionally\n prefixed with its class name and appended with\n its complete signature. Can't be NULL."] [INFO] [stdout] + pub method_name: *mut ::std::os::raw::c_char, [INFO] [stdout] + pub method_load_address: *mut ::std::os::raw::c_void, [INFO] [stdout] + #[doc = "<\\brief The code size of the method in memory.\n If 0, then data provided with the event are not\n accepted."] [INFO] [stdout] + pub method_size: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief The number of entries in the line number\n table. 0 if none."] [INFO] [stdout] + pub line_number_size: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief Pointer to the line numbers info\n array. Can be NULL if\n line_number_size is 0. See\n LineNumberInfo Structure for a\n description of a single entry in\n the line number info array"] [INFO] [stdout] + pub line_number_table: pLineNumberInfo, [INFO] [stdout] + #[doc = "<\\brief Class name. Can be NULL."] [INFO] [stdout] + pub class_file_name: *mut ::std::os::raw::c_char, [INFO] [stdout] + #[doc = "<\\brief Source file name. Can be NULL."] [INFO] [stdout] + pub source_file_name: *mut ::std::os::raw::c_char, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout__iJIT_Method_Inline_Load() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<_iJIT_Method_Inline_Load> = [INFO] [stdout] + ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<_iJIT_Method_Inline_Load>(), [INFO] [stdout] + 56usize, [INFO] [stdout] + concat!("Size of: ", stringify!(_iJIT_Method_Inline_Load)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<_iJIT_Method_Inline_Load>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(_iJIT_Method_Inline_Load)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_id) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Inline_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_id) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).parent_method_id) as usize - ptr as usize }, [INFO] [stdout] + 4usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Inline_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(parent_method_id) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_name) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Inline_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_load_address) as usize - ptr as usize }, [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Inline_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_load_address) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).method_size) as usize - ptr as usize }, [INFO] [stdout] + 24usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Inline_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(method_size) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).line_number_size) as usize - ptr as usize }, [INFO] [stdout] + 28usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Inline_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(line_number_size) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).line_number_table) as usize - ptr as usize }, [INFO] [stdout] + 32usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Inline_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(line_number_table) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).class_file_name) as usize - ptr as usize }, [INFO] [stdout] + 40usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Inline_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(class_file_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).source_file_name) as usize - ptr as usize }, [INFO] [stdout] + 48usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Inline_Load), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(source_file_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +#[doc = " @brief Description of an inline JIT-compiled method\n @details When you use the_iJIT_Method_Inline_Load structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_INLINE_LOAD_FINISHED\n as an event type to report it."] [INFO] [stdout] +pub type piJIT_Method_Inline_Load = *mut _iJIT_Method_Inline_Load; [INFO] [stdout] +#[doc = " @brief Description of an inline JIT-compiled method\n @details When you use the_iJIT_Method_Inline_Load structure to describe\n the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_INLINE_LOAD_FINISHED\n as an event type to report it."] [INFO] [stdout] +pub type iJIT_Method_Inline_Load = _iJIT_Method_Inline_Load; [INFO] [stdout] +pub const _iJIT_SegmentType_iJIT_CT_UNKNOWN: _iJIT_SegmentType = 0; [INFO] [stdout] +#[doc = "<\\brief Executable code."] [INFO] [stdout] +pub const _iJIT_SegmentType_iJIT_CT_CODE: _iJIT_SegmentType = 1; [INFO] [stdout] +#[doc = "<\\brief Data (not executable code).\n VTune Amplifier uses the format string\n (see iJIT_Method_Update) to represent\n this data in the VTune Amplifier GUI"] [INFO] [stdout] +pub const _iJIT_SegmentType_iJIT_CT_DATA: _iJIT_SegmentType = 2; [INFO] [stdout] +#[doc = "<\\brief Use the previous markup for the trace.\n Can be used for the following\n iJVM_EVENT_TYPE_METHOD_UPDATE_V2 events,\n if the type of the previously reported segment\n type is the same."] [INFO] [stdout] +pub const _iJIT_SegmentType_iJIT_CT_KEEP: _iJIT_SegmentType = 3; [INFO] [stdout] +pub const _iJIT_SegmentType_iJIT_CT_EOF: _iJIT_SegmentType = 4; [INFO] [stdout] +#[doc = " @cond exclude_from_documentation */\n/**\n @brief Description of a segment type\n @details Use the segment type to specify a type of data supplied\n with the iJVM_EVENT_TYPE_METHOD_UPDATE_V2 event to be applied to\n a certain code trace."] [INFO] [stdout] +pub type _iJIT_SegmentType = ::std::os::raw::c_uint; [INFO] [stdout] +#[doc = " @cond exclude_from_documentation */\n/**\n @brief Description of a segment type\n @details Use the segment type to specify a type of data supplied\n with the iJVM_EVENT_TYPE_METHOD_UPDATE_V2 event to be applied to\n a certain code trace."] [INFO] [stdout] +pub use self::_iJIT_SegmentType as iJIT_SegmentType; [INFO] [stdout] +#[doc = " @brief Description of a dynamic update of the content within JIT-compiled method\n @details The JIT engine may generate the methods that are updated at runtime\n partially by mixed (data + executable code) content. When you use the iJIT_Method_Update\n structure to describe the update of the content within a JIT-compiled method,\n use iJVM_EVENT_TYPE_METHOD_UPDATE_V2 as an event type to report it.\n\n On the first Update event, VTune Amplifier copies the original code range reported by\n the iJVM_EVENT_TYPE_METHOD_LOAD event, then modifies it with the supplied bytes and\n adds the modified range to the original method. For next update events, VTune Amplifier\n does the same but it uses the latest modified version of a code region for update.\n Eventually, VTune Amplifier GUI displays multiple code ranges for the method reported by\n the iJVM_EVENT_TYPE_METHOD_LOAD event.\n Notes:\n - Multiple update events with different types for the same trace are allowed\n but they must be reported for the same code ranges.\n Example,\n @code\n [-- data---] Allowed\n [-- code --] Allowed\n [code] Ignored\n [-- data---] Allowed\n [-- code --] Allowed\n [------------ trace ---------]\n @endcode\n - The types of previously reported events can be changed but they must be reported\n for the same code ranges.\n Example,\n @code\n [-- data---] Allowed\n [-- code --] Allowed\n [-- data---] Allowed\n [-- code --] Allowed\n [------------ trace ---------]\n @endcode"] [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct _iJIT_Method_Update { [INFO] [stdout] + #[doc = "<\\brief Start address of the update within a method"] [INFO] [stdout] + pub load_address: *mut ::std::os::raw::c_void, [INFO] [stdout] + #[doc = "<\\brief The update size"] [INFO] [stdout] + pub size: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "<\\brief Type of the update"] [INFO] [stdout] + pub type_: iJIT_SegmentType, [INFO] [stdout] + #[doc = "<\\brief C string that contains a format string\n that follows the same specifications as format in printf.\n The format string is used for iJIT_CT_CODE only\n and cannot be NULL.\n Format can be changed on the fly."] [INFO] [stdout] + pub data_format: *const ::std::os::raw::c_char, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout__iJIT_Method_Update() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<_iJIT_Method_Update> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<_iJIT_Method_Update>(), [INFO] [stdout] + 24usize, [INFO] [stdout] + concat!("Size of: ", stringify!(_iJIT_Method_Update)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<_iJIT_Method_Update>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(_iJIT_Method_Update)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).load_address) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Update), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(load_address) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).size) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Update), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(size) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize }, [INFO] [stdout] + 12usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Update), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(type_) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).data_format) as usize - ptr as usize }, [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(_iJIT_Method_Update), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(data_format) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +#[doc = " @brief Description of a dynamic update of the content within JIT-compiled method\n @details The JIT engine may generate the methods that are updated at runtime\n partially by mixed (data + executable code) content. When you use the iJIT_Method_Update\n structure to describe the update of the content within a JIT-compiled method,\n use iJVM_EVENT_TYPE_METHOD_UPDATE_V2 as an event type to report it.\n\n On the first Update event, VTune Amplifier copies the original code range reported by\n the iJVM_EVENT_TYPE_METHOD_LOAD event, then modifies it with the supplied bytes and\n adds the modified range to the original method. For next update events, VTune Amplifier\n does the same but it uses the latest modified version of a code region for update.\n Eventually, VTune Amplifier GUI displays multiple code ranges for the method reported by\n the iJVM_EVENT_TYPE_METHOD_LOAD event.\n Notes:\n - Multiple update events with different types for the same trace are allowed\n but they must be reported for the same code ranges.\n Example,\n @code\n [-- data---] Allowed\n [-- code --] Allowed\n [code] Ignored\n [-- data---] Allowed\n [-- code --] Allowed\n [------------ trace ---------]\n @endcode\n - The types of previously reported events can be changed but they must be reported\n for the same code ranges.\n Example,\n @code\n [-- data---] Allowed\n [-- code --] Allowed\n [-- data---] Allowed\n [-- code --] Allowed\n [------------ trace ---------]\n @endcode"] [INFO] [stdout] +pub type piJIT_Method_Update = *mut _iJIT_Method_Update; [INFO] [stdout] +#[doc = " @brief Description of a dynamic update of the content within JIT-compiled method\n @details The JIT engine may generate the methods that are updated at runtime\n partially by mixed (data + executable code) content. When you use the iJIT_Method_Update\n structure to describe the update of the content within a JIT-compiled method,\n use iJVM_EVENT_TYPE_METHOD_UPDATE_V2 as an event type to report it.\n\n On the first Update event, VTune Amplifier copies the original code range reported by\n the iJVM_EVENT_TYPE_METHOD_LOAD event, then modifies it with the supplied bytes and\n adds the modified range to the original method. For next update events, VTune Amplifier\n does the same but it uses the latest modified version of a code region for update.\n Eventually, VTune Amplifier GUI displays multiple code ranges for the method reported by\n the iJVM_EVENT_TYPE_METHOD_LOAD event.\n Notes:\n - Multiple update events with different types for the same trace are allowed\n but they must be reported for the same code ranges.\n Example,\n @code\n [-- data---] Allowed\n [-- code --] Allowed\n [code] Ignored\n [-- data---] Allowed\n [-- code --] Allowed\n [------------ trace ---------]\n @endcode\n - The types of previously reported events can be changed but they must be reported\n for the same code ranges.\n Example,\n @code\n [-- data---] Allowed\n [-- code --] Allowed\n [-- data---] Allowed\n [-- code --] Allowed\n [------------ trace ---------]\n @endcode"] [INFO] [stdout] +pub type iJIT_Method_Update = _iJIT_Method_Update; [INFO] [stdout] +extern "C" { [INFO] [stdout] + #[doc = " @brief Generates a new unique method ID.\n\n You must use this API to obtain unique and valid method IDs for methods or\n traces reported to the agent if you don't have your own mechanism to generate\n unique method IDs.\n\n @return a new unique method ID. When out of unique method IDs, this API\n returns 0, which is not an accepted value."] [INFO] [stdout] + pub fn iJIT_GetNewMethodID() -> ::std::os::raw::c_uint; [INFO] [stdout] +} [INFO] [stdout] +extern "C" { [INFO] [stdout] + #[doc = " @brief Returns the current mode of the agent.\n\n @return iJIT_SAMPLING_ON, indicating that agent is running, or\n iJIT_NOTHING_RUNNING if no agent is running."] [INFO] [stdout] + pub fn iJIT_IsProfilingActive() -> iJIT_IsProfilingActiveFlags; [INFO] [stdout] +} [INFO] [stdout] +extern "C" { [INFO] [stdout] + #[doc = " @brief Reports infomation about JIT-compiled code to the agent.\n\n The reported information is used to attribute samples obtained from any\n Intel(R) VTune(TM) Amplifier collector. This API needs to be called\n after JIT compilation and before the first entry into the JIT-compiled\n code.\n\n @param[in] event_type - type of the data sent to the agent\n @param[in] EventSpecificData - pointer to event-specific data\n\n @returns 1 on success, otherwise 0."] [INFO] [stdout] + pub fn iJIT_NotifyEvent( [INFO] [stdout] + event_type: iJIT_JVM_EVENT, [INFO] [stdout] + EventSpecificData: *mut ::std::os::raw::c_void, [INFO] [stdout] + ) -> ::std::os::raw::c_int; [INFO] [stdout] +} [INFO] [stdout] + [INFO] [stdout] [INFO] [stdout] thread 'test_jitprofiling_bindings_up_to_date' (43) panicked at tests/bindgen-up-to-date.rs:89:9: [INFO] [stdout] differences found, need to regenerate jitprofiling bindings [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x638da39875b2 - std::backtrace_rs::backtrace::libunwind::trace::h0fb8082ca5562a61 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x638da39875b2 - std::backtrace_rs::backtrace::trace_unsynchronized::hfaa258994374a3cd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x638da39875b2 - std::sys::backtrace::_print_fmt::h11496fe34963a885 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x638da39875b2 - ::fmt::hff1a9408d012ee89 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x638da39ac3af - core::fmt::rt::Argument::fmt::hf11195b61445f5d1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x638da39ac3af - core::fmt::write::h2f1fc679f228cc52 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x638da39740a3 - std::io::default_write_fmt::h12bd533187bc883d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x638da39740a3 - std::io::Write::write_fmt::h926a1fdfdcb90065 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x638da3987402 - std::sys::backtrace::BacktraceLock::print::h28bfdbcac6d3828b [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x638da39726ac - std::panicking::default_hook::{{closure}}::h1f968e3a24b0e3b4 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x638da3972529 - std::panicking::default_hook::h43da101644971931 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x638da391a15e - as core::ops::function::Fn>::call::h4b2012949041da5d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x638da391a15e - test::test_main_with_exit_callback::{{closure}}::h53c9154cdc260357 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x638da3972cb3 - as core::ops::function::Fn>::call::h911f2e3e7e84b764 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x638da3972cb3 - std::panicking::panic_with_hook::hb4e916c3e65eccec [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x638da39876cc - std::panicking::begin_panic::{{closure}}::had6744d4383f8db4 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:771:9 [INFO] [stdout] 16: 0x638da3987699 - std::sys::backtrace::__rust_end_short_backtrace::h9e71ce60034cb491 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x638da397207e - std::panicking::begin_panic::h2e210272532eb6ed [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:770:5 [INFO] [stdout] 18: 0x638da332346e - bindgen_up_to_date::test_jitprofiling_bindings_up_to_date::h4c1562f67f63401a [INFO] [stdout] at /opt/rustwide/workdir/tests/bindgen-up-to-date.rs:89:9 [INFO] [stdout] 19: 0x638da3322db7 - bindgen_up_to_date::test_jitprofiling_bindings_up_to_date::{{closure}}::hb765edfc92ba489f [INFO] [stdout] at /opt/rustwide/workdir/tests/bindgen-up-to-date.rs:63:43 [INFO] [stdout] 20: 0x638da3321bf6 - core::ops::function::FnOnce::call_once::h3de6cd1f97cee694 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 21: 0x638da391f69b - core::ops::function::FnOnce::call_once::haf4e03bb51ef1351 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 22: 0x638da391f69b - test::__rust_begin_short_backtrace::h50f5566ee84f2f21 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:663:18 [INFO] [stdout] 23: 0x638da3922895 - test::run_test_in_process::{{closure}}::heb3733b71d876eca [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:74 [INFO] [stdout] 24: 0x638da3922895 - as core::ops::function::FnOnce<()>>::call_once::he2fe41e1b161faa9 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 25: 0x638da3922895 - std::panicking::catch_unwind::do_call::h00aa383d8fd97a09 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 26: 0x638da3922895 - std::panicking::catch_unwind::he482e1914bc21641 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 27: 0x638da3922895 - std::panic::catch_unwind::h86ac9705098f4f22 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 28: 0x638da3922895 - test::run_test_in_process::h636a992821e3c6aa [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:27 [INFO] [stdout] 29: 0x638da3922895 - test::run_test::{{closure}}::he454cc9a192df79f [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:607:43 [INFO] [stdout] 30: 0x638da3948244 - test::run_test::{{closure}}::haec47455908dff86 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:637:41 [INFO] [stdout] 31: 0x638da3948244 - std::sys::backtrace::__rust_begin_short_backtrace::h230785972524cdc1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 32: 0x638da392ee5a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa5a562db4cde838 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 33: 0x638da392ee5a - as core::ops::function::FnOnce<()>>::call_once::h89254f37a55d0a87 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 34: 0x638da392ee5a - std::panicking::catch_unwind::do_call::h499f5a462f019d9d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 35: 0x638da392ee5a - std::panicking::catch_unwind::h6736fbbb1a264383 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 36: 0x638da392ee5a - std::panic::catch_unwind::h49ea7bdd1cbee572 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 37: 0x638da392ee5a - std::thread::Builder::spawn_unchecked_::{{closure}}::h653dfa62acf32f5a [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 38: 0x638da392ee5a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h82582a626a045a45 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 39: 0x638da395c06f - as core::ops::function::FnOnce>::call_once::h4ab26c07513156cc [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 40: 0x638da395c06f - std::sys::pal::unix::thread::Thread::new::thread_start::h66ff1bba185a50cf [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 41: 0x7f6cb03abaa4 - [INFO] [stdout] 42: 0x7f6cb0438a34 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_ittnotify_bindings_up_to_date stdout ---- [INFO] [stdout] Failed to run rustfmt: Internal rustfmt error (non-fatal, continuing) [INFO] [stdout] /* automatically generated by rust-bindgen 0.68.1 */ [INFO] [stdout] [INFO] [stdout] -pub const ITT_OS_WIN : u32 = 1 ; pub const ITT_OS_LINUX : u32 = 2 ; pub const ITT_OS_MAC : u32 = 3 ; pub const ITT_OS_FREEBSD : u32 = 4 ; pub const ITT_OS_OPENBSD : u32 = 5 ; pub const ITT_OS : u32 = 2 ; pub const ITT_PLATFORM_WIN : u32 = 1 ; pub const ITT_PLATFORM_POSIX : u32 = 2 ; pub const ITT_PLATFORM_MAC : u32 = 3 ; pub const ITT_PLATFORM_FREEBSD : u32 = 4 ; pub const ITT_PLATFORM_OPENBSD : u32 = 5 ; pub const ITT_PLATFORM : u32 = 2 ; pub const ITT_MAJOR : u32 = 3 ; pub const ITT_MINOR : u32 = 0 ; pub const __itt_suppress_all_errors : u32 = 2147483647 ; pub const __itt_suppress_threading_errors : u32 = 255 ; pub const __itt_suppress_memory_errors : u32 = 65280 ; pub const __itt_attr_barrier : u32 = 1 ; pub const __itt_attr_mutex : u32 = 2 ; pub const __itt_heap_leaks : u32 = 1 ; pub const __itt_heap_growth : u32 = 2 ; pub const __itt_section_exec : u32 = 536870912 ; pub const __itt_section_read : u32 = 1073741824 ; pub const __itt_section_write : u32 = 2147483648 ; pub const __itt_collection_scope___itt_collection_scope_host : __itt_collection_scope = 1 ; pub const __itt_collection_scope___itt_collection_scope_offload : __itt_collection_scope = 2 ; pub const __itt_collection_scope___itt_collection_scope_all : __itt_collection_scope = 2147483647 ; # [doc = " @enum __itt_collection_scope\n @brief Enumerator for collection scopes"] pub type __itt_collection_scope = :: std :: os :: raw :: c_uint ; pub type __itt_pause_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_pause_ptr__3_0 : __itt_pause_ptr__3_0_t ; } pub type __itt_pause_scoped_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (arg1 : __itt_collection_scope) > ; extern "C" { pub static mut __itt_pause_scoped_ptr__3_0 : __itt_pause_scoped_ptr__3_0_t ; } pub type __itt_resume_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_resume_ptr__3_0 : __itt_resume_ptr__3_0_t ; } pub type __itt_resume_scoped_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (arg1 : __itt_collection_scope) > ; extern "C" { pub static mut __itt_resume_scoped_ptr__3_0 : __itt_resume_scoped_ptr__3_0_t ; } pub type __itt_detach_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_detach_ptr__3_0 : __itt_detach_ptr__3_0_t ; } # [doc = " @defgroup Intel Processor Trace control\n API from this group provides control over collection and analysis of Intel Processor Trace (Intel PT) data\n Information about Intel Processor Trace technology can be found here (Volume 3 chapter 35):\n https://software.intel.com/sites/default/files/managed/39/c5/325462-sdm-vol-1-2abcd-3abcd.pdf\n Use this API to mark particular code regions for loading detailed performance statistics.\n This mode makes your analysis faster and more accurate.\n @{"] pub type __itt_pt_region = :: std :: os :: raw :: c_uchar ; pub type __itt_pt_region_create_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) -> __itt_pt_region > ; extern "C" { pub static mut __itt_pt_region_create_ptr__3_0 : __itt_pt_region_create_ptr__3_0_t ; } pub type __itt_thread_set_name_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) > ; extern "C" { pub static mut __itt_thread_set_name_ptr__3_0 : __itt_thread_set_name_ptr__3_0_t ; } pub type __itt_thread_ignore_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_thread_ignore_ptr__3_0 : __itt_thread_ignore_ptr__3_0_t ; } pub type __itt_suppress_push_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (mask : :: std :: os :: raw :: c_uint) > ; extern "C" { pub static mut __itt_suppress_push_ptr__3_0 : __itt_suppress_push_ptr__3_0_t ; } pub type __itt_suppress_pop_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_suppress_pop_ptr__3_0 : __itt_suppress_pop_ptr__3_0_t ; } pub const __itt_suppress_mode___itt_unsuppress_range : __itt_suppress_mode = 0 ; pub const __itt_suppress_mode___itt_suppress_range : __itt_suppress_mode = 1 ; # [doc = " @enum __itt_suppress_mode\n @brief Enumerator for the suppressing modes"] pub type __itt_suppress_mode = :: std :: os :: raw :: c_uint ; # [doc = " @enum __itt_suppress_mode\n @brief Enumerator for the suppressing modes"] pub use self :: __itt_suppress_mode as __itt_suppress_mode_t ; pub type __itt_suppress_mark_range_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (mode : __itt_suppress_mode_t , mask : :: std :: os :: raw :: c_uint , address : * mut :: std :: os :: raw :: c_void , size : usize) > ; extern "C" { pub static mut __itt_suppress_mark_range_ptr__3_0 : __itt_suppress_mark_range_ptr__3_0_t ; } pub type __itt_suppress_clear_range_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (mode : __itt_suppress_mode_t , mask : :: std :: os :: raw :: c_uint , address : * mut :: std :: os :: raw :: c_void , size : usize) > ; extern "C" { pub static mut __itt_suppress_clear_range_ptr__3_0 : __itt_suppress_clear_range_ptr__3_0_t ; } pub type __itt_sync_create_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void , objtype : * const :: std :: os :: raw :: c_char , objname : * const :: std :: os :: raw :: c_char , attribute : :: std :: os :: raw :: c_int) > ; extern "C" { pub static mut __itt_sync_create_ptr__3_0 : __itt_sync_create_ptr__3_0_t ; } pub type __itt_sync_rename_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void , name : * const :: std :: os :: raw :: c_char) > ; extern "C" { pub static mut __itt_sync_rename_ptr__3_0 : __itt_sync_rename_ptr__3_0_t ; } pub type __itt_sync_destroy_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_sync_destroy_ptr__3_0 : __itt_sync_destroy_ptr__3_0_t ; } pub type __itt_sync_prepare_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_sync_prepare_ptr__3_0 : __itt_sync_prepare_ptr__3_0_t ; } pub type __itt_sync_cancel_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_sync_cancel_ptr__3_0 : __itt_sync_cancel_ptr__3_0_t ; } pub type __itt_sync_acquired_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_sync_acquired_ptr__3_0 : __itt_sync_acquired_ptr__3_0_t ; } pub type __itt_sync_releasing_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_sync_releasing_ptr__3_0 : __itt_sync_releasing_ptr__3_0_t ; } pub type __itt_fsync_prepare_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_fsync_prepare_ptr__3_0 : __itt_fsync_prepare_ptr__3_0_t ; } pub type __itt_fsync_cancel_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_fsync_cancel_ptr__3_0 : __itt_fsync_cancel_ptr__3_0_t ; } pub type __itt_fsync_acquired_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_fsync_acquired_ptr__3_0 : __itt_fsync_acquired_ptr__3_0_t ; } pub type __itt_fsync_releasing_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_fsync_releasing_ptr__3_0 : __itt_fsync_releasing_ptr__3_0_t ; } pub type __itt_model_site = * mut :: std :: os :: raw :: c_void ; pub type __itt_model_site_instance = * mut :: std :: os :: raw :: c_void ; pub type __itt_model_task = * mut :: std :: os :: raw :: c_void ; pub type __itt_model_task_instance = * mut :: std :: os :: raw :: c_void ; pub const __itt_model_disable___itt_model_disable_observation : __itt_model_disable = 0 ; pub const __itt_model_disable___itt_model_disable_collection : __itt_model_disable = 1 ; # [doc = " @enum __itt_model_disable\n @brief Enumerator for the disable methods"] pub type __itt_model_disable = :: std :: os :: raw :: c_uint ; pub type __itt_model_site_begin_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (site : * mut __itt_model_site , instance : * mut __itt_model_site_instance , name : * const :: std :: os :: raw :: c_char) > ; extern "C" { pub static mut __itt_model_site_begin_ptr__3_0 : __itt_model_site_begin_ptr__3_0_t ; } pub type __itt_model_site_beginA_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) > ; extern "C" { pub static mut __itt_model_site_beginA_ptr__3_0 : __itt_model_site_beginA_ptr__3_0_t ; } pub type __itt_model_site_beginAL_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , siteNameLen : usize) > ; extern "C" { pub static mut __itt_model_site_beginAL_ptr__3_0 : __itt_model_site_beginAL_ptr__3_0_t ; } pub type __itt_model_site_end_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (site : * mut __itt_model_site , instance : * mut __itt_model_site_instance) > ; extern "C" { pub static mut __itt_model_site_end_ptr__3_0 : __itt_model_site_end_ptr__3_0_t ; } pub type __itt_model_site_end_2_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_model_site_end_2_ptr__3_0 : __itt_model_site_end_2_ptr__3_0_t ; } pub type __itt_model_task_begin_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (task : * mut __itt_model_task , instance : * mut __itt_model_task_instance , name : * const :: std :: os :: raw :: c_char) > ; extern "C" { pub static mut __itt_model_task_begin_ptr__3_0 : __itt_model_task_begin_ptr__3_0_t ; } pub type __itt_model_task_beginA_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) > ; extern "C" { pub static mut __itt_model_task_beginA_ptr__3_0 : __itt_model_task_beginA_ptr__3_0_t ; } pub type __itt_model_task_beginAL_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , taskNameLen : usize) > ; extern "C" { pub static mut __itt_model_task_beginAL_ptr__3_0 : __itt_model_task_beginAL_ptr__3_0_t ; } pub type __itt_model_iteration_taskA_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) > ; extern "C" { pub static mut __itt_model_iteration_taskA_ptr__3_0 : __itt_model_iteration_taskA_ptr__3_0_t ; } pub type __itt_model_iteration_taskAL_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , taskNameLen : usize) > ; extern "C" { pub static mut __itt_model_iteration_taskAL_ptr__3_0 : __itt_model_iteration_taskAL_ptr__3_0_t ; } pub type __itt_model_task_end_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (task : * mut __itt_model_task , instance : * mut __itt_model_task_instance) > ; extern "C" { pub static mut __itt_model_task_end_ptr__3_0 : __itt_model_task_end_ptr__3_0_t ; } pub type __itt_model_task_end_2_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_model_task_end_2_ptr__3_0 : __itt_model_task_end_2_ptr__3_0_t ; } pub type __itt_model_lock_acquire_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (lock : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_model_lock_acquire_ptr__3_0 : __itt_model_lock_acquire_ptr__3_0_t ; } pub type __itt_model_lock_acquire_2_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (lock : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_model_lock_acquire_2_ptr__3_0 : __itt_model_lock_acquire_2_ptr__3_0_t ; } pub type __itt_model_lock_release_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (lock : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_model_lock_release_ptr__3_0 : __itt_model_lock_release_ptr__3_0_t ; } pub type __itt_model_lock_release_2_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (lock : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_model_lock_release_2_ptr__3_0 : __itt_model_lock_release_2_ptr__3_0_t ; } pub type __itt_model_record_allocation_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void , size : usize) > ; extern "C" { pub static mut __itt_model_record_allocation_ptr__3_0 : __itt_model_record_allocation_ptr__3_0_t ; } pub type __itt_model_record_deallocation_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_model_record_deallocation_ptr__3_0 : __itt_model_record_deallocation_ptr__3_0_t ; } pub type __itt_model_induction_uses_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void , size : usize) > ; extern "C" { pub static mut __itt_model_induction_uses_ptr__3_0 : __itt_model_induction_uses_ptr__3_0_t ; } pub type __itt_model_reduction_uses_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void , size : usize) > ; extern "C" { pub static mut __itt_model_reduction_uses_ptr__3_0 : __itt_model_reduction_uses_ptr__3_0_t ; } pub type __itt_model_observe_uses_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void , size : usize) > ; extern "C" { pub static mut __itt_model_observe_uses_ptr__3_0 : __itt_model_observe_uses_ptr__3_0_t ; } pub type __itt_model_clear_uses_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_model_clear_uses_ptr__3_0 : __itt_model_clear_uses_ptr__3_0_t ; } pub type __itt_model_disable_push_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (x : __itt_model_disable) > ; extern "C" { pub static mut __itt_model_disable_push_ptr__3_0 : __itt_model_disable_push_ptr__3_0_t ; } pub type __itt_model_disable_pop_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_model_disable_pop_ptr__3_0 : __itt_model_disable_pop_ptr__3_0_t ; } pub type __itt_model_aggregate_task_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (x : usize) > ; extern "C" { pub static mut __itt_model_aggregate_task_ptr__3_0 : __itt_model_aggregate_task_ptr__3_0_t ; } # [doc = " @defgroup heap Heap\n @ingroup public\n Heap group\n @{"] pub type __itt_heap_function = * mut :: std :: os :: raw :: c_void ; pub type __itt_heap_function_create_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , domain : * const :: std :: os :: raw :: c_char) -> __itt_heap_function > ; extern "C" { pub static mut __itt_heap_function_create_ptr__3_0 : __itt_heap_function_create_ptr__3_0_t ; } pub type __itt_heap_allocate_begin_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (h : __itt_heap_function , size : usize , initialized : :: std :: os :: raw :: c_int) > ; extern "C" { pub static mut __itt_heap_allocate_begin_ptr__3_0 : __itt_heap_allocate_begin_ptr__3_0_t ; } pub type __itt_heap_allocate_end_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (h : __itt_heap_function , addr : * mut * mut :: std :: os :: raw :: c_void , size : usize , initialized : :: std :: os :: raw :: c_int) > ; extern "C" { pub static mut __itt_heap_allocate_end_ptr__3_0 : __itt_heap_allocate_end_ptr__3_0_t ; } pub type __itt_heap_free_begin_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (h : __itt_heap_function , addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_heap_free_begin_ptr__3_0 : __itt_heap_free_begin_ptr__3_0_t ; } pub type __itt_heap_free_end_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (h : __itt_heap_function , addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_heap_free_end_ptr__3_0 : __itt_heap_free_end_ptr__3_0_t ; } pub type __itt_heap_reallocate_begin_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (h : __itt_heap_function , addr : * mut :: std :: os :: raw :: c_void , new_size : usize , initialized : :: std :: os :: raw :: c_int) > ; extern "C" { pub static mut __itt_heap_reallocate_begin_ptr__3_0 : __itt_heap_reallocate_begin_ptr__3_0_t ; } pub type __itt_heap_reallocate_end_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (h : __itt_heap_function , addr : * mut :: std :: os :: raw :: c_void , new_addr : * mut * mut :: std :: os :: raw :: c_void , new_size : usize , initialized : :: std :: os :: raw :: c_int) > ; extern "C" { pub static mut __itt_heap_reallocate_end_ptr__3_0 : __itt_heap_reallocate_end_ptr__3_0_t ; } pub type __itt_heap_internal_access_begin_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_heap_internal_access_begin_ptr__3_0 : __itt_heap_internal_access_begin_ptr__3_0_t ; } pub type __itt_heap_internal_access_end_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_heap_internal_access_end_ptr__3_0 : __itt_heap_internal_access_end_ptr__3_0_t ; } pub type __itt_heap_record_memory_growth_begin_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_heap_record_memory_growth_begin_ptr__3_0 : __itt_heap_record_memory_growth_begin_ptr__3_0_t ; } pub type __itt_heap_record_memory_growth_end_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_heap_record_memory_growth_end_ptr__3_0 : __itt_heap_record_memory_growth_end_ptr__3_0_t ; } pub type __itt_heap_reset_detection_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (reset_mask : :: std :: os :: raw :: c_uint) > ; extern "C" { pub static mut __itt_heap_reset_detection_ptr__3_0 : __itt_heap_reset_detection_ptr__3_0_t ; } pub type __itt_heap_record_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (record_mask : :: std :: os :: raw :: c_uint) > ; extern "C" { pub static mut __itt_heap_record_ptr__3_0 : __itt_heap_record_ptr__3_0_t ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ___itt_domain { # [doc = "< Zero if disabled, non-zero if enabled. The meaning of different non-zero values is reserved to the runtime"] pub flags : :: std :: os :: raw :: c_int , # [doc = "< Copy of original name in ASCII."] pub nameA : * const :: std :: os :: raw :: c_char , pub nameW : * mut :: std :: os :: raw :: c_void , # [doc = "< Reserved to the runtime"] pub extra1 : :: std :: os :: raw :: c_int , # [doc = "< Reserved to the runtime"] pub extra2 : * mut :: std :: os :: raw :: c_void , pub next : * mut ___itt_domain , } # [test] fn bindgen_test_layout____itt_domain () { const UNINIT : :: std :: mem :: MaybeUninit < ___itt_domain > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ___itt_domain > () , 48usize , concat ! ("Size of: " , stringify ! (___itt_domain))) ; assert_eq ! (:: std :: mem :: align_of :: < ___itt_domain > () , 8usize , concat ! ("Alignment of " , stringify ! (___itt_domain))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . flags) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (___itt_domain) , "::" , stringify ! (flags))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . nameA) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (___itt_domain) , "::" , stringify ! (nameA))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . nameW) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (___itt_domain) , "::" , stringify ! (nameW))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . extra1) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (___itt_domain) , "::" , stringify ! (extra1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . extra2) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (___itt_domain) , "::" , stringify ! (extra2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . next) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (___itt_domain) , "::" , stringify ! (next))) ; } pub type __itt_domain = ___itt_domain ; pub type __itt_domain_create_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) -> * mut __itt_domain > ; extern "C" { pub static mut __itt_domain_create_ptr__3_0 : __itt_domain_create_ptr__3_0_t ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ___itt_id { pub d1 : :: std :: os :: raw :: c_ulonglong , pub d2 : :: std :: os :: raw :: c_ulonglong , pub d3 : :: std :: os :: raw :: c_ulonglong , } # [test] fn bindgen_test_layout____itt_id () { const UNINIT : :: std :: mem :: MaybeUninit < ___itt_id > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ___itt_id > () , 24usize , concat ! ("Size of: " , stringify ! (___itt_id))) ; assert_eq ! (:: std :: mem :: align_of :: < ___itt_id > () , 8usize , concat ! ("Alignment of " , stringify ! (___itt_id))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . d1) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (___itt_id) , "::" , stringify ! (d1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . d2) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (___itt_id) , "::" , stringify ! (d2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . d3) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (___itt_id) , "::" , stringify ! (d3))) ; } pub type __itt_id = ___itt_id ; extern "C" { # [doc = " @endcond"] pub static __itt_null : __itt_id ; } pub type __itt_id_create_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , id : __itt_id) > ; extern "C" { pub static mut __itt_id_create_ptr__3_0 : __itt_id_create_ptr__3_0_t ; } pub type __itt_id_destroy_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , id : __itt_id) > ; extern "C" { pub static mut __itt_id_destroy_ptr__3_0 : __itt_id_destroy_ptr__3_0_t ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ___itt_string_handle { # [doc = "< Copy of original string in ASCII."] pub strA : * const :: std :: os :: raw :: c_char , pub strW : * mut :: std :: os :: raw :: c_void , # [doc = "< Reserved. Must be zero"] pub extra1 : :: std :: os :: raw :: c_int , # [doc = "< Reserved. Must be zero"] pub extra2 : * mut :: std :: os :: raw :: c_void , pub next : * mut ___itt_string_handle , } # [test] fn bindgen_test_layout____itt_string_handle () { const UNINIT : :: std :: mem :: MaybeUninit < ___itt_string_handle > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ___itt_string_handle > () , 40usize , concat ! ("Size of: " , stringify ! (___itt_string_handle))) ; assert_eq ! (:: std :: mem :: align_of :: < ___itt_string_handle > () , 8usize , concat ! ("Alignment of " , stringify ! (___itt_string_handle))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . strA) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (___itt_string_handle) , "::" , stringify ! (strA))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . strW) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (___itt_string_handle) , "::" , stringify ! (strW))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . extra1) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (___itt_string_handle) , "::" , stringify ! (extra1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . extra2) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (___itt_string_handle) , "::" , stringify ! (extra2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . next) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (___itt_string_handle) , "::" , stringify ! (next))) ; } pub type __itt_string_handle = ___itt_string_handle ; pub type __itt_string_handle_create_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char) -> * mut __itt_string_handle > ; extern "C" { pub static mut __itt_string_handle_create_ptr__3_0 : __itt_string_handle_create_ptr__3_0_t ; } # [doc = " @cond exclude_from_documentation"] pub type __itt_timestamp = :: std :: os :: raw :: c_ulonglong ; pub type __itt_get_timestamp_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () -> __itt_timestamp > ; extern "C" { pub static mut __itt_get_timestamp_ptr__3_0 : __itt_get_timestamp_ptr__3_0_t ; } pub type __itt_region_begin_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , id : __itt_id , parentid : __itt_id , name : * mut __itt_string_handle) > ; extern "C" { pub static mut __itt_region_begin_ptr__3_0 : __itt_region_begin_ptr__3_0_t ; } pub type __itt_region_end_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , id : __itt_id) > ; extern "C" { pub static mut __itt_region_end_ptr__3_0 : __itt_region_end_ptr__3_0_t ; } pub type __itt_frame_begin_v3_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , id : * mut __itt_id) > ; extern "C" { pub static mut __itt_frame_begin_v3_ptr__3_0 : __itt_frame_begin_v3_ptr__3_0_t ; } pub type __itt_frame_end_v3_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , id : * mut __itt_id) > ; extern "C" { pub static mut __itt_frame_end_v3_ptr__3_0 : __itt_frame_end_v3_ptr__3_0_t ; } pub type __itt_frame_submit_v3_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , id : * mut __itt_id , begin : __itt_timestamp , end : __itt_timestamp) > ; extern "C" { pub static mut __itt_frame_submit_v3_ptr__3_0 : __itt_frame_submit_v3_ptr__3_0_t ; } pub type __itt_task_group_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , id : __itt_id , parentid : __itt_id , name : * mut __itt_string_handle) > ; extern "C" { pub static mut __itt_task_group_ptr__3_0 : __itt_task_group_ptr__3_0_t ; } pub type __itt_task_begin_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , id : __itt_id , parentid : __itt_id , name : * mut __itt_string_handle) > ; extern "C" { pub static mut __itt_task_begin_ptr__3_0 : __itt_task_begin_ptr__3_0_t ; } pub type __itt_task_begin_fn_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , id : __itt_id , parentid : __itt_id , fn_ : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_task_begin_fn_ptr__3_0 : __itt_task_begin_fn_ptr__3_0_t ; } pub type __itt_task_end_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain) > ; extern "C" { pub static mut __itt_task_end_ptr__3_0 : __itt_task_end_ptr__3_0_t ; } pub type __itt_task_begin_overlapped_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , taskid : __itt_id , parentid : __itt_id , name : * mut __itt_string_handle) > ; extern "C" { pub static mut __itt_task_begin_overlapped_ptr__3_0 : __itt_task_begin_overlapped_ptr__3_0_t ; } pub type __itt_task_end_overlapped_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , taskid : __itt_id) > ; extern "C" { pub static mut __itt_task_end_overlapped_ptr__3_0 : __itt_task_end_overlapped_ptr__3_0_t ; } pub const __itt_scope___itt_scope_unknown : __itt_scope = 0 ; pub const __itt_scope___itt_scope_global : __itt_scope = 1 ; pub const __itt_scope___itt_scope_track_group : __itt_scope = 2 ; pub const __itt_scope___itt_scope_track : __itt_scope = 3 ; pub const __itt_scope___itt_scope_task : __itt_scope = 4 ; pub const __itt_scope___itt_scope_marker : __itt_scope = 5 ; # [doc = " @brief Describes the scope of an event object in the trace."] pub type __itt_scope = :: std :: os :: raw :: c_uint ; pub type __itt_marker_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , id : __itt_id , name : * mut __itt_string_handle , scope : __itt_scope) > ; extern "C" { pub static mut __itt_marker_ptr__3_0 : __itt_marker_ptr__3_0_t ; } pub const __itt_metadata_type___itt_metadata_unknown : __itt_metadata_type = 0 ; # [doc = "< Unsigned 64-bit integer"] pub const __itt_metadata_type___itt_metadata_u64 : __itt_metadata_type = 1 ; # [doc = "< Signed 64-bit integer"] pub const __itt_metadata_type___itt_metadata_s64 : __itt_metadata_type = 2 ; # [doc = "< Unsigned 32-bit integer"] pub const __itt_metadata_type___itt_metadata_u32 : __itt_metadata_type = 3 ; # [doc = "< Signed 32-bit integer"] pub const __itt_metadata_type___itt_metadata_s32 : __itt_metadata_type = 4 ; # [doc = "< Unsigned 16-bit integer"] pub const __itt_metadata_type___itt_metadata_u16 : __itt_metadata_type = 5 ; # [doc = "< Signed 16-bit integer"] pub const __itt_metadata_type___itt_metadata_s16 : __itt_metadata_type = 6 ; # [doc = "< Signed 32-bit floating-point"] pub const __itt_metadata_type___itt_metadata_float : __itt_metadata_type = 7 ; # [doc = "< SIgned 64-bit floating-point"] pub const __itt_metadata_type___itt_metadata_double : __itt_metadata_type = 8 ; # [doc = " @ingroup parameters\n @brief describes the type of metadata"] pub type __itt_metadata_type = :: std :: os :: raw :: c_uint ; pub type __itt_metadata_add_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , id : __itt_id , key : * mut __itt_string_handle , type_ : __itt_metadata_type , count : usize , data : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_metadata_add_ptr__3_0 : __itt_metadata_add_ptr__3_0_t ; } pub type __itt_metadata_str_add_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , id : __itt_id , key : * mut __itt_string_handle , data : * const :: std :: os :: raw :: c_char , length : usize) > ; extern "C" { pub static mut __itt_metadata_str_add_ptr__3_0 : __itt_metadata_str_add_ptr__3_0_t ; } pub type __itt_metadata_add_with_scope_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , scope : __itt_scope , key : * mut __itt_string_handle , type_ : __itt_metadata_type , count : usize , data : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_metadata_add_with_scope_ptr__3_0 : __itt_metadata_add_with_scope_ptr__3_0_t ; } pub type __itt_metadata_str_add_with_scope_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , scope : __itt_scope , key : * mut __itt_string_handle , data : * const :: std :: os :: raw :: c_char , length : usize) > ; extern "C" { pub static mut __itt_metadata_str_add_with_scope_ptr__3_0 : __itt_metadata_str_add_with_scope_ptr__3_0_t ; } pub const __itt_relation___itt_relation_is_unknown : __itt_relation = 0 ; # [doc = "< \"A is dependent on B\" means that A cannot start until B completes"] pub const __itt_relation___itt_relation_is_dependent_on : __itt_relation = 1 ; # [doc = "< \"A is sibling of B\" means that A and B were created as a group"] pub const __itt_relation___itt_relation_is_sibling_of : __itt_relation = 2 ; # [doc = "< \"A is parent of B\" means that A created B"] pub const __itt_relation___itt_relation_is_parent_of : __itt_relation = 3 ; # [doc = "< \"A is continuation of B\" means that A assumes the dependencies of B"] pub const __itt_relation___itt_relation_is_continuation_of : __itt_relation = 4 ; # [doc = "< \"A is child of B\" means that A was created by B (inverse of is_parent_of)"] pub const __itt_relation___itt_relation_is_child_of : __itt_relation = 5 ; # [doc = "< \"A is continued by B\" means that B assumes the dependencies of A (inverse of is_continuation_of)"] pub const __itt_relation___itt_relation_is_continued_by : __itt_relation = 6 ; # [doc = "< \"A is predecessor to B\" means that B cannot start until A completes (inverse of is_dependent_on)"] pub const __itt_relation___itt_relation_is_predecessor_to : __itt_relation = 7 ; # [doc = " @ingroup relations\n @brief The kind of relation between two instances is specified by the enumerated type __itt_relation.\n Relations between instances can be added with an API call. The relation\n API uses instance IDs. Relations can be added before or after the actual\n instances are created and persist independently of the instances. This\n is the motivation for having different lifetimes for instance IDs and\n the actual instances."] pub type __itt_relation = :: std :: os :: raw :: c_uint ; pub type __itt_relation_add_to_current_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , relation : __itt_relation , tail : __itt_id) > ; extern "C" { pub static mut __itt_relation_add_to_current_ptr__3_0 : __itt_relation_add_to_current_ptr__3_0_t ; } pub type __itt_relation_add_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , head : __itt_id , relation : __itt_relation , tail : __itt_id) > ; extern "C" { pub static mut __itt_relation_add_ptr__3_0 : __itt_relation_add_ptr__3_0_t ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ___itt_clock_info { # [doc = "< Clock domain frequency"] pub clock_freq : :: std :: os :: raw :: c_ulonglong , # [doc = "< Clock domain base timestamp"] pub clock_base : :: std :: os :: raw :: c_ulonglong , } # [test] fn bindgen_test_layout____itt_clock_info () { const UNINIT : :: std :: mem :: MaybeUninit < ___itt_clock_info > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ___itt_clock_info > () , 16usize , concat ! ("Size of: " , stringify ! (___itt_clock_info))) ; assert_eq ! (:: std :: mem :: align_of :: < ___itt_clock_info > () , 8usize , concat ! ("Alignment of " , stringify ! (___itt_clock_info))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . clock_freq) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (___itt_clock_info) , "::" , stringify ! (clock_freq))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . clock_base) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (___itt_clock_info) , "::" , stringify ! (clock_base))) ; } pub type __itt_clock_info = ___itt_clock_info ; # [doc = " @cond exclude_from_documentation"] pub type __itt_get_clock_info_fn = :: std :: option :: Option < unsafe extern "C" fn (clock_info : * mut __itt_clock_info , data : * mut :: std :: os :: raw :: c_void) > ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ___itt_clock_domain { # [doc = "< Most recent clock domain info"] pub info : __itt_clock_info , # [doc = "< Callback function pointer"] pub fn_ : __itt_get_clock_info_fn , # [doc = "< Input argument for the callback function"] pub fn_data : * mut :: std :: os :: raw :: c_void , # [doc = "< Reserved. Must be zero"] pub extra1 : :: std :: os :: raw :: c_int , # [doc = "< Reserved. Must be zero"] pub extra2 : * mut :: std :: os :: raw :: c_void , pub next : * mut ___itt_clock_domain , } # [test] fn bindgen_test_layout____itt_clock_domain () { const UNINIT : :: std :: mem :: MaybeUninit < ___itt_clock_domain > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ___itt_clock_domain > () , 56usize , concat ! ("Size of: " , stringify ! (___itt_clock_domain))) ; assert_eq ! (:: std :: mem :: align_of :: < ___itt_clock_domain > () , 8usize , concat ! ("Alignment of " , stringify ! (___itt_clock_domain))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . info) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (___itt_clock_domain) , "::" , stringify ! (info))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . fn_) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (___itt_clock_domain) , "::" , stringify ! (fn_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . fn_data) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (___itt_clock_domain) , "::" , stringify ! (fn_data))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . extra1) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (___itt_clock_domain) , "::" , stringify ! (extra1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . extra2) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (___itt_clock_domain) , "::" , stringify ! (extra2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . next) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (___itt_clock_domain) , "::" , stringify ! (next))) ; } pub type __itt_clock_domain = ___itt_clock_domain ; pub type __itt_clock_domain_create_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (fn_ : __itt_get_clock_info_fn , fn_data : * mut :: std :: os :: raw :: c_void) -> * mut __itt_clock_domain > ; extern "C" { pub static mut __itt_clock_domain_create_ptr__3_0 : __itt_clock_domain_create_ptr__3_0_t ; } pub type __itt_clock_domain_reset_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_clock_domain_reset_ptr__3_0 : __itt_clock_domain_reset_ptr__3_0_t ; } pub type __itt_id_create_ex_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , clock_domain : * mut __itt_clock_domain , timestamp : :: std :: os :: raw :: c_ulonglong , id : __itt_id) > ; extern "C" { pub static mut __itt_id_create_ex_ptr__3_0 : __itt_id_create_ex_ptr__3_0_t ; } pub type __itt_id_destroy_ex_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , clock_domain : * mut __itt_clock_domain , timestamp : :: std :: os :: raw :: c_ulonglong , id : __itt_id) > ; extern "C" { pub static mut __itt_id_destroy_ex_ptr__3_0 : __itt_id_destroy_ex_ptr__3_0_t ; } pub type __itt_task_begin_ex_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , clock_domain : * mut __itt_clock_domain , timestamp : :: std :: os :: raw :: c_ulonglong , id : __itt_id , parentid : __itt_id , name : * mut __itt_string_handle) > ; extern "C" { pub static mut __itt_task_begin_ex_ptr__3_0 : __itt_task_begin_ex_ptr__3_0_t ; } pub type __itt_task_begin_fn_ex_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , clock_domain : * mut __itt_clock_domain , timestamp : :: std :: os :: raw :: c_ulonglong , id : __itt_id , parentid : __itt_id , fn_ : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_task_begin_fn_ex_ptr__3_0 : __itt_task_begin_fn_ex_ptr__3_0_t ; } pub type __itt_task_end_ex_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , clock_domain : * mut __itt_clock_domain , timestamp : :: std :: os :: raw :: c_ulonglong) > ; extern "C" { pub static mut __itt_task_end_ex_ptr__3_0 : __itt_task_end_ex_ptr__3_0_t ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ___itt_counter { _unused : [u8 ; 0] , } # [doc = " @brief opaque structure for counter identification\n/\n/** @cond exclude_from_documentation"] pub type __itt_counter = * mut ___itt_counter ; pub type __itt_counter_create_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , domain : * const :: std :: os :: raw :: c_char) -> __itt_counter > ; extern "C" { pub static mut __itt_counter_create_ptr__3_0 : __itt_counter_create_ptr__3_0_t ; } pub type __itt_counter_inc_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (id : __itt_counter) > ; extern "C" { pub static mut __itt_counter_inc_ptr__3_0 : __itt_counter_inc_ptr__3_0_t ; } pub type __itt_counter_inc_delta_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (id : __itt_counter , value : :: std :: os :: raw :: c_ulonglong) > ; extern "C" { pub static mut __itt_counter_inc_delta_ptr__3_0 : __itt_counter_inc_delta_ptr__3_0_t ; } pub type __itt_counter_dec_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (id : __itt_counter) > ; extern "C" { pub static mut __itt_counter_dec_ptr__3_0 : __itt_counter_dec_ptr__3_0_t ; } pub type __itt_counter_dec_delta_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (id : __itt_counter , value : :: std :: os :: raw :: c_ulonglong) > ; extern "C" { pub static mut __itt_counter_dec_delta_ptr__3_0 : __itt_counter_dec_delta_ptr__3_0_t ; } pub type __itt_counter_inc_v3_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , name : * mut __itt_string_handle) > ; extern "C" { pub static mut __itt_counter_inc_v3_ptr__3_0 : __itt_counter_inc_v3_ptr__3_0_t ; } pub type __itt_counter_inc_delta_v3_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , name : * mut __itt_string_handle , delta : :: std :: os :: raw :: c_ulonglong) > ; extern "C" { pub static mut __itt_counter_inc_delta_v3_ptr__3_0 : __itt_counter_inc_delta_v3_ptr__3_0_t ; } pub type __itt_counter_dec_v3_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , name : * mut __itt_string_handle) > ; extern "C" { pub static mut __itt_counter_dec_v3_ptr__3_0 : __itt_counter_dec_v3_ptr__3_0_t ; } pub type __itt_counter_dec_delta_v3_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , name : * mut __itt_string_handle , delta : :: std :: os :: raw :: c_ulonglong) > ; extern "C" { pub static mut __itt_counter_dec_delta_v3_ptr__3_0 : __itt_counter_dec_delta_v3_ptr__3_0_t ; } pub type __itt_counter_set_value_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (id : __itt_counter , value_ptr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_counter_set_value_ptr__3_0 : __itt_counter_set_value_ptr__3_0_t ; } pub type __itt_counter_set_value_ex_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (id : __itt_counter , clock_domain : * mut __itt_clock_domain , timestamp : :: std :: os :: raw :: c_ulonglong , value_ptr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_counter_set_value_ex_ptr__3_0 : __itt_counter_set_value_ex_ptr__3_0_t ; } pub type __itt_counter_create_typed_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , domain : * const :: std :: os :: raw :: c_char , type_ : __itt_metadata_type) -> __itt_counter > ; extern "C" { pub static mut __itt_counter_create_typed_ptr__3_0 : __itt_counter_create_typed_ptr__3_0_t ; } pub type __itt_counter_destroy_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (id : __itt_counter) > ; extern "C" { pub static mut __itt_counter_destroy_ptr__3_0 : __itt_counter_destroy_ptr__3_0_t ; } pub type __itt_marker_ex_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , clock_domain : * mut __itt_clock_domain , timestamp : :: std :: os :: raw :: c_ulonglong , id : __itt_id , name : * mut __itt_string_handle , scope : __itt_scope) > ; extern "C" { pub static mut __itt_marker_ex_ptr__3_0 : __itt_marker_ex_ptr__3_0_t ; } pub type __itt_relation_add_to_current_ex_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , clock_domain : * mut __itt_clock_domain , timestamp : :: std :: os :: raw :: c_ulonglong , relation : __itt_relation , tail : __itt_id) > ; extern "C" { pub static mut __itt_relation_add_to_current_ex_ptr__3_0 : __itt_relation_add_to_current_ex_ptr__3_0_t ; } pub type __itt_relation_add_ex_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , clock_domain : * mut __itt_clock_domain , timestamp : :: std :: os :: raw :: c_ulonglong , head : __itt_id , relation : __itt_relation , tail : __itt_id) > ; extern "C" { pub static mut __itt_relation_add_ex_ptr__3_0 : __itt_relation_add_ex_ptr__3_0_t ; } pub const ___itt_track_group_type___itt_track_group_type_normal : ___itt_track_group_type = 0 ; # [doc = " @cond exclude_from_documentation"] pub type ___itt_track_group_type = :: std :: os :: raw :: c_uint ; # [doc = " @cond exclude_from_documentation"] pub use self :: ___itt_track_group_type as __itt_track_group_type ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ___itt_track_group { # [doc = "< Name of the track group"] pub name : * mut __itt_string_handle , # [doc = "< List of child tracks"] pub track : * mut ___itt_track , # [doc = "< Type of the track group"] pub tgtype : __itt_track_group_type , # [doc = "< Reserved. Must be zero"] pub extra1 : :: std :: os :: raw :: c_int , # [doc = "< Reserved. Must be zero"] pub extra2 : * mut :: std :: os :: raw :: c_void , pub next : * mut ___itt_track_group , } # [test] fn bindgen_test_layout____itt_track_group () { const UNINIT : :: std :: mem :: MaybeUninit < ___itt_track_group > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ___itt_track_group > () , 40usize , concat ! ("Size of: " , stringify ! (___itt_track_group))) ; assert_eq ! (:: std :: mem :: align_of :: < ___itt_track_group > () , 8usize , concat ! ("Alignment of " , stringify ! (___itt_track_group))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . name) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (___itt_track_group) , "::" , stringify ! (name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . track) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (___itt_track_group) , "::" , stringify ! (track))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . tgtype) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (___itt_track_group) , "::" , stringify ! (tgtype))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . extra1) as usize - ptr as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (___itt_track_group) , "::" , stringify ! (extra1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . extra2) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (___itt_track_group) , "::" , stringify ! (extra2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . next) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (___itt_track_group) , "::" , stringify ! (next))) ; } pub type __itt_track_group = ___itt_track_group ; pub const ___itt_track_type___itt_track_type_normal : ___itt_track_type = 0 ; # [doc = " @brief Placeholder for custom track types. Currently, \"normal\" custom track\n is the only available track type."] pub type ___itt_track_type = :: std :: os :: raw :: c_uint ; # [doc = " @brief Placeholder for custom track types. Currently, \"normal\" custom track\n is the only available track type."] pub use self :: ___itt_track_type as __itt_track_type ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ___itt_track { # [doc = "< Name of the track group"] pub name : * mut __itt_string_handle , # [doc = "< Parent group to a track"] pub group : * mut __itt_track_group , # [doc = "< Type of the track"] pub ttype : __itt_track_type , # [doc = "< Reserved. Must be zero"] pub extra1 : :: std :: os :: raw :: c_int , # [doc = "< Reserved. Must be zero"] pub extra2 : * mut :: std :: os :: raw :: c_void , pub next : * mut ___itt_track , } # [test] fn bindgen_test_layout____itt_track () { const UNINIT : :: std :: mem :: MaybeUninit < ___itt_track > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ___itt_track > () , 40usize , concat ! ("Size of: " , stringify ! (___itt_track))) ; assert_eq ! (:: std :: mem :: align_of :: < ___itt_track > () , 8usize , concat ! ("Alignment of " , stringify ! (___itt_track))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . name) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (___itt_track) , "::" , stringify ! (name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . group) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (___itt_track) , "::" , stringify ! (group))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . ttype) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (___itt_track) , "::" , stringify ! (ttype))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . extra1) as usize - ptr as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (___itt_track) , "::" , stringify ! (extra1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . extra2) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (___itt_track) , "::" , stringify ! (extra2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . next) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (___itt_track) , "::" , stringify ! (next))) ; } pub type __itt_track = ___itt_track ; pub type __itt_track_group_create_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * mut __itt_string_handle , track_group_type : __itt_track_group_type) -> * mut __itt_track_group > ; extern "C" { pub static mut __itt_track_group_create_ptr__3_0 : __itt_track_group_create_ptr__3_0_t ; } pub type __itt_track_create_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (track_group : * mut __itt_track_group , name : * mut __itt_string_handle , track_type : __itt_track_type) -> * mut __itt_track > ; extern "C" { pub static mut __itt_track_create_ptr__3_0 : __itt_track_create_ptr__3_0_t ; } pub type __itt_set_track_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (track : * mut __itt_track) > ; extern "C" { pub static mut __itt_set_track_ptr__3_0 : __itt_set_track_ptr__3_0_t ; } # [doc = " @cond exclude_from_gpa_documentation */\n/**\n @defgroup events Events\n @ingroup public\n Events group\n @{\n/\n/** @brief user event type"] pub type __itt_event = :: std :: os :: raw :: c_int ; pub type __itt_event_create_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , namelen : :: std :: os :: raw :: c_int) -> __itt_event > ; extern "C" { pub static mut __itt_event_create_ptr__3_0 : __itt_event_create_ptr__3_0_t ; } pub type __itt_event_start_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (event : __itt_event) -> :: std :: os :: raw :: c_int > ; extern "C" { pub static mut __itt_event_start_ptr__3_0 : __itt_event_start_ptr__3_0_t ; } pub type __itt_event_end_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (event : __itt_event) -> :: std :: os :: raw :: c_int > ; extern "C" { pub static mut __itt_event_end_ptr__3_0 : __itt_event_end_ptr__3_0_t ; } pub type __itt_av_save_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (data : * mut :: std :: os :: raw :: c_void , rank : :: std :: os :: raw :: c_int , dimensions : * const :: std :: os :: raw :: c_int , type_ : :: std :: os :: raw :: c_int , filePath : * const :: std :: os :: raw :: c_char , columnOrder : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int > ; extern "C" { pub static mut __itt_av_save_ptr__3_0 : __itt_av_save_ptr__3_0_t ; } pub type __itt_enable_attach_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn () > ; extern "C" { pub static mut __itt_enable_attach_ptr__3_0 : __itt_enable_attach_ptr__3_0_t ; } pub type __itt_module_load_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (start_addr : * mut :: std :: os :: raw :: c_void , end_addr : * mut :: std :: os :: raw :: c_void , path : * const :: std :: os :: raw :: c_char) > ; extern "C" { pub static mut __itt_module_load_ptr__3_0 : __itt_module_load_ptr__3_0_t ; } pub type __itt_module_unload_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (addr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_module_unload_ptr__3_0 : __itt_module_unload_ptr__3_0_t ; } pub const __itt_module_type___itt_module_type_unknown : __itt_module_type = 0 ; pub const __itt_module_type___itt_module_type_elf : __itt_module_type = 1 ; pub const __itt_module_type___itt_module_type_coff : __itt_module_type = 2 ; # [doc = " @cond exclude_from_documentation"] pub type __itt_module_type = :: std :: os :: raw :: c_uint ; pub const __itt_section_type_itt_section_type_unknown : __itt_section_type = 0 ; pub const __itt_section_type_itt_section_type_bss : __itt_section_type = 1 ; pub const __itt_section_type_itt_section_type_data : __itt_section_type = 2 ; pub const __itt_section_type_itt_section_type_text : __itt_section_type = 3 ; # [doc = " @cond exclude_from_documentation"] pub type __itt_section_type = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ___itt_section_info { # [doc = "< Section name in UTF8"] pub name : * const :: std :: os :: raw :: c_char , # [doc = "< Section content and semantics description"] pub type_ : __itt_section_type , # [doc = "< Section bit flags that describe attributes using bit mask\n Zero if disabled, non-zero if enabled"] pub flags : usize , # [doc = "< Section load(relocated) start address"] pub start_addr : * mut :: std :: os :: raw :: c_void , # [doc = "< Section file offset"] pub size : usize , # [doc = "< Section size"] pub file_offset : usize , } # [test] fn bindgen_test_layout____itt_section_info () { const UNINIT : :: std :: mem :: MaybeUninit < ___itt_section_info > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ___itt_section_info > () , 48usize , concat ! ("Size of: " , stringify ! (___itt_section_info))) ; assert_eq ! (:: std :: mem :: align_of :: < ___itt_section_info > () , 8usize , concat ! ("Alignment of " , stringify ! (___itt_section_info))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . name) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (___itt_section_info) , "::" , stringify ! (name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . type_) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (___itt_section_info) , "::" , stringify ! (type_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . flags) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (___itt_section_info) , "::" , stringify ! (flags))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . start_addr) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (___itt_section_info) , "::" , stringify ! (start_addr))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . size) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (___itt_section_info) , "::" , stringify ! (size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . file_offset) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (___itt_section_info) , "::" , stringify ! (file_offset))) ; } pub type __itt_section_info = ___itt_section_info ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ___itt_module_object { # [doc = "< API version"] pub version : :: std :: os :: raw :: c_uint , # [doc = "< Unique identifier. This is unchanged for sections that belong to the same module"] pub module_id : __itt_id , # [doc = "< Binary module format"] pub module_type : __itt_module_type , # [doc = "< Unique module name or path to module in UTF8\n Contains module name when module_bufer and module_size exist\n Contains module path when module_bufer and module_size absent\n module_name remains the same for the certain module_id"] pub module_name : * const :: std :: os :: raw :: c_char , # [doc = "< Module buffer content"] pub module_buffer : * mut :: std :: os :: raw :: c_void , # [doc = "< Module buffer size */\n/*!< If module_buffer and module_size exist, the binary module is dumped onto the system.\n If module_buffer and module_size do not exist,\n the binary module exists on the system already.\n The module_name parameter contains the path to the module."] pub module_size : usize , # [doc = "< Reference to section information"] pub section_array : * mut __itt_section_info , pub section_number : usize , } # [test] fn bindgen_test_layout____itt_module_object () { const UNINIT : :: std :: mem :: MaybeUninit < ___itt_module_object > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ___itt_module_object > () , 80usize , concat ! ("Size of: " , stringify ! (___itt_module_object))) ; assert_eq ! (:: std :: mem :: align_of :: < ___itt_module_object > () , 8usize , concat ! ("Alignment of " , stringify ! (___itt_module_object))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . version) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (___itt_module_object) , "::" , stringify ! (version))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . module_id) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (___itt_module_object) , "::" , stringify ! (module_id))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . module_type) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (___itt_module_object) , "::" , stringify ! (module_type))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . module_name) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (___itt_module_object) , "::" , stringify ! (module_name))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . module_buffer) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (___itt_module_object) , "::" , stringify ! (module_buffer))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . module_size) as usize - ptr as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (___itt_module_object) , "::" , stringify ! (module_size))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . section_array) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (___itt_module_object) , "::" , stringify ! (section_array))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . section_number) as usize - ptr as usize } , 72usize , concat ! ("Offset of field: " , stringify ! (___itt_module_object) , "::" , stringify ! (section_number))) ; } pub type __itt_module_object = ___itt_module_object ; pub type __itt_module_load_with_sections_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (module_obj : * mut __itt_module_object) > ; extern "C" { pub static mut __itt_module_load_with_sections_ptr__3_0 : __itt_module_load_with_sections_ptr__3_0_t ; } pub type __itt_module_unload_with_sections_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (module_obj : * mut __itt_module_object) > ; extern "C" { pub static mut __itt_module_unload_with_sections_ptr__3_0 : __itt_module_unload_with_sections_ptr__3_0_t ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ___itt_histogram { # [doc = "< Domain of the histogram"] pub domain : * const __itt_domain , # [doc = "< Name of the histogram"] pub nameA : * const :: std :: os :: raw :: c_char , pub nameW : * mut :: std :: os :: raw :: c_void , # [doc = "< Type of the histogram X axis"] pub x_type : __itt_metadata_type , # [doc = "< Type of the histogram Y axis"] pub y_type : __itt_metadata_type , # [doc = "< Reserved to the runtime"] pub extra1 : :: std :: os :: raw :: c_int , # [doc = "< Reserved to the runtime"] pub extra2 : * mut :: std :: os :: raw :: c_void , pub next : * mut ___itt_histogram , } # [test] fn bindgen_test_layout____itt_histogram () { const UNINIT : :: std :: mem :: MaybeUninit < ___itt_histogram > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ___itt_histogram > () , 56usize , concat ! ("Size of: " , stringify ! (___itt_histogram))) ; assert_eq ! (:: std :: mem :: align_of :: < ___itt_histogram > () , 8usize , concat ! ("Alignment of " , stringify ! (___itt_histogram))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . domain) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (___itt_histogram) , "::" , stringify ! (domain))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . nameA) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (___itt_histogram) , "::" , stringify ! (nameA))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . nameW) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (___itt_histogram) , "::" , stringify ! (nameW))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . x_type) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (___itt_histogram) , "::" , stringify ! (x_type))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . y_type) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (___itt_histogram) , "::" , stringify ! (y_type))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . extra1) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (___itt_histogram) , "::" , stringify ! (extra1))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . extra2) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (___itt_histogram) , "::" , stringify ! (extra2))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . next) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (___itt_histogram) , "::" , stringify ! (next))) ; } pub type __itt_histogram = ___itt_histogram ; pub type __itt_histogram_create_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , name : * const :: std :: os :: raw :: c_char , x_type : __itt_metadata_type , y_type : __itt_metadata_type) -> * mut __itt_histogram > ; extern "C" { pub static mut __itt_histogram_create_ptr__3_0 : __itt_histogram_create_ptr__3_0_t ; } pub type __itt_histogram_submit_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (hist : * mut __itt_histogram , length : usize , x_data : * mut :: std :: os :: raw :: c_void , y_data : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_histogram_submit_ptr__3_0 : __itt_histogram_submit_ptr__3_0_t ; } pub type __itt_counter_create_v3_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (domain : * const __itt_domain , name : * const :: std :: os :: raw :: c_char , type_ : __itt_metadata_type) -> __itt_counter > ; extern "C" { pub static mut __itt_counter_create_v3_ptr__3_0 : __itt_counter_create_v3_ptr__3_0_t ; } pub type __itt_counter_set_value_v3_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (counter : __itt_counter , value_ptr : * mut :: std :: os :: raw :: c_void) > ; extern "C" { pub static mut __itt_counter_set_value_v3_ptr__3_0 : __itt_counter_set_value_v3_ptr__3_0_t ; } # [doc = "< Undefined type"] pub const __itt_context_type___itt_context_unknown : __itt_context_type = 0 ; # [doc = "< ASCII string char* type"] pub const __itt_context_type___itt_context_nameA : __itt_context_type = 1 ; # [doc = "< Unicode string wchar_t* type"] pub const __itt_context_type___itt_context_nameW : __itt_context_type = 2 ; # [doc = "< ASCII string char* type"] pub const __itt_context_type___itt_context_deviceA : __itt_context_type = 3 ; # [doc = "< Unicode string wchar_t* type"] pub const __itt_context_type___itt_context_deviceW : __itt_context_type = 4 ; # [doc = "< ASCII string char* type"] pub const __itt_context_type___itt_context_unitsA : __itt_context_type = 5 ; # [doc = "< Unicode string wchar_t* type"] pub const __itt_context_type___itt_context_unitsW : __itt_context_type = 6 ; # [doc = "< ASCII string char* type"] pub const __itt_context_type___itt_context_pci_addrA : __itt_context_type = 7 ; # [doc = "< Unicode string wchar_t* type"] pub const __itt_context_type___itt_context_pci_addrW : __itt_context_type = 8 ; # [doc = "< Unsigned 64-bit integer type"] pub const __itt_context_type___itt_context_tid : __itt_context_type = 9 ; # [doc = "< Unsigned 64-bit integer type"] pub const __itt_context_type___itt_context_max_val : __itt_context_type = 10 ; # [doc = "< Unsigned 64-bit integer type"] pub const __itt_context_type___itt_context_bandwidth_flag : __itt_context_type = 11 ; # [doc = "< Unsigned 64-bit integer type"] pub const __itt_context_type___itt_context_latency_flag : __itt_context_type = 12 ; # [doc = "< Unsigned 64-bit integer type"] pub const __itt_context_type___itt_context_occupancy_flag : __itt_context_type = 13 ; # [doc = "< Unsigned 64-bit integer type"] pub const __itt_context_type___itt_context_on_thread_flag : __itt_context_type = 14 ; # [doc = "< Unsigned 64-bit integer type"] pub const __itt_context_type___itt_context_is_abs_val_flag : __itt_context_type = 15 ; # [doc = "< Unsigned 64-bit integer type"] pub const __itt_context_type___itt_context_cpu_instructions_flag : __itt_context_type = 16 ; # [doc = "< Unsigned 64-bit integer type"] pub const __itt_context_type___itt_context_cpu_cycles_flag : __itt_context_type = 17 ; # [doc = " @brief describes the type of context metadata"] pub type __itt_context_type = :: std :: os :: raw :: c_uint ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ___itt_context_metadata { # [doc = "< Type of the context metadata value"] pub type_ : __itt_context_type , # [doc = "< Pointer to context metadata value itself"] pub value : * mut :: std :: os :: raw :: c_void , } # [test] fn bindgen_test_layout____itt_context_metadata () { const UNINIT : :: std :: mem :: MaybeUninit < ___itt_context_metadata > = :: std :: mem :: MaybeUninit :: uninit () ; let ptr = UNINIT . as_ptr () ; assert_eq ! (:: std :: mem :: size_of :: < ___itt_context_metadata > () , 16usize , concat ! ("Size of: " , stringify ! (___itt_context_metadata))) ; assert_eq ! (:: std :: mem :: align_of :: < ___itt_context_metadata > () , 8usize , concat ! ("Alignment of " , stringify ! (___itt_context_metadata))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . type_) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (___itt_context_metadata) , "::" , stringify ! (type_))) ; assert_eq ! (unsafe { :: std :: ptr :: addr_of ! ((* ptr) . value) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (___itt_context_metadata) , "::" , stringify ! (value))) ; } pub type __itt_context_metadata = ___itt_context_metadata ; pub type __itt_bind_context_metadata_to_counter_ptr__3_0_t = :: std :: option :: Option < unsafe extern "C" fn (counter : __itt_counter , length : usize , metadata : * mut __itt_context_metadata) > ; extern "C" { pub static mut __itt_bind_context_metadata_to_counter_ptr__3_0 : __itt_bind_context_metadata_to_counter_ptr__3_0_t ; } [INFO] [stdout] +pub const ITT_OS_WIN: u32 = 1; [INFO] [stdout] +pub const ITT_OS_LINUX: u32 = 2; [INFO] [stdout] +pub const ITT_OS_MAC: u32 = 3; [INFO] [stdout] +pub const ITT_OS_FREEBSD: u32 = 4; [INFO] [stdout] +pub const ITT_OS_OPENBSD: u32 = 5; [INFO] [stdout] +pub const ITT_OS: u32 = 2; [INFO] [stdout] +pub const ITT_PLATFORM_WIN: u32 = 1; [INFO] [stdout] +pub const ITT_PLATFORM_POSIX: u32 = 2; [INFO] [stdout] +pub const ITT_PLATFORM_MAC: u32 = 3; [INFO] [stdout] +pub const ITT_PLATFORM_FREEBSD: u32 = 4; [INFO] [stdout] +pub const ITT_PLATFORM_OPENBSD: u32 = 5; [INFO] [stdout] +pub const ITT_PLATFORM: u32 = 2; [INFO] [stdout] +pub const ITT_MAJOR: u32 = 3; [INFO] [stdout] +pub const ITT_MINOR: u32 = 0; [INFO] [stdout] +pub const __itt_suppress_all_errors: u32 = 2147483647; [INFO] [stdout] +pub const __itt_suppress_threading_errors: u32 = 255; [INFO] [stdout] +pub const __itt_suppress_memory_errors: u32 = 65280; [INFO] [stdout] +pub const __itt_attr_barrier: u32 = 1; [INFO] [stdout] +pub const __itt_attr_mutex: u32 = 2; [INFO] [stdout] +pub const __itt_heap_leaks: u32 = 1; [INFO] [stdout] +pub const __itt_heap_growth: u32 = 2; [INFO] [stdout] +pub const __itt_section_exec: u32 = 536870912; [INFO] [stdout] +pub const __itt_section_read: u32 = 1073741824; [INFO] [stdout] +pub const __itt_section_write: u32 = 2147483648; [INFO] [stdout] +pub const __itt_collection_scope___itt_collection_scope_host: __itt_collection_scope = 1; [INFO] [stdout] +pub const __itt_collection_scope___itt_collection_scope_offload: __itt_collection_scope = 2; [INFO] [stdout] +pub const __itt_collection_scope___itt_collection_scope_all: __itt_collection_scope = 2147483647; [INFO] [stdout] +#[doc = " @enum __itt_collection_scope\n @brief Enumerator for collection scopes"] [INFO] [stdout] +pub type __itt_collection_scope = ::std::os::raw::c_uint; [INFO] [stdout] +pub type __itt_pause_ptr__3_0_t = ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_pause_ptr__3_0: __itt_pause_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_pause_scoped_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_pause_scoped_ptr__3_0: __itt_pause_scoped_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_resume_ptr__3_0_t = ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_resume_ptr__3_0: __itt_resume_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_resume_scoped_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_resume_scoped_ptr__3_0: __itt_resume_scoped_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_detach_ptr__3_0_t = ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_detach_ptr__3_0: __itt_detach_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +#[doc = " @defgroup Intel Processor Trace control\n API from this group provides control over collection and analysis of Intel Processor Trace (Intel PT) data\n Information about Intel Processor Trace technology can be found here (Volume 3 chapter 35):\n https://software.intel.com/sites/default/files/managed/39/c5/325462-sdm-vol-1-2abcd-3abcd.pdf\n Use this API to mark particular code regions for loading detailed performance statistics.\n This mode makes your analysis faster and more accurate.\n @{"] [INFO] [stdout] +pub type __itt_pt_region = ::std::os::raw::c_uchar; [INFO] [stdout] +pub type __itt_pt_region_create_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(name: *const ::std::os::raw::c_char) -> __itt_pt_region, [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_pt_region_create_ptr__3_0: __itt_pt_region_create_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_thread_set_name_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_thread_set_name_ptr__3_0: __itt_thread_set_name_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_thread_ignore_ptr__3_0_t = ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_thread_ignore_ptr__3_0: __itt_thread_ignore_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_suppress_push_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_suppress_push_ptr__3_0: __itt_suppress_push_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_suppress_pop_ptr__3_0_t = ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_suppress_pop_ptr__3_0: __itt_suppress_pop_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub const __itt_suppress_mode___itt_unsuppress_range: __itt_suppress_mode = 0; [INFO] [stdout] +pub const __itt_suppress_mode___itt_suppress_range: __itt_suppress_mode = 1; [INFO] [stdout] +#[doc = " @enum __itt_suppress_mode\n @brief Enumerator for the suppressing modes"] [INFO] [stdout] +pub type __itt_suppress_mode = ::std::os::raw::c_uint; [INFO] [stdout] +#[doc = " @enum __itt_suppress_mode\n @brief Enumerator for the suppressing modes"] [INFO] [stdout] +pub use self::__itt_suppress_mode as __itt_suppress_mode_t; [INFO] [stdout] +pub type __itt_suppress_mark_range_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + mode: __itt_suppress_mode_t, [INFO] [stdout] + mask: ::std::os::raw::c_uint, [INFO] [stdout] + address: *mut ::std::os::raw::c_void, [INFO] [stdout] + size: usize, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_suppress_mark_range_ptr__3_0: __itt_suppress_mark_range_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_suppress_clear_range_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + mode: __itt_suppress_mode_t, [INFO] [stdout] + mask: ::std::os::raw::c_uint, [INFO] [stdout] + address: *mut ::std::os::raw::c_void, [INFO] [stdout] + size: usize, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_suppress_clear_range_ptr__3_0: __itt_suppress_clear_range_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_sync_create_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + addr: *mut ::std::os::raw::c_void, [INFO] [stdout] + objtype: *const ::std::os::raw::c_char, [INFO] [stdout] + objname: *const ::std::os::raw::c_char, [INFO] [stdout] + attribute: ::std::os::raw::c_int, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_sync_create_ptr__3_0: __itt_sync_create_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_sync_rename_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(addr: *mut ::std::os::raw::c_void, name: *const ::std::os::raw::c_char), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_sync_rename_ptr__3_0: __itt_sync_rename_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_sync_destroy_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_sync_destroy_ptr__3_0: __itt_sync_destroy_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_sync_prepare_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_sync_prepare_ptr__3_0: __itt_sync_prepare_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_sync_cancel_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_sync_cancel_ptr__3_0: __itt_sync_cancel_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_sync_acquired_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_sync_acquired_ptr__3_0: __itt_sync_acquired_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_sync_releasing_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_sync_releasing_ptr__3_0: __itt_sync_releasing_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_fsync_prepare_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_fsync_prepare_ptr__3_0: __itt_fsync_prepare_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_fsync_cancel_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_fsync_cancel_ptr__3_0: __itt_fsync_cancel_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_fsync_acquired_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_fsync_acquired_ptr__3_0: __itt_fsync_acquired_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_fsync_releasing_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_fsync_releasing_ptr__3_0: __itt_fsync_releasing_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_site = *mut ::std::os::raw::c_void; [INFO] [stdout] +pub type __itt_model_site_instance = *mut ::std::os::raw::c_void; [INFO] [stdout] +pub type __itt_model_task = *mut ::std::os::raw::c_void; [INFO] [stdout] +pub type __itt_model_task_instance = *mut ::std::os::raw::c_void; [INFO] [stdout] +pub const __itt_model_disable___itt_model_disable_observation: __itt_model_disable = 0; [INFO] [stdout] +pub const __itt_model_disable___itt_model_disable_collection: __itt_model_disable = 1; [INFO] [stdout] +#[doc = " @enum __itt_model_disable\n @brief Enumerator for the disable methods"] [INFO] [stdout] +pub type __itt_model_disable = ::std::os::raw::c_uint; [INFO] [stdout] +pub type __itt_model_site_begin_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + site: *mut __itt_model_site, [INFO] [stdout] + instance: *mut __itt_model_site_instance, [INFO] [stdout] + name: *const ::std::os::raw::c_char, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_site_begin_ptr__3_0: __itt_model_site_begin_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_site_beginA_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_site_beginA_ptr__3_0: __itt_model_site_beginA_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_site_beginAL_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, siteNameLen: usize), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_site_beginAL_ptr__3_0: __itt_model_site_beginAL_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_site_end_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(site: *mut __itt_model_site, instance: *mut __itt_model_site_instance), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_site_end_ptr__3_0: __itt_model_site_end_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_site_end_2_ptr__3_0_t = ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_site_end_2_ptr__3_0: __itt_model_site_end_2_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_task_begin_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + task: *mut __itt_model_task, [INFO] [stdout] + instance: *mut __itt_model_task_instance, [INFO] [stdout] + name: *const ::std::os::raw::c_char, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_task_begin_ptr__3_0: __itt_model_task_begin_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_task_beginA_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_task_beginA_ptr__3_0: __itt_model_task_beginA_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_task_beginAL_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, taskNameLen: usize), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_task_beginAL_ptr__3_0: __itt_model_task_beginAL_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_iteration_taskA_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_iteration_taskA_ptr__3_0: __itt_model_iteration_taskA_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_iteration_taskAL_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(name: *const ::std::os::raw::c_char, taskNameLen: usize), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_iteration_taskAL_ptr__3_0: __itt_model_iteration_taskAL_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_task_end_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(task: *mut __itt_model_task, instance: *mut __itt_model_task_instance), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_task_end_ptr__3_0: __itt_model_task_end_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_task_end_2_ptr__3_0_t = ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_task_end_2_ptr__3_0: __itt_model_task_end_2_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_lock_acquire_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_lock_acquire_ptr__3_0: __itt_model_lock_acquire_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_lock_acquire_2_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_lock_acquire_2_ptr__3_0: __itt_model_lock_acquire_2_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_lock_release_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_lock_release_ptr__3_0: __itt_model_lock_release_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_lock_release_2_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_lock_release_2_ptr__3_0: __itt_model_lock_release_2_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_record_allocation_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_record_allocation_ptr__3_0: __itt_model_record_allocation_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_record_deallocation_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_record_deallocation_ptr__3_0: [INFO] [stdout] + __itt_model_record_deallocation_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_induction_uses_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_induction_uses_ptr__3_0: __itt_model_induction_uses_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_reduction_uses_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_reduction_uses_ptr__3_0: __itt_model_reduction_uses_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_observe_uses_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_observe_uses_ptr__3_0: __itt_model_observe_uses_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_clear_uses_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_clear_uses_ptr__3_0: __itt_model_clear_uses_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_disable_push_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_disable_push_ptr__3_0: __itt_model_disable_push_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_disable_pop_ptr__3_0_t = ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_disable_pop_ptr__3_0: __itt_model_disable_pop_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_model_aggregate_task_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_model_aggregate_task_ptr__3_0: __itt_model_aggregate_task_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +#[doc = " @defgroup heap Heap\n @ingroup public\n Heap group\n @{"] [INFO] [stdout] +pub type __itt_heap_function = *mut ::std::os::raw::c_void; [INFO] [stdout] +pub type __itt_heap_function_create_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + name: *const ::std::os::raw::c_char, [INFO] [stdout] + domain: *const ::std::os::raw::c_char, [INFO] [stdout] + ) -> __itt_heap_function, [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_heap_function_create_ptr__3_0: __itt_heap_function_create_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_heap_allocate_begin_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(h: __itt_heap_function, size: usize, initialized: ::std::os::raw::c_int), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_heap_allocate_begin_ptr__3_0: __itt_heap_allocate_begin_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_heap_allocate_end_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + h: __itt_heap_function, [INFO] [stdout] + addr: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] + size: usize, [INFO] [stdout] + initialized: ::std::os::raw::c_int, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_heap_allocate_end_ptr__3_0: __itt_heap_allocate_end_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_heap_free_begin_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(h: __itt_heap_function, addr: *mut ::std::os::raw::c_void), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_heap_free_begin_ptr__3_0: __itt_heap_free_begin_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_heap_free_end_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(h: __itt_heap_function, addr: *mut ::std::os::raw::c_void), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_heap_free_end_ptr__3_0: __itt_heap_free_end_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_heap_reallocate_begin_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + h: __itt_heap_function, [INFO] [stdout] + addr: *mut ::std::os::raw::c_void, [INFO] [stdout] + new_size: usize, [INFO] [stdout] + initialized: ::std::os::raw::c_int, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_heap_reallocate_begin_ptr__3_0: __itt_heap_reallocate_begin_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_heap_reallocate_end_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + h: __itt_heap_function, [INFO] [stdout] + addr: *mut ::std::os::raw::c_void, [INFO] [stdout] + new_addr: *mut *mut ::std::os::raw::c_void, [INFO] [stdout] + new_size: usize, [INFO] [stdout] + initialized: ::std::os::raw::c_int, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_heap_reallocate_end_ptr__3_0: __itt_heap_reallocate_end_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_heap_internal_access_begin_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_heap_internal_access_begin_ptr__3_0: [INFO] [stdout] + __itt_heap_internal_access_begin_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_heap_internal_access_end_ptr__3_0_t = ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_heap_internal_access_end_ptr__3_0: [INFO] [stdout] + __itt_heap_internal_access_end_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_heap_record_memory_growth_begin_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_heap_record_memory_growth_begin_ptr__3_0: [INFO] [stdout] + __itt_heap_record_memory_growth_begin_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_heap_record_memory_growth_end_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_heap_record_memory_growth_end_ptr__3_0: [INFO] [stdout] + __itt_heap_record_memory_growth_end_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_heap_reset_detection_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_heap_reset_detection_ptr__3_0: __itt_heap_reset_detection_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_heap_record_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_heap_record_ptr__3_0: __itt_heap_record_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct ___itt_domain { [INFO] [stdout] + #[doc = "< Zero if disabled, non-zero if enabled. The meaning of different non-zero values is reserved to the runtime"] [INFO] [stdout] + pub flags: ::std::os::raw::c_int, [INFO] [stdout] + #[doc = "< Copy of original name in ASCII."] [INFO] [stdout] + pub nameA: *const ::std::os::raw::c_char, [INFO] [stdout] + pub nameW: *mut ::std::os::raw::c_void, [INFO] [stdout] + #[doc = "< Reserved to the runtime"] [INFO] [stdout] + pub extra1: ::std::os::raw::c_int, [INFO] [stdout] + #[doc = "< Reserved to the runtime"] [INFO] [stdout] + pub extra2: *mut ::std::os::raw::c_void, [INFO] [stdout] + pub next: *mut ___itt_domain, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout____itt_domain() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<___itt_domain> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<___itt_domain>(), [INFO] [stdout] + 48usize, [INFO] [stdout] + concat!("Size of: ", stringify!(___itt_domain)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<___itt_domain>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(___itt_domain)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_domain), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(flags) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).nameA) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_domain), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(nameA) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).nameW) as usize - ptr as usize }, [INFO] [stdout] + 16usize, [INFO] [stderr] error: test failed, to rerun pass `--test bindgen-up-to-date` [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_domain), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(nameW) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize }, [INFO] [stdout] + 24usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_domain), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(extra1) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize }, [INFO] [stdout] + 32usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_domain), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(extra2) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize }, [INFO] [stdout] + 40usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_domain), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(next) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_domain = ___itt_domain; [INFO] [stdout] +pub type __itt_domain_create_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(name: *const ::std::os::raw::c_char) -> *mut __itt_domain, [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_domain_create_ptr__3_0: __itt_domain_create_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct ___itt_id { [INFO] [stdout] + pub d1: ::std::os::raw::c_ulonglong, [INFO] [stdout] + pub d2: ::std::os::raw::c_ulonglong, [INFO] [stdout] + pub d3: ::std::os::raw::c_ulonglong, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout____itt_id() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<___itt_id> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<___itt_id>(), [INFO] [stdout] + 24usize, [INFO] [stdout] + concat!("Size of: ", stringify!(___itt_id)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<___itt_id>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(___itt_id)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).d1) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_id), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(d1) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).d2) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_id), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(d2) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).d3) as usize - ptr as usize }, [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_id), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(d3) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_id = ___itt_id; [INFO] [stdout] +extern "C" { [INFO] [stdout] + #[doc = " @endcond"] [INFO] [stdout] + pub static __itt_null: __itt_id; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_id_create_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_id_create_ptr__3_0: __itt_id_create_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_id_destroy_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_id_destroy_ptr__3_0: __itt_id_destroy_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct ___itt_string_handle { [INFO] [stdout] + #[doc = "< Copy of original string in ASCII."] [INFO] [stdout] + pub strA: *const ::std::os::raw::c_char, [INFO] [stdout] + pub strW: *mut ::std::os::raw::c_void, [INFO] [stdout] + #[doc = "< Reserved. Must be zero"] [INFO] [stdout] + pub extra1: ::std::os::raw::c_int, [INFO] [stdout] + #[doc = "< Reserved. Must be zero"] [INFO] [stdout] + pub extra2: *mut ::std::os::raw::c_void, [INFO] [stdout] + pub next: *mut ___itt_string_handle, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout____itt_string_handle() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<___itt_string_handle> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<___itt_string_handle>(), [INFO] [stdout] + 40usize, [INFO] [stdout] + concat!("Size of: ", stringify!(___itt_string_handle)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<___itt_string_handle>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(___itt_string_handle)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).strA) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_string_handle), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(strA) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).strW) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_string_handle), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(strW) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize }, [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_string_handle), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(extra1) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize }, [INFO] [stdout] + 24usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_string_handle), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(extra2) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize }, [INFO] [stdout] + 32usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_string_handle), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(next) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_string_handle = ___itt_string_handle; [INFO] [stdout] +pub type __itt_string_handle_create_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(name: *const ::std::os::raw::c_char) -> *mut __itt_string_handle, [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_string_handle_create_ptr__3_0: __itt_string_handle_create_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +#[doc = " @cond exclude_from_documentation"] [INFO] [stdout] +pub type __itt_timestamp = ::std::os::raw::c_ulonglong; [INFO] [stdout] +pub type __itt_get_timestamp_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option __itt_timestamp>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_get_timestamp_ptr__3_0: __itt_get_timestamp_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_region_begin_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + id: __itt_id, [INFO] [stdout] + parentid: __itt_id, [INFO] [stdout] + name: *mut __itt_string_handle, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_region_begin_ptr__3_0: __itt_region_begin_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_region_end_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_region_end_ptr__3_0: __itt_region_end_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_frame_begin_v3_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_frame_begin_v3_ptr__3_0: __itt_frame_begin_v3_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_frame_end_v3_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_frame_end_v3_ptr__3_0: __itt_frame_end_v3_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_frame_submit_v3_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + id: *mut __itt_id, [INFO] [stdout] + begin: __itt_timestamp, [INFO] [stdout] + end: __itt_timestamp, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_frame_submit_v3_ptr__3_0: __itt_frame_submit_v3_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_task_group_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + id: __itt_id, [INFO] [stdout] + parentid: __itt_id, [INFO] [stdout] + name: *mut __itt_string_handle, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_task_group_ptr__3_0: __itt_task_group_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_task_begin_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + id: __itt_id, [INFO] [stdout] + parentid: __itt_id, [INFO] [stdout] + name: *mut __itt_string_handle, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_task_begin_ptr__3_0: __itt_task_begin_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_task_begin_fn_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + id: __itt_id, [INFO] [stdout] + parentid: __itt_id, [INFO] [stdout] + fn_: *mut ::std::os::raw::c_void, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_task_begin_fn_ptr__3_0: __itt_task_begin_fn_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_task_end_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_task_end_ptr__3_0: __itt_task_end_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_task_begin_overlapped_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + taskid: __itt_id, [INFO] [stdout] + parentid: __itt_id, [INFO] [stdout] + name: *mut __itt_string_handle, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_task_begin_overlapped_ptr__3_0: __itt_task_begin_overlapped_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_task_end_overlapped_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_task_end_overlapped_ptr__3_0: __itt_task_end_overlapped_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub const __itt_scope___itt_scope_unknown: __itt_scope = 0; [INFO] [stdout] +pub const __itt_scope___itt_scope_global: __itt_scope = 1; [INFO] [stdout] +pub const __itt_scope___itt_scope_track_group: __itt_scope = 2; [INFO] [stdout] +pub const __itt_scope___itt_scope_track: __itt_scope = 3; [INFO] [stdout] +pub const __itt_scope___itt_scope_task: __itt_scope = 4; [INFO] [stdout] +pub const __itt_scope___itt_scope_marker: __itt_scope = 5; [INFO] [stdout] +#[doc = " @brief Describes the scope of an event object in the trace."] [INFO] [stdout] +pub type __itt_scope = ::std::os::raw::c_uint; [INFO] [stdout] +pub type __itt_marker_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + id: __itt_id, [INFO] [stdout] + name: *mut __itt_string_handle, [INFO] [stdout] + scope: __itt_scope, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_marker_ptr__3_0: __itt_marker_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub const __itt_metadata_type___itt_metadata_unknown: __itt_metadata_type = 0; [INFO] [stdout] +#[doc = "< Unsigned 64-bit integer"] [INFO] [stdout] +pub const __itt_metadata_type___itt_metadata_u64: __itt_metadata_type = 1; [INFO] [stdout] +#[doc = "< Signed 64-bit integer"] [INFO] [stdout] +pub const __itt_metadata_type___itt_metadata_s64: __itt_metadata_type = 2; [INFO] [stdout] +#[doc = "< Unsigned 32-bit integer"] [INFO] [stdout] +pub const __itt_metadata_type___itt_metadata_u32: __itt_metadata_type = 3; [INFO] [stdout] +#[doc = "< Signed 32-bit integer"] [INFO] [stdout] +pub const __itt_metadata_type___itt_metadata_s32: __itt_metadata_type = 4; [INFO] [stdout] +#[doc = "< Unsigned 16-bit integer"] [INFO] [stdout] +pub const __itt_metadata_type___itt_metadata_u16: __itt_metadata_type = 5; [INFO] [stdout] +#[doc = "< Signed 16-bit integer"] [INFO] [stdout] +pub const __itt_metadata_type___itt_metadata_s16: __itt_metadata_type = 6; [INFO] [stdout] +#[doc = "< Signed 32-bit floating-point"] [INFO] [stdout] +pub const __itt_metadata_type___itt_metadata_float: __itt_metadata_type = 7; [INFO] [stdout] +#[doc = "< SIgned 64-bit floating-point"] [INFO] [stdout] +pub const __itt_metadata_type___itt_metadata_double: __itt_metadata_type = 8; [INFO] [stdout] +#[doc = " @ingroup parameters\n @brief describes the type of metadata"] [INFO] [stdout] +pub type __itt_metadata_type = ::std::os::raw::c_uint; [INFO] [stdout] +pub type __itt_metadata_add_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + id: __itt_id, [INFO] [stdout] + key: *mut __itt_string_handle, [INFO] [stdout] + type_: __itt_metadata_type, [INFO] [stdout] + count: usize, [INFO] [stdout] + data: *mut ::std::os::raw::c_void, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_metadata_add_ptr__3_0: __itt_metadata_add_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_metadata_str_add_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + id: __itt_id, [INFO] [stdout] + key: *mut __itt_string_handle, [INFO] [stdout] + data: *const ::std::os::raw::c_char, [INFO] [stdout] + length: usize, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_metadata_str_add_ptr__3_0: __itt_metadata_str_add_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_metadata_add_with_scope_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + scope: __itt_scope, [INFO] [stdout] + key: *mut __itt_string_handle, [INFO] [stdout] + type_: __itt_metadata_type, [INFO] [stdout] + count: usize, [INFO] [stdout] + data: *mut ::std::os::raw::c_void, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_metadata_add_with_scope_ptr__3_0: __itt_metadata_add_with_scope_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_metadata_str_add_with_scope_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + scope: __itt_scope, [INFO] [stdout] + key: *mut __itt_string_handle, [INFO] [stdout] + data: *const ::std::os::raw::c_char, [INFO] [stdout] + length: usize, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_metadata_str_add_with_scope_ptr__3_0: [INFO] [stdout] + __itt_metadata_str_add_with_scope_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub const __itt_relation___itt_relation_is_unknown: __itt_relation = 0; [INFO] [stdout] +#[doc = "< \"A is dependent on B\" means that A cannot start until B completes"] [INFO] [stdout] +pub const __itt_relation___itt_relation_is_dependent_on: __itt_relation = 1; [INFO] [stdout] +#[doc = "< \"A is sibling of B\" means that A and B were created as a group"] [INFO] [stdout] +pub const __itt_relation___itt_relation_is_sibling_of: __itt_relation = 2; [INFO] [stdout] +#[doc = "< \"A is parent of B\" means that A created B"] [INFO] [stdout] +pub const __itt_relation___itt_relation_is_parent_of: __itt_relation = 3; [INFO] [stdout] +#[doc = "< \"A is continuation of B\" means that A assumes the dependencies of B"] [INFO] [stdout] +pub const __itt_relation___itt_relation_is_continuation_of: __itt_relation = 4; [INFO] [stdout] +#[doc = "< \"A is child of B\" means that A was created by B (inverse of is_parent_of)"] [INFO] [stdout] +pub const __itt_relation___itt_relation_is_child_of: __itt_relation = 5; [INFO] [stdout] +#[doc = "< \"A is continued by B\" means that B assumes the dependencies of A (inverse of is_continuation_of)"] [INFO] [stdout] +pub const __itt_relation___itt_relation_is_continued_by: __itt_relation = 6; [INFO] [stdout] +#[doc = "< \"A is predecessor to B\" means that B cannot start until A completes (inverse of is_dependent_on)"] [INFO] [stdout] +pub const __itt_relation___itt_relation_is_predecessor_to: __itt_relation = 7; [INFO] [stdout] +#[doc = " @ingroup relations\n @brief The kind of relation between two instances is specified by the enumerated type __itt_relation.\n Relations between instances can be added with an API call. The relation\n API uses instance IDs. Relations can be added before or after the actual\n instances are created and persist independently of the instances. This\n is the motivation for having different lifetimes for instance IDs and\n the actual instances."] [INFO] [stdout] +pub type __itt_relation = ::std::os::raw::c_uint; [INFO] [stdout] +pub type __itt_relation_add_to_current_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(domain: *const __itt_domain, relation: __itt_relation, tail: __itt_id), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_relation_add_to_current_ptr__3_0: __itt_relation_add_to_current_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_relation_add_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + head: __itt_id, [INFO] [stdout] + relation: __itt_relation, [INFO] [stdout] + tail: __itt_id, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_relation_add_ptr__3_0: __itt_relation_add_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct ___itt_clock_info { [INFO] [stdout] + #[doc = "< Clock domain frequency"] [INFO] [stdout] + pub clock_freq: ::std::os::raw::c_ulonglong, [INFO] [stdout] + #[doc = "< Clock domain base timestamp"] [INFO] [stdout] + pub clock_base: ::std::os::raw::c_ulonglong, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout____itt_clock_info() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<___itt_clock_info> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<___itt_clock_info>(), [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!("Size of: ", stringify!(___itt_clock_info)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<___itt_clock_info>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(___itt_clock_info)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).clock_freq) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_clock_info), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(clock_freq) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).clock_base) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_clock_info), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(clock_base) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_clock_info = ___itt_clock_info; [INFO] [stdout] +#[doc = " @cond exclude_from_documentation"] [INFO] [stdout] +pub type __itt_get_clock_info_fn = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(clock_info: *mut __itt_clock_info, data: *mut ::std::os::raw::c_void), [INFO] [stdout] +>; [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct ___itt_clock_domain { [INFO] [stdout] + #[doc = "< Most recent clock domain info"] [INFO] [stdout] + pub info: __itt_clock_info, [INFO] [stdout] + #[doc = "< Callback function pointer"] [INFO] [stdout] + pub fn_: __itt_get_clock_info_fn, [INFO] [stdout] + #[doc = "< Input argument for the callback function"] [INFO] [stdout] + pub fn_data: *mut ::std::os::raw::c_void, [INFO] [stdout] + #[doc = "< Reserved. Must be zero"] [INFO] [stdout] + pub extra1: ::std::os::raw::c_int, [INFO] [stdout] + #[doc = "< Reserved. Must be zero"] [INFO] [stdout] + pub extra2: *mut ::std::os::raw::c_void, [INFO] [stdout] + pub next: *mut ___itt_clock_domain, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout____itt_clock_domain() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<___itt_clock_domain> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<___itt_clock_domain>(), [INFO] [stdout] + 56usize, [INFO] [stdout] + concat!("Size of: ", stringify!(___itt_clock_domain)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<___itt_clock_domain>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(___itt_clock_domain)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).info) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_clock_domain), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(info) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).fn_) as usize - ptr as usize }, [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_clock_domain), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(fn_) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).fn_data) as usize - ptr as usize }, [INFO] [stdout] + 24usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_clock_domain), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(fn_data) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize }, [INFO] [stdout] + 32usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_clock_domain), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(extra1) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize }, [INFO] [stdout] + 40usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_clock_domain), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(extra2) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize }, [INFO] [stdout] + 48usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_clock_domain), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(next) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_clock_domain = ___itt_clock_domain; [INFO] [stdout] +pub type __itt_clock_domain_create_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + fn_: __itt_get_clock_info_fn, [INFO] [stdout] + fn_data: *mut ::std::os::raw::c_void, [INFO] [stdout] + ) -> *mut __itt_clock_domain, [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_clock_domain_create_ptr__3_0: __itt_clock_domain_create_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_clock_domain_reset_ptr__3_0_t = ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_clock_domain_reset_ptr__3_0: __itt_clock_domain_reset_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_id_create_ex_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + clock_domain: *mut __itt_clock_domain, [INFO] [stdout] + timestamp: ::std::os::raw::c_ulonglong, [INFO] [stdout] + id: __itt_id, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_id_create_ex_ptr__3_0: __itt_id_create_ex_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_id_destroy_ex_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + clock_domain: *mut __itt_clock_domain, [INFO] [stdout] + timestamp: ::std::os::raw::c_ulonglong, [INFO] [stdout] + id: __itt_id, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_id_destroy_ex_ptr__3_0: __itt_id_destroy_ex_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_task_begin_ex_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + clock_domain: *mut __itt_clock_domain, [INFO] [stdout] + timestamp: ::std::os::raw::c_ulonglong, [INFO] [stdout] + id: __itt_id, [INFO] [stdout] + parentid: __itt_id, [INFO] [stdout] + name: *mut __itt_string_handle, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_task_begin_ex_ptr__3_0: __itt_task_begin_ex_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_task_begin_fn_ex_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + clock_domain: *mut __itt_clock_domain, [INFO] [stdout] + timestamp: ::std::os::raw::c_ulonglong, [INFO] [stdout] + id: __itt_id, [INFO] [stdout] + parentid: __itt_id, [INFO] [stdout] + fn_: *mut ::std::os::raw::c_void, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_task_begin_fn_ex_ptr__3_0: __itt_task_begin_fn_ex_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_task_end_ex_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + clock_domain: *mut __itt_clock_domain, [INFO] [stdout] + timestamp: ::std::os::raw::c_ulonglong, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_task_end_ex_ptr__3_0: __itt_task_end_ex_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct ___itt_counter { [INFO] [stdout] + _unused: [u8; 0], [INFO] [stdout] +} [INFO] [stdout] +#[doc = " @brief opaque structure for counter identification\n/\n/** @cond exclude_from_documentation"] [INFO] [stdout] +pub type __itt_counter = *mut ___itt_counter; [INFO] [stdout] +pub type __itt_counter_create_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + name: *const ::std::os::raw::c_char, [INFO] [stdout] + domain: *const ::std::os::raw::c_char, [INFO] [stdout] + ) -> __itt_counter, [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_create_ptr__3_0: __itt_counter_create_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_inc_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_inc_ptr__3_0: __itt_counter_inc_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_inc_delta_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(id: __itt_counter, value: ::std::os::raw::c_ulonglong), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_inc_delta_ptr__3_0: __itt_counter_inc_delta_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_dec_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_dec_ptr__3_0: __itt_counter_dec_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_dec_delta_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(id: __itt_counter, value: ::std::os::raw::c_ulonglong), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_dec_delta_ptr__3_0: __itt_counter_dec_delta_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_inc_v3_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(domain: *const __itt_domain, name: *mut __itt_string_handle), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_inc_v3_ptr__3_0: __itt_counter_inc_v3_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_inc_delta_v3_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + name: *mut __itt_string_handle, [INFO] [stdout] + delta: ::std::os::raw::c_ulonglong, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_inc_delta_v3_ptr__3_0: __itt_counter_inc_delta_v3_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_dec_v3_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(domain: *const __itt_domain, name: *mut __itt_string_handle), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_dec_v3_ptr__3_0: __itt_counter_dec_v3_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_dec_delta_v3_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + name: *mut __itt_string_handle, [INFO] [stdout] + delta: ::std::os::raw::c_ulonglong, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_dec_delta_v3_ptr__3_0: __itt_counter_dec_delta_v3_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_set_value_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(id: __itt_counter, value_ptr: *mut ::std::os::raw::c_void), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_set_value_ptr__3_0: __itt_counter_set_value_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_set_value_ex_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + id: __itt_counter, [INFO] [stdout] + clock_domain: *mut __itt_clock_domain, [INFO] [stdout] + timestamp: ::std::os::raw::c_ulonglong, [INFO] [stdout] + value_ptr: *mut ::std::os::raw::c_void, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_set_value_ex_ptr__3_0: __itt_counter_set_value_ex_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_create_typed_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + name: *const ::std::os::raw::c_char, [INFO] [stdout] + domain: *const ::std::os::raw::c_char, [INFO] [stdout] + type_: __itt_metadata_type, [INFO] [stdout] + ) -> __itt_counter, [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_create_typed_ptr__3_0: __itt_counter_create_typed_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_destroy_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_destroy_ptr__3_0: __itt_counter_destroy_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_marker_ex_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + clock_domain: *mut __itt_clock_domain, [INFO] [stdout] + timestamp: ::std::os::raw::c_ulonglong, [INFO] [stdout] + id: __itt_id, [INFO] [stdout] + name: *mut __itt_string_handle, [INFO] [stdout] + scope: __itt_scope, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_marker_ex_ptr__3_0: __itt_marker_ex_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_relation_add_to_current_ex_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + clock_domain: *mut __itt_clock_domain, [INFO] [stdout] + timestamp: ::std::os::raw::c_ulonglong, [INFO] [stdout] + relation: __itt_relation, [INFO] [stdout] + tail: __itt_id, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_relation_add_to_current_ex_ptr__3_0: [INFO] [stdout] + __itt_relation_add_to_current_ex_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_relation_add_ex_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + clock_domain: *mut __itt_clock_domain, [INFO] [stdout] + timestamp: ::std::os::raw::c_ulonglong, [INFO] [stdout] + head: __itt_id, [INFO] [stdout] + relation: __itt_relation, [INFO] [stdout] + tail: __itt_id, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_relation_add_ex_ptr__3_0: __itt_relation_add_ex_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub const ___itt_track_group_type___itt_track_group_type_normal: ___itt_track_group_type = 0; [INFO] [stdout] +#[doc = " @cond exclude_from_documentation"] [INFO] [stdout] +pub type ___itt_track_group_type = ::std::os::raw::c_uint; [INFO] [stdout] +#[doc = " @cond exclude_from_documentation"] [INFO] [stdout] +pub use self::___itt_track_group_type as __itt_track_group_type; [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct ___itt_track_group { [INFO] [stdout] + #[doc = "< Name of the track group"] [INFO] [stdout] + pub name: *mut __itt_string_handle, [INFO] [stdout] + #[doc = "< List of child tracks"] [INFO] [stdout] + pub track: *mut ___itt_track, [INFO] [stdout] + #[doc = "< Type of the track group"] [INFO] [stdout] + pub tgtype: __itt_track_group_type, [INFO] [stdout] + #[doc = "< Reserved. Must be zero"] [INFO] [stdout] + pub extra1: ::std::os::raw::c_int, [INFO] [stdout] + #[doc = "< Reserved. Must be zero"] [INFO] [stdout] + pub extra2: *mut ::std::os::raw::c_void, [INFO] [stdout] + pub next: *mut ___itt_track_group, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout____itt_track_group() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<___itt_track_group> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<___itt_track_group>(), [INFO] [stdout] + 40usize, [INFO] [stdout] + concat!("Size of: ", stringify!(___itt_track_group)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<___itt_track_group>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(___itt_track_group)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_track_group), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).track) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_track_group), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(track) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).tgtype) as usize - ptr as usize }, [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_track_group), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(tgtype) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize }, [INFO] [stdout] + 20usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_track_group), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(extra1) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize }, [INFO] [stdout] + 24usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_track_group), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(extra2) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize }, [INFO] [stdout] + 32usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_track_group), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(next) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_track_group = ___itt_track_group; [INFO] [stdout] +pub const ___itt_track_type___itt_track_type_normal: ___itt_track_type = 0; [INFO] [stdout] +#[doc = " @brief Placeholder for custom track types. Currently, \"normal\" custom track\n is the only available track type."] [INFO] [stdout] +pub type ___itt_track_type = ::std::os::raw::c_uint; [INFO] [stdout] +#[doc = " @brief Placeholder for custom track types. Currently, \"normal\" custom track\n is the only available track type."] [INFO] [stdout] +pub use self::___itt_track_type as __itt_track_type; [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct ___itt_track { [INFO] [stdout] + #[doc = "< Name of the track group"] [INFO] [stdout] + pub name: *mut __itt_string_handle, [INFO] [stdout] + #[doc = "< Parent group to a track"] [INFO] [stdout] + pub group: *mut __itt_track_group, [INFO] [stdout] + #[doc = "< Type of the track"] [INFO] [stdout] + pub ttype: __itt_track_type, [INFO] [stdout] + #[doc = "< Reserved. Must be zero"] [INFO] [stdout] + pub extra1: ::std::os::raw::c_int, [INFO] [stdout] + #[doc = "< Reserved. Must be zero"] [INFO] [stdout] + pub extra2: *mut ::std::os::raw::c_void, [INFO] [stdout] + pub next: *mut ___itt_track, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout____itt_track() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<___itt_track> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<___itt_track>(), [INFO] [stdout] + 40usize, [INFO] [stdout] + concat!("Size of: ", stringify!(___itt_track)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<___itt_track>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(___itt_track)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_track), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).group) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_track), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(group) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).ttype) as usize - ptr as usize }, [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_track), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(ttype) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize }, [INFO] [stdout] + 20usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_track), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(extra1) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize }, [INFO] [stdout] + 24usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_track), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(extra2) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize }, [INFO] [stdout] + 32usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_track), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(next) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_track = ___itt_track; [INFO] [stdout] +pub type __itt_track_group_create_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + name: *mut __itt_string_handle, [INFO] [stdout] + track_group_type: __itt_track_group_type, [INFO] [stdout] + ) -> *mut __itt_track_group, [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_track_group_create_ptr__3_0: __itt_track_group_create_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_track_create_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + track_group: *mut __itt_track_group, [INFO] [stdout] + name: *mut __itt_string_handle, [INFO] [stdout] + track_type: __itt_track_type, [INFO] [stdout] + ) -> *mut __itt_track, [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_track_create_ptr__3_0: __itt_track_create_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_set_track_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_set_track_ptr__3_0: __itt_set_track_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +#[doc = " @cond exclude_from_gpa_documentation */\n/**\n @defgroup events Events\n @ingroup public\n Events group\n @{\n/\n/** @brief user event type"] [INFO] [stdout] +pub type __itt_event = ::std::os::raw::c_int; [INFO] [stdout] +pub type __itt_event_create_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + name: *const ::std::os::raw::c_char, [INFO] [stdout] + namelen: ::std::os::raw::c_int, [INFO] [stdout] + ) -> __itt_event, [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_event_create_ptr__3_0: __itt_event_create_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_event_start_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option ::std::os::raw::c_int>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_event_start_ptr__3_0: __itt_event_start_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_event_end_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option ::std::os::raw::c_int>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_event_end_ptr__3_0: __itt_event_end_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_av_save_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + data: *mut ::std::os::raw::c_void, [INFO] [stdout] + rank: ::std::os::raw::c_int, [INFO] [stdout] + dimensions: *const ::std::os::raw::c_int, [INFO] [stdout] + type_: ::std::os::raw::c_int, [INFO] [stdout] + filePath: *const ::std::os::raw::c_char, [INFO] [stdout] + columnOrder: ::std::os::raw::c_int, [INFO] [stdout] + ) -> ::std::os::raw::c_int, [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_av_save_ptr__3_0: __itt_av_save_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_enable_attach_ptr__3_0_t = ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_enable_attach_ptr__3_0: __itt_enable_attach_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_module_load_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + start_addr: *mut ::std::os::raw::c_void, [INFO] [stdout] + end_addr: *mut ::std::os::raw::c_void, [INFO] [stdout] + path: *const ::std::os::raw::c_char, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_module_load_ptr__3_0: __itt_module_load_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_module_unload_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_module_unload_ptr__3_0: __itt_module_unload_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub const __itt_module_type___itt_module_type_unknown: __itt_module_type = 0; [INFO] [stdout] +pub const __itt_module_type___itt_module_type_elf: __itt_module_type = 1; [INFO] [stdout] +pub const __itt_module_type___itt_module_type_coff: __itt_module_type = 2; [INFO] [stdout] +#[doc = " @cond exclude_from_documentation"] [INFO] [stdout] +pub type __itt_module_type = ::std::os::raw::c_uint; [INFO] [stdout] +pub const __itt_section_type_itt_section_type_unknown: __itt_section_type = 0; [INFO] [stdout] +pub const __itt_section_type_itt_section_type_bss: __itt_section_type = 1; [INFO] [stdout] +pub const __itt_section_type_itt_section_type_data: __itt_section_type = 2; [INFO] [stdout] +pub const __itt_section_type_itt_section_type_text: __itt_section_type = 3; [INFO] [stdout] +#[doc = " @cond exclude_from_documentation"] [INFO] [stdout] +pub type __itt_section_type = ::std::os::raw::c_uint; [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct ___itt_section_info { [INFO] [stdout] + #[doc = "< Section name in UTF8"] [INFO] [stdout] + pub name: *const ::std::os::raw::c_char, [INFO] [stdout] + #[doc = "< Section content and semantics description"] [INFO] [stdout] + pub type_: __itt_section_type, [INFO] [stdout] + #[doc = "< Section bit flags that describe attributes using bit mask\n Zero if disabled, non-zero if enabled"] [INFO] [stdout] + pub flags: usize, [INFO] [stdout] + #[doc = "< Section load(relocated) start address"] [INFO] [stdout] + pub start_addr: *mut ::std::os::raw::c_void, [INFO] [stdout] + #[doc = "< Section file offset"] [INFO] [stdout] + pub size: usize, [INFO] [stdout] + #[doc = "< Section size"] [INFO] [stdout] + pub file_offset: usize, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout____itt_section_info() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<___itt_section_info> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<___itt_section_info>(), [INFO] [stdout] + 48usize, [INFO] [stdout] + concat!("Size of: ", stringify!(___itt_section_info)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<___itt_section_info>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(___itt_section_info)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_section_info), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_section_info), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(type_) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize }, [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_section_info), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(flags) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).start_addr) as usize - ptr as usize }, [INFO] [stdout] + 24usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_section_info), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(start_addr) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).size) as usize - ptr as usize }, [INFO] [stdout] + 32usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_section_info), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(size) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).file_offset) as usize - ptr as usize }, [INFO] [stdout] + 40usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_section_info), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(file_offset) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_section_info = ___itt_section_info; [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct ___itt_module_object { [INFO] [stdout] + #[doc = "< API version"] [INFO] [stdout] + pub version: ::std::os::raw::c_uint, [INFO] [stdout] + #[doc = "< Unique identifier. This is unchanged for sections that belong to the same module"] [INFO] [stdout] + pub module_id: __itt_id, [INFO] [stdout] + #[doc = "< Binary module format"] [INFO] [stdout] + pub module_type: __itt_module_type, [INFO] [stdout] + #[doc = "< Unique module name or path to module in UTF8\n Contains module name when module_bufer and module_size exist\n Contains module path when module_bufer and module_size absent\n module_name remains the same for the certain module_id"] [INFO] [stdout] + pub module_name: *const ::std::os::raw::c_char, [INFO] [stdout] + #[doc = "< Module buffer content"] [INFO] [stdout] + pub module_buffer: *mut ::std::os::raw::c_void, [INFO] [stdout] + #[doc = "< Module buffer size */\n/*!< If module_buffer and module_size exist, the binary module is dumped onto the system.\n If module_buffer and module_size do not exist,\n the binary module exists on the system already.\n The module_name parameter contains the path to the module."] [INFO] [stdout] + pub module_size: usize, [INFO] [stdout] + #[doc = "< Reference to section information"] [INFO] [stdout] + pub section_array: *mut __itt_section_info, [INFO] [stdout] + pub section_number: usize, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout____itt_module_object() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<___itt_module_object> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<___itt_module_object>(), [INFO] [stdout] + 80usize, [INFO] [stdout] + concat!("Size of: ", stringify!(___itt_module_object)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<___itt_module_object>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(___itt_module_object)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).version) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_module_object), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(version) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).module_id) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_module_object), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(module_id) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).module_type) as usize - ptr as usize }, [INFO] [stdout] + 32usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_module_object), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(module_type) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).module_name) as usize - ptr as usize }, [INFO] [stdout] + 40usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_module_object), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(module_name) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).module_buffer) as usize - ptr as usize }, [INFO] [stdout] + 48usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_module_object), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(module_buffer) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).module_size) as usize - ptr as usize }, [INFO] [stdout] + 56usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_module_object), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(module_size) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).section_array) as usize - ptr as usize }, [INFO] [stdout] + 64usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_module_object), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(section_array) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).section_number) as usize - ptr as usize }, [INFO] [stdout] + 72usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_module_object), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(section_number) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_module_object = ___itt_module_object; [INFO] [stdout] +pub type __itt_module_load_with_sections_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_module_load_with_sections_ptr__3_0: [INFO] [stdout] + __itt_module_load_with_sections_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_module_unload_with_sections_ptr__3_0_t = [INFO] [stdout] + ::std::option::Option; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_module_unload_with_sections_ptr__3_0: [INFO] [stdout] + __itt_module_unload_with_sections_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct ___itt_histogram { [INFO] [stdout] + #[doc = "< Domain of the histogram"] [INFO] [stdout] + pub domain: *const __itt_domain, [INFO] [stdout] + #[doc = "< Name of the histogram"] [INFO] [stdout] + pub nameA: *const ::std::os::raw::c_char, [INFO] [stdout] + pub nameW: *mut ::std::os::raw::c_void, [INFO] [stdout] + #[doc = "< Type of the histogram X axis"] [INFO] [stdout] + pub x_type: __itt_metadata_type, [INFO] [stdout] + #[doc = "< Type of the histogram Y axis"] [INFO] [stdout] + pub y_type: __itt_metadata_type, [INFO] [stdout] + #[doc = "< Reserved to the runtime"] [INFO] [stdout] + pub extra1: ::std::os::raw::c_int, [INFO] [stdout] + #[doc = "< Reserved to the runtime"] [INFO] [stdout] + pub extra2: *mut ::std::os::raw::c_void, [INFO] [stdout] + pub next: *mut ___itt_histogram, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout____itt_histogram() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<___itt_histogram> = ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<___itt_histogram>(), [INFO] [stdout] + 56usize, [INFO] [stdout] + concat!("Size of: ", stringify!(___itt_histogram)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<___itt_histogram>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(___itt_histogram)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).domain) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_histogram), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(domain) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).nameA) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_histogram), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(nameA) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).nameW) as usize - ptr as usize }, [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_histogram), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(nameW) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).x_type) as usize - ptr as usize }, [INFO] [stdout] + 24usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_histogram), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(x_type) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).y_type) as usize - ptr as usize }, [INFO] [stdout] + 28usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_histogram), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(y_type) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).extra1) as usize - ptr as usize }, [INFO] [stdout] + 32usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_histogram), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(extra1) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).extra2) as usize - ptr as usize }, [INFO] [stdout] + 40usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_histogram), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(extra2) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize }, [INFO] [stdout] + 48usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_histogram), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(next) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_histogram = ___itt_histogram; [INFO] [stdout] +pub type __itt_histogram_create_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + name: *const ::std::os::raw::c_char, [INFO] [stdout] + x_type: __itt_metadata_type, [INFO] [stdout] + y_type: __itt_metadata_type, [INFO] [stdout] + ) -> *mut __itt_histogram, [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_histogram_create_ptr__3_0: __itt_histogram_create_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_histogram_submit_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + hist: *mut __itt_histogram, [INFO] [stdout] + length: usize, [INFO] [stdout] + x_data: *mut ::std::os::raw::c_void, [INFO] [stdout] + y_data: *mut ::std::os::raw::c_void, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_histogram_submit_ptr__3_0: __itt_histogram_submit_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_create_v3_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + domain: *const __itt_domain, [INFO] [stdout] + name: *const ::std::os::raw::c_char, [INFO] [stdout] + type_: __itt_metadata_type, [INFO] [stdout] + ) -> __itt_counter, [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_create_v3_ptr__3_0: __itt_counter_create_v3_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_counter_set_value_v3_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn(counter: __itt_counter, value_ptr: *mut ::std::os::raw::c_void), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_counter_set_value_v3_ptr__3_0: __itt_counter_set_value_v3_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] +#[doc = "< Undefined type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_unknown: __itt_context_type = 0; [INFO] [stdout] +#[doc = "< ASCII string char* type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_nameA: __itt_context_type = 1; [INFO] [stdout] +#[doc = "< Unicode string wchar_t* type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_nameW: __itt_context_type = 2; [INFO] [stdout] +#[doc = "< ASCII string char* type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_deviceA: __itt_context_type = 3; [INFO] [stdout] +#[doc = "< Unicode string wchar_t* type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_deviceW: __itt_context_type = 4; [INFO] [stdout] +#[doc = "< ASCII string char* type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_unitsA: __itt_context_type = 5; [INFO] [stdout] +#[doc = "< Unicode string wchar_t* type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_unitsW: __itt_context_type = 6; [INFO] [stdout] +#[doc = "< ASCII string char* type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_pci_addrA: __itt_context_type = 7; [INFO] [stdout] +#[doc = "< Unicode string wchar_t* type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_pci_addrW: __itt_context_type = 8; [INFO] [stdout] +#[doc = "< Unsigned 64-bit integer type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_tid: __itt_context_type = 9; [INFO] [stdout] +#[doc = "< Unsigned 64-bit integer type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_max_val: __itt_context_type = 10; [INFO] [stdout] +#[doc = "< Unsigned 64-bit integer type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_bandwidth_flag: __itt_context_type = 11; [INFO] [stdout] +#[doc = "< Unsigned 64-bit integer type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_latency_flag: __itt_context_type = 12; [INFO] [stdout] +#[doc = "< Unsigned 64-bit integer type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_occupancy_flag: __itt_context_type = 13; [INFO] [stdout] +#[doc = "< Unsigned 64-bit integer type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_on_thread_flag: __itt_context_type = 14; [INFO] [stdout] +#[doc = "< Unsigned 64-bit integer type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_is_abs_val_flag: __itt_context_type = 15; [INFO] [stdout] +#[doc = "< Unsigned 64-bit integer type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_cpu_instructions_flag: __itt_context_type = 16; [INFO] [stdout] +#[doc = "< Unsigned 64-bit integer type"] [INFO] [stdout] +pub const __itt_context_type___itt_context_cpu_cycles_flag: __itt_context_type = 17; [INFO] [stdout] +#[doc = " @brief describes the type of context metadata"] [INFO] [stdout] +pub type __itt_context_type = ::std::os::raw::c_uint; [INFO] [stdout] +#[repr(C)] [INFO] [stdout] +#[derive(Debug, Copy, Clone)] [INFO] [stdout] +pub struct ___itt_context_metadata { [INFO] [stdout] + #[doc = "< Type of the context metadata value"] [INFO] [stdout] + pub type_: __itt_context_type, [INFO] [stdout] + #[doc = "< Pointer to context metadata value itself"] [INFO] [stdout] + pub value: *mut ::std::os::raw::c_void, [INFO] [stdout] +} [INFO] [stdout] +#[test] [INFO] [stdout] +fn bindgen_test_layout____itt_context_metadata() { [INFO] [stdout] + const UNINIT: ::std::mem::MaybeUninit<___itt_context_metadata> = [INFO] [stdout] + ::std::mem::MaybeUninit::uninit(); [INFO] [stdout] + let ptr = UNINIT.as_ptr(); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::size_of::<___itt_context_metadata>(), [INFO] [stdout] + 16usize, [INFO] [stdout] + concat!("Size of: ", stringify!(___itt_context_metadata)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + ::std::mem::align_of::<___itt_context_metadata>(), [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!("Alignment of ", stringify!(___itt_context_metadata)) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize }, [INFO] [stdout] + 0usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_context_metadata), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(type_) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] + assert_eq!( [INFO] [stdout] + unsafe { ::std::ptr::addr_of!((*ptr).value) as usize - ptr as usize }, [INFO] [stdout] + 8usize, [INFO] [stdout] + concat!( [INFO] [stdout] + "Offset of field: ", [INFO] [stdout] + stringify!(___itt_context_metadata), [INFO] [stdout] + "::", [INFO] [stdout] + stringify!(value) [INFO] [stdout] + ) [INFO] [stdout] + ); [INFO] [stdout] +} [INFO] [stdout] +pub type __itt_context_metadata = ___itt_context_metadata; [INFO] [stdout] +pub type __itt_bind_context_metadata_to_counter_ptr__3_0_t = ::std::option::Option< [INFO] [stdout] + unsafe extern "C" fn( [INFO] [stdout] + counter: __itt_counter, [INFO] [stdout] + length: usize, [INFO] [stdout] + metadata: *mut __itt_context_metadata, [INFO] [stdout] + ), [INFO] [stdout] +>; [INFO] [stdout] +extern "C" { [INFO] [stdout] + pub static mut __itt_bind_context_metadata_to_counter_ptr__3_0: [INFO] [stdout] + __itt_bind_context_metadata_to_counter_ptr__3_0_t; [INFO] [stdout] +} [INFO] [stdout] + [INFO] [stdout] [INFO] [stdout] thread 'test_ittnotify_bindings_up_to_date' (42) panicked at tests/bindgen-up-to-date.rs:58:9: [INFO] [stdout] differences found, need to regenerate ittnotify bindings [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x638da39875b2 - std::backtrace_rs::backtrace::libunwind::trace::h0fb8082ca5562a61 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x638da39875b2 - std::backtrace_rs::backtrace::trace_unsynchronized::hfaa258994374a3cd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x638da39875b2 - std::sys::backtrace::_print_fmt::h11496fe34963a885 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x638da39875b2 - ::fmt::hff1a9408d012ee89 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x638da39ac3af - core::fmt::rt::Argument::fmt::hf11195b61445f5d1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x638da39ac3af - core::fmt::write::h2f1fc679f228cc52 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x638da39740a3 - std::io::default_write_fmt::h12bd533187bc883d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x638da39740a3 - std::io::Write::write_fmt::h926a1fdfdcb90065 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x638da3987402 - std::sys::backtrace::BacktraceLock::print::h28bfdbcac6d3828b [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x638da39726ac - std::panicking::default_hook::{{closure}}::h1f968e3a24b0e3b4 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x638da3972529 - std::panicking::default_hook::h43da101644971931 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x638da391a15e - as core::ops::function::Fn>::call::h4b2012949041da5d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x638da391a15e - test::test_main_with_exit_callback::{{closure}}::h53c9154cdc260357 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x638da3972cb3 - as core::ops::function::Fn>::call::h911f2e3e7e84b764 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x638da3972cb3 - std::panicking::panic_with_hook::hb4e916c3e65eccec [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x638da39876cc - std::panicking::begin_panic::{{closure}}::had6744d4383f8db4 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:771:9 [INFO] [stdout] 16: 0x638da3987699 - std::sys::backtrace::__rust_end_short_backtrace::h9e71ce60034cb491 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x638da397207e - std::panicking::begin_panic::h2e210272532eb6ed [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:770:5 [INFO] [stdout] 18: 0x638da332400e - bindgen_up_to_date::test_ittnotify_bindings_up_to_date::h8ae0d9d7a5a66c25 [INFO] [stdout] at /opt/rustwide/workdir/tests/bindgen-up-to-date.rs:58:9 [INFO] [stdout] 19: 0x638da3322d87 - bindgen_up_to_date::test_ittnotify_bindings_up_to_date::{{closure}}::h9fa14ddff4f9dd54 [INFO] [stdout] at /opt/rustwide/workdir/tests/bindgen-up-to-date.rs:28:40 [INFO] [stdout] 20: 0x638da3321aa6 - core::ops::function::FnOnce::call_once::h292086abedabe6a0 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 21: 0x638da391f69b - core::ops::function::FnOnce::call_once::haf4e03bb51ef1351 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 22: 0x638da391f69b - test::__rust_begin_short_backtrace::h50f5566ee84f2f21 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:663:18 [INFO] [stdout] 23: 0x638da3922895 - test::run_test_in_process::{{closure}}::heb3733b71d876eca [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:74 [INFO] [stdout] 24: 0x638da3922895 - as core::ops::function::FnOnce<()>>::call_once::he2fe41e1b161faa9 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 25: 0x638da3922895 - std::panicking::catch_unwind::do_call::h00aa383d8fd97a09 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 26: 0x638da3922895 - std::panicking::catch_unwind::he482e1914bc21641 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 27: 0x638da3922895 - std::panic::catch_unwind::h86ac9705098f4f22 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 28: 0x638da3922895 - test::run_test_in_process::h636a992821e3c6aa [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:27 [INFO] [stdout] 29: 0x638da3922895 - test::run_test::{{closure}}::he454cc9a192df79f [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:607:43 [INFO] [stdout] 30: 0x638da3948244 - test::run_test::{{closure}}::haec47455908dff86 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:637:41 [INFO] [stdout] 31: 0x638da3948244 - std::sys::backtrace::__rust_begin_short_backtrace::h230785972524cdc1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 32: 0x638da392ee5a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa5a562db4cde838 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 33: 0x638da392ee5a - as core::ops::function::FnOnce<()>>::call_once::h89254f37a55d0a87 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 34: 0x638da392ee5a - std::panicking::catch_unwind::do_call::h499f5a462f019d9d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 35: 0x638da392ee5a - std::panicking::catch_unwind::h6736fbbb1a264383 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 36: 0x638da392ee5a - std::panic::catch_unwind::h49ea7bdd1cbee572 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 37: 0x638da392ee5a - std::thread::Builder::spawn_unchecked_::{{closure}}::h653dfa62acf32f5a [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 38: 0x638da392ee5a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h82582a626a045a45 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 39: 0x638da395c06f - as core::ops::function::FnOnce>::call_once::h4ab26c07513156cc [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 40: 0x638da395c06f - std::sys::pal::unix::thread::Thread::new::thread_start::h66ff1bba185a50cf [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 41: 0x7f6cb03abaa4 - [INFO] [stdout] 42: 0x7f6cb0438a34 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_ittnotify_bindings_up_to_date [INFO] [stdout] test_jitprofiling_bindings_up_to_date [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.84s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bafd2a620f1d35b8963a9e34645e3eb96b4232eaf3cadd7b560983c030ee8aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bafd2a620f1d35b8963a9e34645e3eb96b4232eaf3cadd7b560983c030ee8aa6", kill_on_drop: false }` [INFO] [stdout] bafd2a620f1d35b8963a9e34645e3eb96b4232eaf3cadd7b560983c030ee8aa6