Automic VaultAutomic Vault

brew

uftrace を Homebrew, apt, Nix, zypper でインストール

uftrace のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install uftrace

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install uftrace

Debian stable package indexes · uftrace · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#uftrace

nixpkgs package indexes · pkgs/by-name/uf/uftrace/package.nix · ソース: api.github.com

openSUSE zypper確認済み · 92%
sudo zypper install uftrace

openSUSE Tumbleweed package metadata · uftrace · ソース: download.opensuse.org

概要

パッケージ概要

Function graph tracer for C/C++/Rust

コマンドとエイリアス

  • uftrace

履歴

プロジェクトの歴史と使われ方

uftrace is a userspace function graph tracer for C, C++, Rust, and Python programs. It records function entry and exit timing, can combine user, library, kernel, event, and scheduling information, and presents the execution flow through replay, reports, graphs, scripts, a TUI, and export formats.

プロジェクトの歴史

The official repository was created in 2014. The README says uftrace was heavily inspired by the Linux kernel ftrace framework, and that the name combines user and ftrace.

The project began with compiler-supported function tracing but later added dynamic tracing. The README describes that shift explicitly: it initially supported tracing with compiler support, then gained the ability to trace without recompilation by analyzing function prologues and dynamically patching instructions.

Recent releases show the tool continuing to broaden language, architecture, and analysis support. The NEWS file records Python tracing in v0.14, RISC-V support in v0.15, separate debug-file support in v0.16, watchpoints in v0.17, filter-condition work in v0.18, and latency percentile scripting plus Chrome dump timestamp improvements in v0.19.

採用の歴史

uftrace's adoption niche is developers and performance investigators who want call-graph-level tracing from a command-line tool, especially on Linux. Its package-manager footprint in this batch includes Homebrew, Debian, Nix, Ubuntu, and openSUSE, showing cross-distribution demand beyond its upstream GitHub audience.

The project also maintains package-awareness in its README by displaying Repology packaging status, a small signal that upstream expects distribution packages to be a major discovery and installation path.

使われ方

Users can run uftrace live against a program, or record first and replay/report/graph/dump/analyze the saved `uftrace.data` directory. The command set includes `record`, `replay`, `report`, `live`, `info`, `dump`, `recv`, `graph`, `script`, and `tui`.

The tracing modes cover compiler instrumentation such as `-pg`, `-finstrument-functions`, and `-fpatchable-function-entry`, dynamic patching with `-P.`, PLT/library call tracing, Python tracing, kernel tracing through Linux ftrace, Linux event tracing, perf_event scheduling and PMU information, and SystemTap SDT user events.

uftrace also supports filters, function arguments and return values, Chrome trace viewer output, flame graphs, graphviz and mermaid call graphs, source-line information, and scripts through Python/LuaJIT APIs.

パッケージ好きにとっての重要性

For package nerds, uftrace sits in the sweet spot between `strace`, profilers, kernel ftrace, and language-specific tracers. It is a single CLI that exposes a deep stack of optional capabilities, so distribution builds and optional dependencies materially affect what the installed package can do.

It is also notable because it brings kernel-tracing ideas to userspace debugging workflows while remaining scriptable and inspectable from the shell. That makes it attractive in package-manager ecosystems where developers want performance tools available with one install command.

タイムライン

  • 2014-02-11: Official GitHub repository created.
  • 2023-01-09: uftrace v0.13 release published.
  • 2023-06-20: uftrace v0.14 added Python tracing and runtime option changes with an agent.
  • 2024-01-08: uftrace v0.15 added basic RISC-V support.
  • 2024-12-17: uftrace v0.17 added watchpoint support for global variables.
  • 2026-03-02: uftrace v0.19 release published.

Related projects

  • uftrace is explicitly inspired by the Linux kernel ftrace framework.
  • Its output and workflows relate to Chrome trace viewer, flame graph tooling, graphviz, mermaid, Linux perf_event, SystemTap SDT, Python tracing, and LuaJIT scripting.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 2 個のプラットフォームターゲットで利用できます。
  • 6 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
uftracecliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版0.19
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v0.19

https://github.com/namhyung/uftrace

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:uftrace
バージョン0.19
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/uftrace
ホームページhttps://uftrace.github.io/slide/
リポジトリhttps://github.com/namhyung/uftrace
上流ドキュメントhttps://github.com/namhyung/uftrace#readme
ライセンスGPL-2.0-only
ソースアーカイブhttps://github.com/namhyung/uftrace/archive/refs/tags/v0.19.tar.gz
依存関係capstone, elfutils, libunwind, luajit, ncurses, python@3.14
ビルド依存関係pandoc, pkgconf
Bottle利用可能 (対象 arm64_linux, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameuftrace
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

uftrace 0.17-1

Traces and analyzes execution of programs written in C/C++

https://github.com/namhyung/uftrace

sudo apt install uftrace
  • Section: utils
  • Architecture: amd64
  • 9 依存関係
  • normalized package name match
  • 一致条件: Uftrace
Debian stable package indexes · deb.debian.org · Debian stable package indexes: uftrace from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

uftrace

nix profile install nixpkgs#uftrace
  • normalized package name match
  • 一致条件: Uftrace
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/uf/uftrace/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

uftrace 0.15.2-1build2

Traces and analyzes execution of programs written in C/C++

https://github.com/namhyung/uftrace

sudo apt install uftrace
  • Section: universe/utils
  • Architecture: amd64
  • 9 依存関係
  • normalized package name match
  • 一致条件: Uftrace
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: uftrace from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
zypper95%

uftrace 0.19-1.2

A function call graph tracer for C, C++, Rust and Python programs

https://github.com/namhyung/uftrace

sudo zypper install uftrace
  • License: GPL-2.0-only
  • Category: Development/Tools/Debuggers
  • Architecture: x86_64
  • Source Package: uftrace
  • 11 依存関係
  • 6 提供
  • normalized package name match
  • 一致条件: Uftrace
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: uftrace from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment