mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-08 03:47:57 -04:00
fix warning
This commit is contained in:
parent
ca22f07ca3
commit
c2551a7e4b
2 changed files with 1 additions and 2 deletions
|
|
@ -4,7 +4,6 @@
|
||||||
(name trace_fuchsia)
|
(name trace_fuchsia)
|
||||||
(public_name trace-fuchsia)
|
(public_name trace-fuchsia)
|
||||||
(synopsis "A high-performance backend for trace, emitting a Fuchsia trace into a file")
|
(synopsis "A high-performance backend for trace, emitting a Fuchsia trace into a file")
|
||||||
(flags :standard -w -27) ; TODO: remove
|
|
||||||
(libraries trace.core trace.private.util thread-local-storage
|
(libraries trace.core trace.private.util thread-local-storage
|
||||||
(re_export trace-fuchsia.write)
|
(re_export trace-fuchsia.write)
|
||||||
mtime mtime.clock.os atomic unix threads))
|
mtime mtime.clock.os atomic unix threads))
|
||||||
|
|
|
||||||
|
|
@ -235,7 +235,7 @@ struct
|
||||||
()
|
()
|
||||||
|
|
||||||
let name_process name : unit =
|
let name_process name : unit =
|
||||||
let out, tls = get_thread_output () in
|
let out, _tls = get_thread_output () in
|
||||||
FWrite.Kernel_object.(encode out ~name ~ty:ty_process ~kid:pid ~args:[] ())
|
FWrite.Kernel_object.(encode out ~name ~ty:ty_process ~kid:pid ~args:[] ())
|
||||||
|
|
||||||
let name_thread name : unit =
|
let name_thread name : unit =
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue