mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-07 18:37:56 -05:00
deploy: fd6eac6ea8
This commit is contained in:
parent
cc02782a0a
commit
675834885e
10 changed files with 54 additions and 2 deletions
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head><meta charset="utf-8"><meta name="generator" content="odig v0.1.0"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" type="text/css" media="screen, print" href="_odoc-theme/odoc.css"><title>_opam</title></head><body class="odoc"><nav class="odoc-nav">🐫</nav><header class="odoc-preamble"><h1>OCaml package documentation</h1><p>Browse <a href="#by-name">by name</a>, <a href="#by-tag">by tag</a>, the <a href="ocaml/index.html#library_stdlib">standard library</a> and the <a href="https://ocaml.org/manual/">OCaml manual</a> (online, latest version).</p><p><small>Generated for <code>/home/runner/work/ocaml-trace/ocaml-trace/_opam/lib</code></small></p></header><div class="odoc-tocs"><nav class="odoc-toc"><ul><li><a href="ocaml/index.html#library_stdlib">OCaml standard library</a></li><li><a href="https://ocaml.org/manual/">OCaml manual</a></li><li><a href="#by-name">Packages by name</a></li><li><a href="#by-tag">Packages by tag</a></li></ul></nav></div><div class="odoc-content"><h2 id="by-name"><a href="#by-name" aria-hidden="true" class="anchor"></a>Packages by name</h2><div class="by-name"><nav><a href="#name-m">m</a><a href="#name-o">o</a><a href="#name-p">p</a><a href="#name-s">s</a><a href="#name-t">t</a></nav><h3 id="name-m"><a href="#name-m" aria-hidden="true" class="anchor"></a>m</h3><ol class="packages"><li id="package-mtime"><a href="#package-mtime" aria-hidden="true" class="anchor"></a><a href="mtime/index.html">mtime</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-o"><a href="#name-o" aria-hidden="true" class="anchor"></a>o</h3><ol class="packages"><li id="package-ocaml"><a href="#package-ocaml" aria-hidden="true" class="anchor"></a><a href="ocaml/index.html">ocaml</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-ocaml-compiler-libs"><a href="#package-ocaml-compiler-libs" aria-hidden="true" class="anchor"></a><a href="ocaml-compiler-libs/index.html">ocaml-compiler-libs</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-p"><a href="#name-p" aria-hidden="true" class="anchor"></a>p</h3><ol class="packages"><li id="package-ppx_trace"><a href="#package-ppx_trace" aria-hidden="true" class="anchor"></a><a href="ppx_trace/index.html">ppx_trace</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-ppxlib"><a href="#package-ppxlib" aria-hidden="true" class="anchor"></a><a href="ppxlib/index.html">ppxlib</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-s"><a href="#name-s" aria-hidden="true" class="anchor"></a>s</h3><ol class="packages"><li id="package-sexplib0"><a href="#package-sexplib0" aria-hidden="true" class="anchor"></a><a href="sexplib0/index.html">sexplib0</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-t"><a href="#name-t" aria-hidden="true" class="anchor"></a>t</h3><ol class="packages"><li id="package-trace"><a href="#package-trace" aria-hidden="true" class="anchor"></a><a href="trace/index.html">trace</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-trace-fuchsia"><a href="#package-trace-fuchsia" aria-hidden="true" class="anchor"></a><a href="trace-fuchsia/index.html">trace-fuchsia</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-trace-tef"><a href="#package-trace-tef" aria-hidden="true" class="anchor"></a><a href="trace-tef/index.html">trace-tef</a> <span class="version"></span> <span class="synopsis"></span></li></ol></div><h2 id="by-tag"><a href="#by-tag" aria-hidden="true" class="anchor"></a>Packages by tag</h2><div class="by-tag"><nav><table></table></nav></div></div></body></html>
|
||||
<html><head><meta charset="utf-8"><meta name="generator" content="odig v0.1.0"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="stylesheet" type="text/css" media="screen, print" href="_odoc-theme/odoc.css"><title>_opam</title></head><body class="odoc"><nav class="odoc-nav">🐫</nav><header class="odoc-preamble"><h1>OCaml package documentation</h1><p>Browse <a href="#by-name">by name</a>, <a href="#by-tag">by tag</a>, the <a href="ocaml/index.html#library_stdlib">standard library</a> and the <a href="https://ocaml.org/manual/">OCaml manual</a> (online, latest version).</p><p><small>Generated for <code>/home/runner/work/ocaml-trace/ocaml-trace/_opam/lib</code></small></p></header><div class="odoc-tocs"><nav class="odoc-toc"><ul><li><a href="ocaml/index.html#library_stdlib">OCaml standard library</a></li><li><a href="https://ocaml.org/manual/">OCaml manual</a></li><li><a href="#by-name">Packages by name</a></li><li><a href="#by-tag">Packages by tag</a></li></ul></nav></div><div class="odoc-content"><h2 id="by-name"><a href="#by-name" aria-hidden="true" class="anchor"></a>Packages by name</h2><div class="by-name"><nav><a href="#name-m">m</a><a href="#name-o">o</a><a href="#name-p">p</a><a href="#name-s">s</a><a href="#name-t">t</a></nav><h3 id="name-m"><a href="#name-m" aria-hidden="true" class="anchor"></a>m</h3><ol class="packages"><li id="package-mtime"><a href="#package-mtime" aria-hidden="true" class="anchor"></a><a href="mtime/index.html">mtime</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-o"><a href="#name-o" aria-hidden="true" class="anchor"></a>o</h3><ol class="packages"><li id="package-ocaml"><a href="#package-ocaml" aria-hidden="true" class="anchor"></a><a href="ocaml/index.html">ocaml</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-ocaml-compiler-libs"><a href="#package-ocaml-compiler-libs" aria-hidden="true" class="anchor"></a><a href="ocaml-compiler-libs/index.html">ocaml-compiler-libs</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-p"><a href="#name-p" aria-hidden="true" class="anchor"></a>p</h3><ol class="packages"><li id="package-ppx_trace"><a href="#package-ppx_trace" aria-hidden="true" class="anchor"></a><a href="ppx_trace/index.html">ppx_trace</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-ppxlib"><a href="#package-ppxlib" aria-hidden="true" class="anchor"></a><a href="ppxlib/index.html">ppxlib</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-s"><a href="#name-s" aria-hidden="true" class="anchor"></a>s</h3><ol class="packages"><li id="package-sexplib0"><a href="#package-sexplib0" aria-hidden="true" class="anchor"></a><a href="sexplib0/index.html">sexplib0</a> <span class="version"></span> <span class="synopsis"></span></li></ol><h3 id="name-t"><a href="#name-t" aria-hidden="true" class="anchor"></a>t</h3><ol class="packages"><li id="package-thread-local-storage"><a href="#package-thread-local-storage" aria-hidden="true" class="anchor"></a><a href="thread-local-storage/index.html">thread-local-storage</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-trace"><a href="#package-trace" aria-hidden="true" class="anchor"></a><a href="trace/index.html">trace</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-trace-fuchsia"><a href="#package-trace-fuchsia" aria-hidden="true" class="anchor"></a><a href="trace-fuchsia/index.html">trace-fuchsia</a> <span class="version"></span> <span class="synopsis"></span></li><li id="package-trace-tef"><a href="#package-trace-tef" aria-hidden="true" class="anchor"></a><a href="trace-tef/index.html">trace-tef</a> <span class="version"></span> <span class="synopsis"></span></li></ol></div><h2 id="by-tag"><a href="#by-tag" aria-hidden="true" class="anchor"></a>Packages by tag</h2><div class="by-tag"><nav><table></table></nav></div></div></body></html>
|
||||
2
thread-local-storage/Thread_local_storage/index.html
Normal file
2
thread-local-storage/Thread_local_storage/index.html
Normal file
File diff suppressed because one or more lines are too long
2
thread-local-storage/Thread_local_storage__/index.html
Normal file
2
thread-local-storage/Thread_local_storage__/index.html
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Thread_local_storage__ (thread-local-storage.Thread_local_storage__)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../../index.html">Index</a> » <a href="../index.html">thread-local-storage</a> » Thread_local_storage__</nav><header class="odoc-preamble"><h1>Module <code><span>Thread_local_storage__</span></code></h1></header><div class="odoc-content"><p>This module is hidden.</p></div></body></html>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Thread_local_storage__Atomic (thread-local-storage.Thread_local_storage__Atomic)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../../index.html">Index</a> » <a href="../index.html">thread-local-storage</a> » Thread_local_storage__Atomic</nav><header class="odoc-preamble"><h1>Module <code><span>Thread_local_storage__Atomic</span></code></h1></header><div class="odoc-content"><p>This module is hidden.</p></div></body></html>
|
||||
11
thread-local-storage/_doc-dir/CHANGES.md
Normal file
11
thread-local-storage/_doc-dir/CHANGES.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
# 0.2
|
||||
|
||||
- Incompatible API change, making things simpler.
|
||||
- It is now safe to read TLS from asynchronous callbacks (e.g. memprof
|
||||
callbacks).
|
||||
|
||||
# 0.1
|
||||
|
||||
initial release
|
||||
|
||||
21
thread-local-storage/_doc-dir/LICENSE
Normal file
21
thread-local-storage/_doc-dir/LICENSE
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2023 Simon Cruanes
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
10
thread-local-storage/_doc-dir/README.md
Normal file
10
thread-local-storage/_doc-dir/README.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Thread-local storage
|
||||
|
||||
The classic threading utility: have variables that have a value for each thread.
|
||||
|
||||
See https://discuss.ocaml.org/t/a-hack-to-implement-efficient-tls-thread-local-storage/13264 for the initial implementation
|
||||
by @polytypic.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
2
thread-local-storage/index.html
Normal file
2
thread-local-storage/index.html
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (thread-local-storage.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../index.html">Index</a> » thread-local-storage</nav><header class="odoc-preamble"><h1 id="package-thread-local-storage"><a href="#package-thread-local-storage" class="anchor"></a>Package thread-local-storage <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><ul class="modules"><li><a href="Thread_local_storage/index.html"><code>Thread_local_storage</code></a> <span class="synopsis">Thread local storage</span></li></ul></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#package_info">Package info</a></li></ul></nav></div><div class="odoc-content"><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-license-files"><td><a href="#info-license-files" aria-hidden="true" class="anchor"></a>license-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/LICENSE">LICENSE</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>
|
||||
2
trace/Trace_thread_local_storage/index.html
Normal file
2
trace/Trace_thread_local_storage/index.html
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Trace_thread_local_storage (trace.Trace_thread_local_storage)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../../index.html">Index</a> » <a href="../index.html">trace</a> » Trace_thread_local_storage</nav><header class="odoc-preamble"><h1>Module <code><span>Trace_thread_local_storage</span></code></h1><p>use <code>thread-local-storage</code> to store ambient spans.</p><p>This doesn't work with cooperative concurrency (Eio, Lwt, etc) but is fine in a threaded context.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-k_span"><a href="#val-k_span" class="anchor"></a><code><span><span class="keyword">val</span> k_span : <span><a href="../Trace_core/index.html#type-span">Trace_core.span</a> <a href="../../thread-local-storage/Thread_local_storage/index.html#type-t">Thread_local_storage.t</a></span></span></code></div><div class="spec-doc"><p>Key to access the current span</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-provider"><a href="#val-provider" class="anchor"></a><code><span><span class="keyword">val</span> provider : <a href="../Trace_core/Ambient_span_provider/index.html#type-t">Trace_core.Ambient_span_provider.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-setup"><a href="#val-setup" class="anchor"></a><code><span><span class="keyword">val</span> setup : <span>unit <span class="arrow">-></span></span> unit</span></code></div><div class="spec-doc"><p>Install the provider</p></div></div></div></body></html>
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (trace.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../index.html">Index</a> » trace</nav><header class="odoc-preamble"><h1 id="package-trace"><a href="#package-trace" class="anchor"></a>Package trace <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><ul class="modules"><li><a href="Trace/index.html"><code>Trace</code></a> <span class="synopsis">Shim that just forwards to <a href="Trace_core/index.html"><code>Trace_core</code></a>.</span></li><li><a href="Trace_core/index.html"><code>Trace_core</code></a> <span class="synopsis">Main tracing interface.</span></li><li><a href="Trace_debug/index.html"><code>Trace_debug</code></a> </li><li><a href="Trace_simple/index.html"><code>Trace_simple</code></a> </li><li><a href="Trace_util/index.html"><code>Trace_util</code></a> </li></ul></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#package_info">Package info</a></li></ul></nav></div><div class="odoc-content"><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (trace.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../index.html">Index</a> » trace</nav><header class="odoc-preamble"><h1 id="package-trace"><a href="#package-trace" class="anchor"></a>Package trace <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><ul class="modules"><li><a href="Trace/index.html"><code>Trace</code></a> <span class="synopsis">Shim that just forwards to <a href="Trace_core/index.html"><code>Trace_core</code></a>.</span></li><li><a href="Trace_core/index.html"><code>Trace_core</code></a> <span class="synopsis">Main tracing interface.</span></li><li><a href="Trace_debug/index.html"><code>Trace_debug</code></a> </li><li><a href="Trace_simple/index.html"><code>Trace_simple</code></a> </li><li><a href="Trace_thread_local_storage/index.html"><code>Trace_thread_local_storage</code></a> <span class="synopsis">use <code>thread-local-storage</code> to store ambient spans.</span></li><li><a href="Trace_util/index.html"><code>Trace_util</code></a> </li></ul></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#package_info">Package info</a></li></ul></nav></div><div class="odoc-content"><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue