# jvm-profiling-tools/perf-map-agent

A java agent to generate method mappings to use with the linux `perf` tool

Repository: https://github.com/jvm-profiling-tools/perf-map-agent
Canonical: https://ross.abutalabs.com/products/perf-map-agent
Language: C
License: GPL-2.0
License Family: copyleft
Last push: 2020-08-28T20:44:09+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5032, "days_push": 2196, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1701, forks 258 (observed 2026-08-28T04:05:24.332336+00:00)

## What it is
A Java agent (written in C with a Java bootstrap) that generates /tmp/perf-<pid>.map symbol files for JIT-compiled methods so the Linux perf tool can profile Java applications. It includes helper shell scripts combining common perf operations with map file creation.

## Use cases
- profile a Java application with Linux perf
- resolve JIT-compiled method names in perf flame graphs
- generate perf map files for a running JVM process
- find CPU hotspots in Java code with perf top
- collect stack traces from a JVM with perf record

## When to choose
- you need low-overhead CPU profiling of Java on Linux with perf
- you want readable method names in perf output for JIT-compiled code
- you build flame graphs for JVM applications

## When to avoid
- you profile on non-Linux platforms
- you need a maintained tool with recent releases
- you want sampling profilers with built-in symbol resolution like async-profiler

## Facets
- artifact type: library
- maturity: maintenance
- function: monitoring, tracing, benchmarking, developer-tools
- domain: developer-tools, performance, monitoring
- platform: jvm, cli, cpp
- tags: java-agent, jit-profiling, perf, flame-graphs, performance-analysis, jvm, linux

## Member repositories
- jvm-profiling-tools/perf-map-agent (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:24.332336+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-30T03:37:43.065680+00:00, confidence not recorded.
  - readme: https://github.com/jvm-profiling-tools/perf-map-agent (fetched 2026-08-28T04:05:24.332336+00:00, sha 4b568cbd204c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
