Commit c27477a4 authored by Eduardo Lima Mitev's avatar Eduardo Lima Mitev

WIP: Add new report tool for Freedreno

Written in a single C file with no dependencies (outside libc).

The existing fd-report.py doesn't handle out-of-order results.
That forces single thread runs which add a significant delay to
the workflow.

It also doesn't handle new reported stats (ss, sy and max_sun).

Why not update existing python tool?
a) Python not my lingua-franca.
b) Avoid reinforcing an (arguably) unneeded dependency (python).
c) The tool will (arguably) run faster.
parent 2809d09a
......@@ -26,12 +26,14 @@ LDLIBS = -lepoxy -lgbm
INTEL_STUB_CFLAGS = -g -fPIC -shared -Wall `pkg-config libdrm_intel --cflags`
INTEL_STUB_LIBS = -ldl
all: intel_stub.so run
all: intel_stub.so run fd-report
intel_stub.so: intel_stub.c
$(CC) $(INTEL_STUB_CFLAGS) $< -o $@ $(INTEL_STUB_LIBS)
run:
fd-report:
clean:
rm -f intel_stub.so run
rm -f intel_stub.so run fd-report
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment