Skip to content

Instantly share code, notes, and snippets.

View cerisier's full-sized avatar

Corentin Kerisit cerisier

View GitHub Profile
@cerisier
cerisier / aquery.log
Created February 22, 2023 11:02
Bazel AQUERY for mold
corentinkerisit@endurance monorepo % bazel aquery //iosapp/Apps/Capture
INFO: Analyzed target //iosapp/Apps/Capture:Capture (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
action 'Writing file iosapp/Apps/Capture/entitlements/Captureprovisioning_profile_tool-control'
Mnemonic: FileWrite
Target: //iosapp/Apps/Capture:Capture
Configuration: applebin_ios-ios_sim_arm64-dbg-ST-4ad5db7f566e
Execution platform: @local_config_platform//:host
ActionKey: 430905ad71444e01fc02ae0460ac9fa4345904f6c71c5301f84d9f72dd290867
Inputs: []
#!/usr/sbin/dtrace -q -s
/*===----------------------------------------------------------------------===*
*
* This source file is part of the SwiftNIO open source project
*
* Copyright (c) 2017-2018 Apple Inc. and the SwiftNIO project authors
* Licensed under Apache License v2.0
*
* See LICENSE.txt for license information
* See CONTRIBUTORS.txt for the list of SwiftNIO project authors
@cerisier
cerisier / rust-perf.txt
Created January 16, 2025 22:42
Rust example perf trace
trace 6061 150520.991529: 16949152 task-clock:ppp:
aaaac1479980 _RINvNtCslw2YnFSxGUT_10ppv_lite867generic5dmap2NtB2_13u32x4_genericNCNvXsy_B2_BI_NtNtNtCsTACXlTRjQ_4core3ops5arith3Add3add0ECs2zQ9tAH61OF_11rand_chacha+0x144 (/trace/target/debug/deps/trace-0f0e4af093fa4f97)
aaaac1469a1c _RINvNtCse0yjq9ZQveU_3std2rt10lang_startuECs8K9WJNlS7Dz_5trace+0x50 (/trace/target/debug/deps/trace-0f0e4af093fa4f97)
ffff804d8598 __libc_start_main+0x98 (/usr/lib/aarch64-linux-gnu/libc.so.6)
aaaac1467b30 _start+0x30 (/trace/target/debug/deps/trace-0f0e4af093fa4f97)
trace 6061 150521.008480: 16949152 task-clock:ppp:
aaaac147a5b4 _RNvXs1_NtCsTACXlTRjQ_4core7convertNtNtCslw2YnFSxGUT_10ppv_lite867generic13u32x4_genericINtB5_4IntoNtBy_14vec128_storageE4intoCs2zQ9tAH61OF_11rand_chacha+0x4 (/trace/target/debug/deps/trace-0f0e4af093fa4f97)
aaaac14737e7 _RNvXsl_NtCs2zQ9tAH61OF_11rand_chacha6chachaNtB5_12ChaCha12CoreNtNtCseBIf0Yfsj9G_9rand_core5block12BlockRngCore8generateCsiznFMVuT3yX_4rand+0x6