Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodSpeedHQ/codspeed
/ functions
Functions
1,682 in github.com/CodSpeedHQ/codspeed
⨍
Functions
1,682
◇
Types & classes
335
↓ 1 callers
Method
add_child_if_parent_tracked
Add a child PID to the filter if we're tracking its parent Returns true if the child was added
src/executor/wall_time/profiler/perf/parse_perf_file.rs:159
↓ 1 callers
Method
add_tracked_pid
(&mut self, pid: i32)
crates/memtrack/src/ebpf/memtrack/maps.rs:9
↓ 1 callers
Method
addr_bounds
Returns `(min_addr, max_addr_end)` covering all symbols, or `None` if empty.
src/executor/shared/module_artifacts/module_symbols.rs:50
↓ 1 callers
Function
all_pinned_binaries
()
src/binary_pins.rs:194
↓ 1 callers
Function
allocate
Only touches its arguments, so it runs unchanged from either copy.
testdata/memory/remapped_text.c:22
↓ 1 callers
Function
allocate
crates/memtrack/testdata/nested_operator_new.cpp:19
↓ 1 callers
Function
allocation
()
crates/memtrack/testdata/node_alloc.js:6
↓ 1 callers
Function
allocation
()
crates/memtrack/testdata/python_alloc.py:14
↓ 1 callers
Function
anon_huge_pages_kb
AnonHugePages for the whole process, from smaps_rollup (not in /proc/status). */
crates/memtrack/testdata/rss/madvise.c:9
↓ 1 callers
Function
any_value_json
(value: Option<any_value::Value>)
src/instruments/otel/rows.rs:217
↓ 1 callers
Function
append_rss
crates/memtrack/testdata/rss/fork.c:9
↓ 1 callers
Function
artifact_with
(records: &[Vec<u8>])
crates/runner-shared/src/telemetry/tests.rs:109
↓ 1 callers
Method
as_char
Return the icon as a `char`. Panics if the icon's string is not a single character (all current icons are single codepoints, so this is always safe).
src/local_logger/icons.rs:42
↓ 1 callers
Method
as_dir_name
(self)
src/shell_session_store.rs:32
↓ 1 callers
Function
assert_installer_variant_is_listed
(binary: PinnedBinary)
src/binary_pins.rs:185
↓ 1 callers
Function
assert_rmap_hole_addresses
Pins reconstructed rmap addresses to the exact punched range: hole pages are the only ones removed and later re-added; every other page in the region
crates/memtrack/tests/rss_tests.rs:287
↓ 1 callers
Method
attach
Attach this range as the body of `request`. The body is rebuilt on every call, since a streamed body is consumed by the request that sends it.
src/upload/uploader.rs:175
↓ 1 callers
Method
attach_allocator_probes
Attach probes for a specific allocator kind. This attaches both standard probes (if the allocator exports them) and allocator-specific prefixed probes
crates/memtrack/src/ebpf/memtrack/allocator.rs:52
↓ 1 callers
Method
attach_compat_probes
Best-effort attach of the libc/libcpp compatible symbols that non-libc allocators may also export.
crates/memtrack/src/ebpf/memtrack/allocator.rs:107
↓ 1 callers
Method
attach_exec_watcher
Attach the exec-mapping watcher (fentry/security_mmap_file). Only used in on-demand mode; the program is loaded and verified in all modes.
crates/memtrack/src/ebpf/memtrack/tracking.rs:54
↓ 1 callers
Method
attach_jemalloc_probes
Attach jemalloc-specific probes (prefixed and extended API).
crates/memtrack/src/ebpf/memtrack/allocator.rs:210
↓ 1 callers
Method
attach_mimalloc_probes
Attach mimalloc-specific probes (mi_* API).
crates/memtrack/src/ebpf/memtrack/allocator.rs:247
↓ 1 callers
Method
attach_request_dropped_count
Number of exec-mapping requests dropped because the request ring buffer was full.
crates/memtrack/src/ebpf/memtrack/maps.rs:56
↓ 1 callers
Method
attach_tcmalloc_probes
Attach TCMalloc probes ( tc_* API). See: - https://github.com/google/tcmalloc/blob/master/docs/reference.md - https://github.com/gperftools/gperftool
crates/memtrack/src/ebpf/memtrack/allocator.rs:270
↓ 1 callers
Method
attach_tracepoints
(&mut self)
crates/memtrack/src/ebpf/memtrack/tracking.rs:11
↓ 1 callers
Function
bash_in_path_is_compatible
()
src/executor/wall_time/profiler/samply/mod.rs:226
↓ 1 callers
Method
bench_cmd
( &self, execution_context: &ExecutionContext, instruments_env: HashMap<String, String
src/executor/analysis/executor.rs:43
↓ 1 callers
Function
between_markers
The events between the workload's `malloc(0xC0D59EED)` markers, ordered by timestamp and deduplicated by `(addr, kind)`.
crates/memtrack/tests/shared.rs:111
↓ 1 callers
Function
build_and_install
Build and install valgrind-codspeed from source. Returns an error describing the first failing step, leaving the caller free to fall back to instruct
src/executor/valgrind/build_from_source.rs:178
↓ 1 callers
Function
build_api_client
Build the api client for this invocation, resolving the auth token from the most specific source available. This is the single source of truth for tok
src/cli/mod.rs:309
↓ 1 callers
Function
build_benchmark_targets
Convert project config targets into [`BenchmarkTarget`] instances. Exec targets are each converted to a `BenchmarkTarget::Exec`. Entrypoint targets a
src/cli/exec/multi_targets.rs:47
↓ 1 callers
Function
build_complete_body
(etags: &[PartETag])
src/upload/s3.rs:124
↓ 1 callers
Function
build_cpp_target
(project_dir: &Path, target: &str)
crates/memtrack/tests/cpp_tests.rs:27
↓ 1 callers
Function
build_ebpf
()
crates/memtrack/build.rs:5
↓ 1 callers
Function
build_exec_targets_pipe_command
Build a shell command string that pipes BenchmarkTarget::Exec variants to exec-harness via stdin
src/cli/exec/multi_targets.rs:74
↓ 1 callers
Function
build_memory_table
(results: &[&FetchLocalRunBenchmarkResult])
src/upload/benchmark_display.rs:226
↓ 1 callers
Function
build_orchestrator_config
( args: ExecArgs, target: executor::BenchmarkTarget, poll_results_options: PollResultsOptions, )
src/cli/exec/mod.rs:55
↓ 1 callers
Function
build_orchestrator_config
( args: RunArgs, targets: Vec<executor::BenchmarkTarget>, poll_results_options: PollResultsOptions
src/cli/run/mod.rs:103
↓ 1 callers
Function
build_pipe_command_from_json
(json: &str)
src/cli/exec/multi_targets.rs:99
↓ 1 callers
Method
build_run_part_suffix
Build the suffix that differentiates uploads within the same run part. The suffix is a structured key-value map appended to `run_part_id` via [`RunPa
src/run_environment/provider.rs:58
↓ 1 callers
Function
build_simulation_table
(results: &[&FetchLocalRunBenchmarkResult])
src/upload/benchmark_display.rs:135
↓ 1 callers
Function
build_walltime_table
(results: &[&FetchLocalRunBenchmarkResult])
src/upload/benchmark_display.rs:184
↓ 1 callers
Function
bump_memlock_rlimit
Bump RLIMIT_MEMLOCK for kernels older than 5.11. Newer kernels account BPF memory against the cgroup, so a denied raise (no CAP_SYS_RESOURCE) is harml
crates/memtrack/src/ebpf/memtrack/mod.rs:111
↓ 1 callers
Function
bump_stack_counter
crates/memtrack/src/ebpf/c/stack_capture.bpf.h:39
↓ 1 callers
Method
candidate_paths
Paths to try opening the mapped file through, in preference order. [`Self::attach_path`] comes first because it references the mapped inode, so it st
crates/memtrack/src/ebpf/proc_fs.rs:29
↓ 1 callers
Function
capture_stack
crates/memtrack/src/ebpf/c/stack_capture.bpf.h:250
↓ 1 callers
Function
capture_stack_inner
crates/memtrack/src/ebpf/c/stack_capture.bpf.h:165
↓ 1 callers
Function
check_complete_upload_response
Check the response of a successful `CompleteMultipartUpload` request. S3 sends the `200 OK` status as soon as it starts assembling the parts, and repo
src/upload/s3.rs:114
↓ 1 callers
Function
clean_logger
()
src/local_logger/mod.rs:406
↓ 1 callers
Function
clone_sources
Clone the sources into a temporary directory, wiped once the build is done.
src/executor/valgrind/build_from_source.rs:92
↓ 1 callers
Function
close_fds_except
Close every open fd except those listed in `keep` (must be sorted ascending, e.g. via `sort_unstable`), by sweeping `close_range` over the gaps betwee
crates/memtrack/src/ebpf/memtrack/fd_holder.rs:28
↓ 1 callers
Function
collect_ignored_modules
Collect ignored modules by finding known-ignored and python modules in the mounted modules. Returns per-pid entries with runtime address ranges derive
src/executor/shared/module_artifacts/save_artifacts.rs:252
↓ 1 callers
Function
command_has_executable
Check if a command string contains any of the given executable names. Splits the command into tokens on whitespace and shell operators, then checks f
src/executor/helpers/detect_executable.rs:20
↓ 1 callers
Method
compare_runs
(&self, vars: CompareRunsVars)
src/api_client.rs:528
↓ 1 callers
Function
compile_cpp_project
A cached cmake configure pins absolute library paths from a previous environment (e.g. garbage-collected nix store entries). On failure, wipe the buil
crates/memtrack/tests/cpp_tests.rs:14
↓ 1 callers
Function
compile_spawn_binary
(name: &str)
crates/memtrack/tests/spawn_tests.rs:7
↓ 1 callers
Function
complete_upload
`CompleteMultipartUpload` request assembling the uploaded parts into the final object. `etags` are in part order.
src/upload/s3.rs:56
↓ 1 callers
Function
compute_base_avma
(base_svma: u64, load_bias: u64)
src/executor/shared/module_artifacts/elf_helper.rs:188
↓ 1 callers
Function
compute_crc64nvmes
[`compute_crc64nvmes_from_reader`] over the content, on the blocking thread pool
src/upload/profile_archive.rs:103
↓ 1 callers
Function
compute_max_rounds
Compute the maximum number of rounds based on config and average round time
crates/exec-harness/src/walltime/benchmark_loop.rs:234
↓ 1 callers
Function
compute_min_rounds
Compute the minimum number of rounds based on config and average round time
crates/exec-harness/src/walltime/benchmark_loop.rs:219
↓ 1 callers
Function
compute_rounds_from_warmup
Run warmup rounds and compute the number of benchmark rounds to perform
crates/exec-harness/src/walltime/benchmark_loop.rs:158
↓ 1 callers
Method
config_dir
Returns the directory containing the config file.
src/project_config/discover.rs:66
↓ 1 callers
Function
confirm_bash_install
()
src/executor/wall_time/profiler/samply/mod.rs:250
↓ 1 callers
Function
consume_all
`consume()` also stops at a record a producer is still writing, so retry until everything reserved before the call has been consumed. Bounding by a pr
crates/memtrack/src/ebpf/poller.rs:33
↓ 1 callers
Method
consume_login_session
( &self, session_id: &str, )
src/api_client.rs:509
↓ 1 callers
Method
content_type
(self)
src/instruments/otel/receiver.rs:351
↓ 1 callers
Function
copy_user_stack
Copy the user stack at sp in STACK_COPY_CHUNK reads, stopping at the first * unreadable chunk. Returns the bytes copied, a multiple of STACK_COPY_CHU
crates/memtrack/src/ebpf/c/stack_capture.bpf.h:107
↓ 1 callers
Function
crc64nvme
(data: &[u8])
src/upload/profile_archive.rs:228
↓ 1 callers
Function
create_env_file
(extra_env: &HashMap<String, String>)
src/executor/helpers/run_with_env.rs:60
↓ 1 callers
Method
create_login_session
(&self)
src/api_client.rs:498
↓ 1 callers
Function
create_profile_archive
Create a profile archive from the profile folder For Valgrind, we create a gzip-compressed tar archive of the entire profile folder. For WallTime, Me
src/upload/uploader.rs:55
↓ 1 callers
Function
create_sample_v2
()
crates/runner-shared/src/unwind_data.rs:315
↓ 1 callers
Function
create_sample_v3
()
crates/runner-shared/src/unwind_data.rs:329
↓ 1 callers
Function
create_spinner
Create a styled spinner progress bar with CodSpeed branding.
src/local_logger/mod.rs:359
↓ 1 callers
Function
debug_info_by_path
Compute debug info once per unique ELF path from deduplicated symbols. Returns a map of path -> ModuleDebugInfo with `load_bias: 0` (load bias is per-
src/executor/shared/module_artifacts/debug_info.rs:154
↓ 1 callers
Function
default_api_url
()
src/config.rs:115
↓ 1 callers
Function
default_profile_name
()
src/config.rs:111
↓ 1 callers
Function
default_upload_url
()
src/config.rs:119
↓ 1 callers
Function
describe_allocator_event
(kind: &MemtrackEventKind)
crates/memtrack/tests/stack_tests.rs:13
↓ 1 callers
Function
describe_kind
An event's kind and size, without the addresses or stack identities that differ between runs of the same workload.
crates/memtrack/tests/shared.rs:98
↓ 1 callers
Method
detach
Detach all attached probes. Called explicitly at teardown because the process may exit without ever dropping the tracker (the IPC thread holds an Arc
crates/memtrack/src/ebpf/tracker.rs:240
↓ 1 callers
Function
detect_repository
Detect the repository from the git remote of the current directory
src/cli/auth.rs:141
↓ 1 callers
Function
display_comparison_results
( upload_result: &UploadResult, options: &PollResultsOptions, response: CompareRunsResponse, )
src/upload/poll_results.rs:241
↓ 1 callers
Function
display_single_run_results
( upload_result: &UploadResult, options: &PollResultsOptions, response: FetchLocalRunResponse, )
src/upload/poll_results.rs:158
↓ 1 callers
Function
download_and_verify_once
( url: &Url, expected_sha256: &str, path: &Path, )
src/cli/run/helpers/download_file.rs:63
↓ 1 callers
Function
download_backoff
()
src/cli/run/helpers/download_file.rs:11
↓ 1 callers
Function
download_file
(url: &Url, path: &Path)
src/cli/run/helpers/download_file.rs:31
↓ 1 callers
Function
dump_tracer_log
TODO: This implementation is not optimal: full lines might get split in multiple chunks. This is not a problem for the current use case, as the tracer
src/instruments/mongo_tracer.rs:42
↓ 1 callers
Function
dump_valgrind_logs
Dumps every per-process `valgrind.<pid>.log` in the folder to help debug a failure.
src/executor/valgrind/measure.rs:113
↓ 1 callers
Method
enabled
(&self, metadata: &log::Metadata)
src/local_logger/mod.rs:114
↓ 1 callers
Function
enabled_instruments
(instruments: &Instruments)
src/executor/analysis/instruments/mod.rs:36
↓ 1 callers
Function
encode
(header: stack_header, payload: &[u8])
crates/memtrack/src/ebpf/events.rs:355
↓ 1 callers
Function
encode
(events: &[MemtrackEvent], n_workers: usize)
crates/runner-shared/benches/memtrack_writer.rs:202
↓ 1 callers
Function
encode
(record: &impl Serialize)
crates/runner-shared/src/telemetry/tests.rs:105
↓ 1 callers
Method
encode_to_writer
(&self, mut writer: W)
crates/runner-shared/src/artifacts/mod.rs:35
↓ 1 callers
Method
encompasses_file_range
(&self, runtime_file_offset: u64, mapping_size: u64)
src/executor/shared/module_artifacts/elf_helper.rs:26
↓ 1 callers
Method
endpoint
(&self)
src/instruments/otel/receiver.rs:72
↓ 1 callers
Function
ensure_brew_available
Fail unless `brew` is on `PATH`. We intentionally do not install Homebrew ourselves — that's too invasive a side effect for a profiler setup step.
src/executor/helpers/homebrew.rs:10
↓ 1 callers
Function
ensure_linux_profiling_sysctls
()
src/executor/helpers/linux_sysctl.rs:38
← previous
next →
401–500 of 1,682, ranked by callers