Simon Cruanes
ff8c7e5353
break tef: use mtime.now, not a counter, for multiproc
...
this allows us to correlate timestamps among processes on the same
machine.
2024-08-21 09:15:31 -04:00
Simon Cruanes
5b677e5cdd
add basic bench for trace-tef.multiproc
2024-08-16 15:47:02 -04:00
Simon Cruanes
c75ded014c
feat: add trace-tef.multiproc
...
produce a TEF trace in a single file, even in a context
with multiple sub-processes. The file is produced as the end
by merging multiple .jsonl files (one per subprocess)
2024-08-16 15:45:49 -04:00
Simon Cruanes
f8c1d2d972
refactor tef: move event in a side file
2024-08-16 15:45:24 -04:00
Simon Cruanes
6383fcfff9
feat trace-fuchsia: require thread-local-storage 0.2
2024-08-16 12:32:04 -04:00
Simon Cruanes
1e20dab45c
format
2024-08-16 12:31:56 -04:00
Simon Cruanes
62063f3f94
prepare for 0.7
2024-03-08 11:59:24 -05:00
Simon Cruanes
e76a977330
fixes: check for dummy spans in some operations
2024-03-08 11:45:28 -05:00
Simon Cruanes
b52f15068d
add get_default_level()
2024-03-08 11:45:28 -05:00
Simon Cruanes
37f8a237ff
CI
2024-03-08 11:45:28 -05:00
Simon Cruanes
de8b51a9a2
feat: add levels to Trace_core.
...
these levels are used to control the verbosity levels.
2024-03-08 11:45:28 -05:00
Simon Cruanes
d0e159785e
fix in trace-tef now that meta-map can raise Invalid_arg
2024-03-01 15:18:04 -05:00
Simon Cruanes
3c2f804716
add hmap as a depopt ( #28 )
...
if present, we use `Hmap.t` as the meta map for manual spans
2024-02-24 11:33:48 -05:00
Simon Cruanes
05be245163
fix: truncate large strings in fuchsia
2024-02-20 15:10:20 -05:00
Simon Cruanes
a1df7eb88e
wip: fix fuchsia in case strings are too big
2024-02-13 16:12:08 -05:00
Simon Cruanes
d3e710605e
update @since next tags
2024-01-24 22:44:28 -05:00
Simon Cruanes
d73a754189
doc
2024-01-19 10:02:49 -05:00
Simon Cruanes
23231464d1
Merge pull request #25 from c-cube/wip-doc-ci
...
add doc generation in CI
2024-01-19 10:00:44 -05:00
Simon Cruanes
aa1b43be43
odoc again
2024-01-19 09:44:07 -05:00
Simon Cruanes
7e087ffc54
more CI
2024-01-19 09:31:35 -05:00
Simon Cruanes
ecf51ce32b
CI: use odoc, not odig
2024-01-19 09:09:06 -05:00
Simon Cruanes
c78313f76d
add doc generation in CI
2024-01-19 08:51:44 -05:00
Simon Cruanes
659ce2e403
prepare for 0.6
2024-01-18 10:17:55 -05:00
Simon Cruanes
e708791725
mark trace-fuchsia as unavailable on s390x (bigendian)
2024-01-18 10:17:55 -05:00
Simon Cruanes
fcbabb055b
CI: test all the packages
2024-01-10 12:25:32 -05:00
Simon Cruanes
698daa8629
lower bound on ppxlib
2024-01-10 11:42:37 -05:00
Simon Cruanes
7d7461997a
fix: fuchsia depends on TLS
2024-01-10 11:23:24 -05:00
Simon Cruanes
a9fdc58904
fix build: deptopt on mtime for trace-core.util
2024-01-10 10:46:17 -05:00
Simon Cruanes
43cc061096
fix build
2024-01-10 10:42:26 -05:00
Simon Cruanes
987b57191c
Merge pull request #24 from c-cube/wip-fuchsia
...
fuchsia trace format
2024-01-09 11:41:28 -05:00
Simon Cruanes
6e217e053b
Merge pull request #23 from c-cube/wip-ppx
...
ppx_trace
2024-01-09 10:43:24 -05:00
Simon Cruanes
434972bc26
remove dead code
2024-01-02 12:32:51 -05:00
Simon Cruanes
bc41a53f6c
limit test to package
2023-12-27 21:37:34 -05:00
Simon Cruanes
5571751f3e
missed some uses of Atomic
2023-12-27 21:33:04 -05:00
Simon Cruanes
6aeb1ea007
remove unused dep
2023-12-27 21:20:08 -05:00
Simon Cruanes
622770808d
fix too strict assertion
2023-12-27 17:34:47 -05:00
Simon Cruanes
eaa76ecb4c
details
2023-12-27 17:29:10 -05:00
Simon Cruanes
bc92d97a76
perf fuchsia: use a stack to hold in-flight spans, not a hashtable
2023-12-26 22:10:17 -05:00
Simon Cruanes
2e4971d23d
chore: we don't actually depend on atomic
2023-12-26 21:27:31 -05:00
Simon Cruanes
c2551a7e4b
fix warning
2023-12-26 21:21:23 -05:00
Simon Cruanes
ca22f07ca3
fix fuchsia: proper implem for setting thread name
2023-12-26 21:20:43 -05:00
Simon Cruanes
56d3117d06
do not drop events still in buffers at exit
2023-12-26 01:14:14 -05:00
Simon Cruanes
713cf6b4cf
fuchsia: metadata events
2023-12-26 00:56:49 -05:00
Simon Cruanes
f34671b05c
bench and tests for fuchsia
2023-12-25 22:53:25 -05:00
Simon Cruanes
a1fa6e267b
gitignore
2023-12-25 22:53:18 -05:00
Simon Cruanes
68d3969cde
good progress on fuchsia collector
2023-12-25 22:52:50 -05:00
Simon Cruanes
9567c1b4a7
ppx: add let%trace <span var> = "name" in …
...
this allows the user to access the span within the scope.
2023-12-25 22:38:22 -05:00
Simon Cruanes
1277a64803
update test
2023-12-25 18:58:24 -05:00
Simon Cruanes
f08850cda8
some tests for fuchsia writer
2023-12-25 18:56:57 -05:00
Simon Cruanes
6eced76971
fuchsia: fixes (size is in words, not bytes)
2023-12-25 18:56:46 -05:00