# namhyung/uftrace

Function graph tracer for C/C++/Rust/Python

Repository: https://github.com/namhyung/uftrace
Canonical: https://ross.abutalabs.com/products/uftrace
Homepage: https://uftrace.github.io/slide/
Language: C
License: GPL-2.0
License Family: copyleft
Topics: function, tracer, tracing, trace
Last push: 2026-08-26T04:11:16+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 40, longevity 100
- inputs: {"age_days": 4586, "days_push": 7, "days_rel": 184, "gap_med": 219.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3460, forks 547 (observed 2026-08-28T04:08:05.596440+00:00)

## What it is
uftrace is a function call graph tracer for C, C++, Rust, and Python programs that records function entry/exit with timestamps, arguments, and return values. It supports dynamic patching without recompilation, kernel tracing via ftrace, and visualization through Chrome trace viewer, flame graphs, and call-graph diagrams.

## Use cases
- trace function call graph of a C/C++ program
- profile program execution to find slow functions
- trace function arguments and return values
- trace program without recompiling it
- visualize execution flow as flame graph or call graph
- trace both user and kernel functions in one timeline
- write custom analysis scripts for function entry/exit

## When to choose
- you need function-level execution tracing on Linux for C/C++/Rust/Python
- you want to see arguments and return values of traced functions
- you need combined user-space and kernel function tracing
- you want to analyze performance with duration filters and reports

## When to avoid
- you need tracing on non-Linux platforms like Windows or macOS
- you need heap or memory profiling rather than function tracing
- you need a sampling-based statistical profiler with very low overhead

## Facets
- artifact type: cli-tool
- maturity: active
- function: tracing, benchmarking, monitoring, developer-tools
- domain: developer-tools, performance
- platform: cli, cpp, rust, python
- tags: function-graph-tracer, ftrace, dynamic-instrumentation, flame-graph, call-graph, profiling, command-line, debugging, linux

## Member repositories
- namhyung/uftrace (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:05.596440+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:36:56.203004+00:00, confidence not recorded.
  - readme: https://github.com/namhyung/uftrace (fetched 2026-08-28T04:08:05.596440+00:00, sha 04958c5cc34c)
  - homepage: https://uftrace.github.io/slide/ (fetched 2026-08-29T09:30:58.054905+00:00, sha 6edb65a63508)
- Data as of 2026-08-30T08:39:29.467469+00:00.
