MCPcopy Create free account

hub / github.com/CodSpeedHQ/codspeed / functions

Functions1,682 in github.com/CodSpeedHQ/codspeed

↓ 4 callersFunctionmemtrack_path
The binary that carries the eBPF capabilities: a copy of this executable, so the runner itself never runs in glibc's secure-execution mode, which stri
src/executor/memory/setup.rs:47
↓ 4 callersFunctionmultipart_archive
Archive split in `part_size` parts. The checksums are placeholders: the uploader sends the headers the API presigned, not checksums of its own.
src/upload/uploader.rs:640
↓ 4 callersFunctionok_response
(extra_headers: &str, body: &str)
src/upload/uploader.rs:631
↓ 4 callersFunctionpage_size
()
crates/memtrack/tests/rss_tests.rs:21
↓ 4 callersFunctionparse_git_remote
(remote: &str)
src/cli/run/helpers/parse_git_remote.rs:49
↓ 4 callersFunctionparse_raw
(yaml: &str)
src/config.rs:342
↓ 4 callersFunctionpost
( receiver: &OtelReceiver, path: &str, headers: Headers<'_>, body: impl Into<V
src/instruments/otel/receiver.rs:427
↓ 4 callersFunctionrun_command_with_log_pipe_and_callback
Run a command and log its output to stdout and stderr # Arguments - `cmd`: The command to run. - `cb`: A callback function that takes the process and
src/executor/helpers/run_command_with_log_pipe.rs:30
↓ 4 callersMethodset
(name: &'static str, target_value: i64)
src/executor/helpers/linux_sysctl.rs:15
↓ 4 callersFunctionshould_provider_logger_handle_record
(record: &log::Record)
src/run_environment/logger.rs:3
↓ 4 callersFunctionspawn_recording_mock
Serves the next `max_conns` connections, answering each request with the response `respond` builds for it, and returns every request it received.
src/upload/uploader.rs:577
↓ 4 callersFunctionsuspend_progress_bar
Hide the progress bar temporarily, execute `f`, then redraw the progress bar. If the output is not a TTY, `f` will be executed without hiding the pro
src/local_logger/mod.rs:83
↓ 4 callersFunctionv1_spans
The rows of the version 1 fixtures.
crates/runner-shared/src/telemetry/tests.rs:13
↓ 4 callersFunctionvalid_walltime_results_json
(benchmark_count: usize)
src/executor/wall_time/helpers.rs:123
↓ 4 callersFunctionwrite_telemetry_artifacts
Decodes `requests` into the [`SPANS_ARTIFACT`] and [`LOGS_ARTIFACT`] of `profile_folder`, then removes them. An artifact is only written when it has r
src/instruments/otel/artifacts.rs:31
↓ 3 callersFunction_find_repository_root
the core logic is extracted into a separate function so that it can be tested
src/cli/run/helpers/find_repository_root.rs:18
↓ 3 callersMethodas_command_line
Returns the command line as a string for debugging/testing purposes
src/executor/helpers/command.rs:136
↓ 3 callersFunctionattributes
(attributes: Vec<KeyValue>)
src/instruments/otel/rows.rs:153
↓ 3 callersFunctionblack_box
crates/memtrack/testdata/alloc_cpp/src/main.cpp:21
↓ 3 callersMethodbody
Request body holding `length` bytes of the content starting at `offset`. On-disk content is streamed rather than loaded in memory.
src/upload/profile_archive.rs:186
↓ 3 callersFunctioncan_elevate_without_prompt
Whether we can elevate privileges without prompting the user: either we're already root, or `sudo` is installed and runs without asking for a password
src/executor/helpers/run_with_sudo.rs:42
↓ 3 callersMethodcheck_oidc_configuration
Decide how the uploads of this job authenticate. A static `CODSPEED_TOKEN` is used as is when there is one. Otherwise the runner mints an OIDC token
src/run_environment/circleci/provider.rs:225
↓ 3 callersMethodclose
(self)
src/instruments/otel/artifacts.rs:135
↓ 3 callersFunctioncreate_venv
Creates `real/bin/python3` and a `venv/bin/python3` pointing at it.
src/executor/valgrind/helpers/venv_compat.rs:88
↓ 3 callersMethodctl_sender
(&mut self)
src/executor/shared/fifo.rs:54
↓ 3 callersFunctiondetect
Detect the run environment from the process environment, without any configuration.
src/run_environment/mod.rs:27
↓ 3 callersFunctiondownload_pinned_file
Download a `PinnedBinary` and verify its bytes against its pinned SHA-256.
src/cli/run/helpers/download_file.rs:124
↓ 3 callersMethoddrain
Block until a full `consume()` of the ring buffer completes. When every producer is stopped, all pending entries are in the channel afterwards.
crates/memtrack/src/ebpf/poller.rs:154
↓ 3 callersFunctionempty_benchmarks_json
()
src/executor/wall_time/helpers.rs:167
↓ 3 callersFunctionensure_libc_debug_symbols
Install the libc debug symbols so frames of the system libc resolve to their real names. Best effort: they sharpen the output but are not needed to r
src/executor/helpers/libc_debug_info.rs:88
↓ 3 callersFunctionenv
Env vars to set on benchmark processes for `mode`.
crates/exec-harness/src/runtime_env/mod.rs:11
↓ 3 callersMethodexpected_run_parts_count
Compute the total number of executor runs that will be performed. All `Exec` targets are combined into a single invocation, while each `Entrypoint` t
src/executor/config.rs:219
↓ 3 callersMethodextension
(self)
src/instruments/otel/receiver.rs:358
↓ 3 callersMethodfinalize
(&self, success: bool)
src/local_logger/rolling_buffer/mod.rs:366
↓ 3 callersFunctionfind_debug_file
Search for a separate debug info file, in GDB's order (see [Separate Debug Files]): build-id path first, then `.gnu_debuglink` with CRC32 validation.
src/executor/helpers/debug_file.rs:14
↓ 3 callersFunctionfind_debug_file_in
( object: &object::File, binary_path: &Path, debug_dir: &Path, )
src/executor/helpers/debug_file.rs:28
↓ 3 callersMethodfinish
Stop the attach worker, if any, and surface any fatal error it recorded, including missed exec mappings (incomplete allocator coverage).
crates/memtrack/src/ebpf/tracker.rs:230
↓ 3 callersFunctionfirst_fork_pair
The first fork observed: `(parent_pid, child_pid)`.
crates/memtrack/tests/rss_tests.rs:250
↓ 3 callersFunctionformat_memory
(bytes: f64, fraction_digits: Option<usize>)
src/cli/run/helpers/format_memory.rs:25
↓ 3 callersFunctionformat_with_thousands_sep
(n: u64)
src/upload/benchmark_display.rs:19
↓ 3 callersFunctionget_codspeed_valgrind_target
(system_info: &SystemInfo)
src/executor/valgrind/setup.rs:50
↓ 3 callersFunctionget_executor_from_mode
( mode: &RunnerMode, walltime_profiler: Option<WalltimeProfiler>, )
src/executor/mod.rs:51
↓ 3 callersMethodget_hash
(&self)
src/upload/upload_metadata.rs:6
↓ 3 callersFunctionget_or_insert_key
Register a path in the map if absent, assigning a new unique key. Returns the assigned key.
src/executor/shared/module_artifacts/save_artifacts.rs:66
↓ 3 callersFunctionget_pr_number
()
src/run_environment/buildkite/provider.rs:29
↓ 3 callersMethodget_run_environment_metadata
(&self)
src/run_environment/github_actions/provider.rs:176
↓ 3 callersMethodget_run_environment_metadata
(&self)
src/run_environment/gitlab_ci/provider.rs:158
↓ 3 callersMethodget_run_provider_run_part
(&self)
src/run_environment/gitlab_ci/provider.rs:172
↓ 3 callersFunctionget_working_perf_executable
Attempts to find the path to the `perf` executable that is installed and working. Returns None if `perf` is not installed or not functioning correctly
src/executor/wall_time/profiler/perf/perf_executable.rs:13
↓ 3 callersMethodhandle_fifo_messages
Handles all incoming FIFO messages until it's closed, or until the child process exits. The `handle_cmd` callback is invoked first for each command.
src/executor/shared/fifo.rs:170
↓ 3 callersFunctionharvest_perf_maps_for_pids
( profile_folder: &Path, pids: &HashSet<libc::pid_t>, )
src/executor/helpers/harvest_perf_maps_for_pids.rs:6
↓ 3 callersFunctioninherit_parent_mappings
Copy every module the parent pid has mounted onto the child pid. Forked processes inherit their parent's memory mappings, but there will not be any M
src/executor/wall_time/profiler/perf/parse_perf_file.rs:177
↓ 3 callersFunctioninstall_cached
Installs packages with caching support. This function provides a common pattern for installing tools on Ubuntu/Debian systems with automatic caching
src/executor/helpers/apt.rs:52
↓ 3 callersFunctionis_codspeed_debug_enabled
()
src/executor/helpers/env.rs:68
↓ 3 callersMethodis_local
(&self)
src/executor/orchestrator.rs:29
↓ 3 callersMethodis_module_event
Whether the event places modules in processes: an executable mapping, or a fork or exec that inherits or drops them.
crates/runner-shared/src/artifacts/memtrack/mod.rs:181
↓ 3 callersFunctionlog_rows
(request: ExportLogsServiceRequest)
src/instruments/otel/rows.rs:74
↓ 3 callersFunctionmake_module_with_parent
(ppid: pid_t, load_bias: u64)
src/executor/wall_time/profiler/perf/parse_perf_file.rs:300
↓ 3 callersFunctionmalloc_events
(range: std::ops::Range<u64>)
crates/runner-shared/src/artifacts/memtrack/pipeline.rs:181
↓ 3 callersMethodname
Returns a human-readable name for the allocator.
crates/memtrack/src/allocators/mod.rs:52
↓ 3 callersMethodnext
(&mut self)
crates/runner-shared/src/artifacts/memtrack/mod.rs:213
↓ 3 callersMethodopen
(ctl_path: &Path, ack_path: &Path)
src/executor/shared/fifo.rs:120
↓ 3 callersFunctionopen_fifo_sender
(path: &Path)
src/executor/shared/fifo.rs:107
↓ 3 callersFunctionparse_repository_from_remote
Parse a git remote URL and extract the provider, owner, and repository name
src/cli/run/helpers/parse_git_remote.rs:30
↓ 3 callersFunctionpartial_batch
()
crates/memtrack/src/ebpf/poller.rs:234
↓ 3 callersMethodperf_fifo_mut
(&mut self)
src/executor/wall_time/profiler/perf/mod.rs:60
↓ 3 callersFunctionpresigned
Request to the presigned URL, with its signed headers
src/upload/s3.rs:19
↓ 3 callersMethodprofile_mut
(&mut self, profile_name: &str)
src/config.rs:286
↓ 3 callersFunctionread
(artifact: &[u8])
crates/runner-shared/src/telemetry/tests.rs:97
↓ 3 callersFunctionrebind_pid_mm
Rebind pid's address space; mm == 0 unbinds at exit. The owner_by_mm entry is only * dropped while it still names pid: a live CLONE_VM sibling shares
crates/memtrack/src/ebpf/c/utils/mm_ownership.h:25
↓ 3 callersMethodrender_frame
Return the full rendered frame as a vector of strings.
src/local_logger/rolling_buffer/mod.rs:186
↓ 3 callersFunctionresolve_symbol_offsets
Resolve libbpf attach targets for every defined symbol in `lib_path`.
crates/memtrack/src/ebpf/memtrack/mod.rs:60
↓ 3 callersMethodresults_dir
(&self)
src/executor/wall_time/helpers.rs:100
↓ 3 callersFunctionresume
Resume a process previously stopped by [`spawn_stopped`]. A vanished process (`ESRCH`) is treated as success: the stop is moot.
crates/memtrack/src/ebpf/spawn.rs:68
↓ 3 callersFunctionrmap_bytes
Summed rmap bytes for one pid's `member` counter, in one direction. `tid` narrows to a single performing task, which is how a foreign actor's events a
crates/memtrack/tests/rss_tests.rs:257
↓ 3 callersFunctionrss_status_kb_pid
crates/memtrack/testdata/rss/rss_report.h:8
↓ 3 callersFunctionrun_build_command
Run a build command, piping its output to the logs, and fail on a non-zero exit status.
src/executor/valgrind/build_from_source.rs:76
↓ 3 callersFunctionrun_cli
(argv: I)
crates/memtrack/src/cli.rs:37
↓ 3 callersFunctionrun_command_with_log_pipe
(cmd: Command)
src/executor/helpers/run_command_with_log_pipe.rs:103
↓ 3 callersFunctionrun_script
Runs the script with a fake `uv` and `ldd` first in `PATH`. `uv python find` reports `uv_python`, and `ldd` always reports `LIBPYTHON` as missing.
src/executor/valgrind/helpers/venv_compat.rs:64
↓ 3 callersFunctionrun_tracked
Run `command` to completion under `tracker` and drain its events, handing back the still-live tracker so BPF state can be read before teardown. `check
crates/memtrack/tests/shared.rs:361
↓ 3 callersMethodsave_file_to
( &self, folder: P, filename: &str, )
crates/runner-shared/src/artifacts/mod.rs:41
↓ 3 callersFunctionsave_module_artifacts
Save the native modules memtrack mapped, per-process perf maps, and JIT unwind data needed for offline stack attribution. The keyed native and JIT fil
src/executor/memory/module_artifacts.rs:42
↓ 3 callersFunctionself_exe
The executable that internal subcommands are re-invoked through.
src/cli/mod.rs:133
↓ 3 callersMethodsend_command
(&self, cmd: IpcCommand)
crates/memtrack/src/ipc.rs:47
↓ 3 callersFunctionsetup_debuglink_tmpdir
( binary: &Path, debug_file: &Path, )
src/executor/helpers/debug_file.rs:102
↓ 3 callersMethodsignal_release
Tell the child to exit. Idempotent, and does not wait for the exit — see [`Self::release`] and [`FdHolderSet::release_all`] for that.
crates/memtrack/src/ebpf/memtrack/fd_holder.rs:113
↓ 3 callersFunctionspan_rows
The rows of the spans of `request`, without those whose trace or span id is invalid.
src/instruments/otel/rows.rs:21
↓ 3 callersMethodsupport_level
(&self, system_info: &SystemInfo)
src/executor/memory/executor.rs:143
↓ 3 callersMethodsymbols
Returns the symbol names used to detect this allocator in binaries.
crates/memtrack/src/allocators/static_linked.rs:9
↓ 3 callersMethodtake_events
Take ownership of the event receiver. Can only be taken once.
crates/memtrack/src/session.rs:46
↓ 3 callersFunctiontrack_command_with_tracker
(command: Command, tracker: Tracker)
crates/memtrack/tests/shared.rs:348
↓ 3 callersFunctiontrack_fixture
Run a fixture under `track` and return the raw `/proc` RSS report it wrote to its argv[1] alongside the collected events. The report read is best-eff
crates/memtrack/tests/rss_tests.rs:213
↓ 3 callersMethodupdate_peaks
(&mut self)
crates/memtrack/tests/rss_tests.rs:89
↓ 3 callersMethodurl
(&self)
src/binary_pins.rs:33
↓ 3 callersMethodvalidate
Validate the configuration Checks for invalid combinations of options, particularly in walltime config
src/project_config/mod.rs:34
↓ 3 callersMethodwait_for_ack
(&mut self)
src/executor/wall_time/profiler/perf/fifo.rs:41
↓ 3 callersMethodwrap_bench
Wrap the benchmark leaf so it runs pinned according to this mode. The profiler wraps its recorder around the result, so this must only touch the leaf
src/executor/wall_time/isolation.rs:92
↓ 3 callersMethodwrite
(&mut self, rows: impl IntoIterator<Item = R>)
crates/runner-shared/src/telemetry/mod.rs:176
↓ 3 callersFunctionwrite_root_file
Write to a root-owned /proc or /sys node. `run_with_sudo` cannot pipe stdin, so the redirect happens inside a shell instead of `sudo tee`.
src/executor/memory/tunables.rs:255
← previousnext →101–200 of 1,682, ranked by callers