Skip to content

Commit

Permalink
remove ppx for now
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Jun 10, 2023
1 parent 21bdfcc commit d95bbf1
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 88 deletions.
15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,3 @@ and display something like this: ![tracy screenshot](screen1.png)
In that case, `Tracy_client_trace.setup()` needs to be called at the beginning
of the program.

## Instrumentation

Using dune and `tracy-ppx`, it should be possible to pick instrumentation at build time.
In your library, add `(instrumentation (backend tracy-client))`.

Then build with:

```
$ dune build --instrument-with tracy-client path/to/your_binary.exe
```

and it will automatically enable tracy-client.

**TODO**: there is currently no way to conditionally add spans
in the instrumentation.
12 changes: 0 additions & 12 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,3 @@
(ocaml (>= 4.08))
trace)
(synopsis "Client bindings to the Tracy profiler (v0.9.1)"))

(package
(name tracy-ppx)
(license BSD-3-Clause)
(maintainers "Simon Cruanes")
(authors "Simon Cruanes")
(depends
(ocaml (>= 4.08))
(tracy-client (= :version))
ppxlib
)
(synopsis "Instrumentation backend for `tracy-client`"))
8 changes: 0 additions & 8 deletions src/ppx/dune

This file was deleted.

22 changes: 0 additions & 22 deletions src/ppx/tracy_ppx.ml

This file was deleted.

31 changes: 0 additions & 31 deletions tracy-ppx.opam

This file was deleted.

0 comments on commit d95bbf1

Please sign in to comment.