libdatadog 23.0.0.1.0 → 24.0.0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/lib/libdatadog/version.rb +1 -1
  3. data/vendor/{libdatadog-23.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-24.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu}/LICENSE-3rdparty.yml +11 -4
  4. data/vendor/{libdatadog-23.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-24.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu}/include/datadog/common.h +49 -7
  5. data/vendor/{libdatadog-23.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl → libdatadog-24.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu}/include/datadog/crashtracker.h +78 -16
  6. data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so +0 -0
  7. data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
  8. data/vendor/{libdatadog-23.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu → libdatadog-24.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/LICENSE-3rdparty.yml +11 -4
  9. data/vendor/{libdatadog-23.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl → libdatadog-24.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/include/datadog/common.h +49 -7
  10. data/vendor/{libdatadog-23.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu → libdatadog-24.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/include/datadog/crashtracker.h +78 -16
  11. data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/libdatadog_profiling.so +0 -0
  12. data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
  13. data/vendor/{libdatadog-23.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl → libdatadog-24.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu}/LICENSE-3rdparty.yml +11 -4
  14. data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/common.h +49 -7
  15. data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/crashtracker.h +78 -16
  16. data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so +0 -0
  17. data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
  18. data/vendor/{libdatadog-23.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu → libdatadog-24.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl}/LICENSE-3rdparty.yml +11 -4
  19. data/vendor/{libdatadog-23.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu → libdatadog-24.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl}/include/datadog/common.h +49 -7
  20. data/vendor/{libdatadog-23.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-24.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl}/include/datadog/crashtracker.h +78 -16
  21. data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/libdatadog_profiling.so +0 -0
  22. data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc +1 -1
  23. metadata +61 -61
  24. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/LICENSE +0 -0
  25. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/NOTICE +0 -0
  26. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/bin/libdatadog-crashtracking-receiver +0 -0
  27. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/blazesym.h +0 -0
  28. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/data-pipeline.h +0 -0
  29. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/ddsketch.h +0 -0
  30. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/library-config.h +0 -0
  31. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/log.h +0 -0
  32. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/profiling.h +0 -0
  33. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/telemetry.h +0 -0
  34. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/LICENSE +0 -0
  35. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/NOTICE +0 -0
  36. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
  37. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/blazesym.h +0 -0
  38. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/data-pipeline.h +0 -0
  39. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/ddsketch.h +0 -0
  40. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/library-config.h +0 -0
  41. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/log.h +0 -0
  42. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/profiling.h +0 -0
  43. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/telemetry.h +0 -0
  44. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE +0 -0
  45. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/NOTICE +0 -0
  46. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/bin/libdatadog-crashtracking-receiver +0 -0
  47. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/blazesym.h +0 -0
  48. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/data-pipeline.h +0 -0
  49. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/ddsketch.h +0 -0
  50. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/library-config.h +0 -0
  51. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/log.h +0 -0
  52. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/profiling.h +0 -0
  53. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/telemetry.h +0 -0
  54. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE +0 -0
  55. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/NOTICE +0 -0
  56. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
  57. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/blazesym.h +0 -0
  58. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/data-pipeline.h +0 -0
  59. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/ddsketch.h +0 -0
  60. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/library-config.h +0 -0
  61. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/log.h +0 -0
  62. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/profiling.h +0 -0
  63. /data/vendor/{libdatadog-23.0.0 → libdatadog-24.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/telemetry.h +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b4ecc43d50aa14a46dacf34d536fad11a1c2032b232d07b303b58d93281ca23
4
- data.tar.gz: de1f86d05b9eca3274253d9f03e7f42c8e2567f955a6b0e849463737db86b5ec
3
+ metadata.gz: 8a7f126298f9d06e0e0bf9108632cf98972af13aa163769d0bf8783706ec7a33
4
+ data.tar.gz: eb338d1859fe05794d91582000a5a903c58a05f546a7fdec61d7d92ae911e94a
5
5
  SHA512:
6
- metadata.gz: 3010a301f6f2d4e6395e32e901618e074c328616024440b3f854d0300fe9f1b2aee08f3cb771a82acdccda960293b76a41c3a69fd0d592198dd8920ea3493d95
7
- data.tar.gz: 0fc539f958b0b9a6357a19cc18a52bd5fee5e4b9cf452e53bd89f0169697d776a16be662cf049cedd211ddbea4c83342763bbc1cfb2e5e0c32e0fbda480a92f4
6
+ metadata.gz: d08d74c70ce5644e78f47ba1b1151633aa8fb2957d364831fda2deb1cd512c1ff112972dc8c3dcd46a1cd88244082eaa0aa487f9d8df853ee948273b2d0bc252
7
+ data.tar.gz: 8a8bd8f07e40b61b3f1e292e3be6925a1617beb4588ba610084f1228edfffd2ca8fa34e22085d27afa1f155a80cb39232515900e7403c4dd4a7a7adc1eb5fb19
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Libdatadog
4
4
  # Current libdatadog version
5
- LIB_VERSION = "23.0.0"
5
+ LIB_VERSION = "24.0.0"
6
6
 
7
7
  GEM_MAJOR_VERSION = "1"
8
8
  GEM_MINOR_VERSION = "0"
@@ -1,4 +1,4 @@
1
- root_name: builder, build_common, tools, datadog-alloc, datadog-crashtracker, ddcommon, ddtelemetry, datadog-ddsketch, datadog-crashtracker-ffi, ddcommon-ffi, datadog-ffe, datadog-ipc, datadog-ipc-macros, tarpc, tarpc-plugins, tinybytes, spawn_worker, datadog-library-config, datadog-library-config-ffi, datadog-live-debugger, datadog-live-debugger-ffi, datadog-profiling, datadog-profiling-protobuf, datadog-profiling-ffi, data-pipeline-ffi, data-pipeline, datadog-trace-protobuf, datadog-trace-stats, datadog-trace-utils, datadog-trace-normalization, dogstatsd-client, datadog-log, datadog-log-ffi, ddsketch-ffi, ddtelemetry-ffi, symbolizer-ffi, datadog-profiling-replayer, datadog-remote-config, datadog-sidecar, datadog-sidecar-macros, datadog-sidecar-ffi, datadog-trace-obfuscation, datadog-tracer-flare, sidecar_mockgen, test_spawn_from_lib
1
+ root_name: builder, build_common, tools, libdd-alloc, libdd-crashtracker, libdd-common, libdd-telemetry, libdd-ddsketch, libdd-crashtracker-ffi, libdd-common-ffi, datadog-ffe, datadog-ffe-ffi, datadog-ipc, datadog-ipc-macros, libdd-tinybytes, tarpc, tarpc-plugins, spawn_worker, cc_utils, libdd-library-config, libdd-library-config-ffi, datadog-live-debugger, datadog-live-debugger-ffi, libdd-profiling, libdd-profiling-protobuf, libdd-profiling-ffi, libdd-data-pipeline-ffi, libdd-data-pipeline, libdd-dogstatsd-client, libdd-trace-protobuf, libdd-trace-stats, libdd-trace-utils, libdd-trace-normalization, libdd-log, libdd-ddsketch-ffi, libdd-log-ffi, libdd-telemetry-ffi, symbolizer-ffi, datadog-profiling-replayer, datadog-remote-config, datadog-sidecar, datadog-sidecar-macros, datadog-sidecar-ffi, datadog-trace-obfuscation, datadog-tracer-flare, sidecar_mockgen, test_spawn_from_lib
2
2
  third_party_libraries:
3
3
  - package_name: addr2line
4
4
  package_version: 0.24.2
@@ -14080,7 +14080,7 @@ third_party_libraries:
14080
14080
  IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
14081
14081
  DEALINGS IN THE SOFTWARE.
14082
14082
  - package_name: indexmap
14083
- package_version: 2.6.0
14083
+ package_version: 2.11.4
14084
14084
  repository: https://github.com/indexmap-rs/indexmap
14085
14085
  license: Apache-2.0 OR MIT
14086
14086
  licenses:
@@ -15881,6 +15881,13 @@ third_party_libraries:
15881
15881
  DEALINGS IN THE SOFTWARE.
15882
15882
  - license: Apache-2.0
15883
15883
  text: " Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n"
15884
+ - package_name: lz4_flex
15885
+ package_version: 0.9.5
15886
+ repository: https://github.com/pseitz/lz4_flex
15887
+ license: MIT
15888
+ licenses:
15889
+ - license: MIT
15890
+ text: NOT FOUND
15884
15891
  - package_name: manual_future
15885
15892
  package_version: 0.1.1
15886
15893
  repository: https://github.com/dmarcuse/manual_future.git
@@ -27686,9 +27693,9 @@ third_party_libraries:
27686
27693
  - package_name: stringmetrics
27687
27694
  package_version: 2.2.2
27688
27695
  repository: https://github.com/pluots/stringmetrics
27689
- license: License specified in file ($CARGO_HOME/registry/src/github.com-25cdd57fae9f0462/stringmetrics-2.2.2/LICENSE)
27696
+ license: License specified in file ($CARGO_HOME/registry/src/index.crates.io-6f17d22bba15001f/stringmetrics-2.2.2/LICENSE)
27690
27697
  licenses:
27691
- - license: License specified in file ($CARGO_HOME/registry/src/github.com-25cdd57fae9f0462/stringmetrics-2.2.2/LICENSE)
27698
+ - license: License specified in file ($CARGO_HOME/registry/src/index.crates.io-6f17d22bba15001f/stringmetrics-2.2.2/LICENSE)
27692
27699
  text: |
27693
27700
  Copyright 2022 Trevor Gross
27694
27701
 
@@ -263,12 +263,6 @@ typedef struct ddog_prof_Exporter ddog_prof_Exporter;
263
263
 
264
264
  typedef struct ddog_prof_Exporter_Request ddog_prof_Exporter_Request;
265
265
 
266
- /**
267
- * A tag is a combination of a wire_type, stored in the least significant
268
- * three bits, and the field number that is defined in the .proto file.
269
- */
270
- typedef struct ddog_Tag ddog_Tag;
271
-
272
266
  typedef struct ddog_Slice_U8 {
273
267
  /**
274
268
  * Should be non-null and suitably aligned for the underlying type. It is
@@ -1571,6 +1565,14 @@ typedef enum ddog_crasht_BuildIdType {
1571
1565
  DDOG_CRASHT_BUILD_ID_TYPE_SHA1,
1572
1566
  } ddog_crasht_BuildIdType;
1573
1567
 
1568
+ /**
1569
+ * Result type for runtime callback registration
1570
+ */
1571
+ typedef enum ddog_crasht_CallbackResult {
1572
+ DDOG_CRASHT_CALLBACK_RESULT_OK,
1573
+ DDOG_CRASHT_CALLBACK_RESULT_ERROR,
1574
+ } ddog_crasht_CallbackResult;
1575
+
1574
1576
  typedef enum ddog_crasht_DemangleOptions {
1575
1577
  DDOG_CRASHT_DEMANGLE_OPTIONS_COMPLETE,
1576
1578
  DDOG_CRASHT_DEMANGLE_OPTIONS_NAME_ONLY,
@@ -1764,7 +1766,7 @@ typedef struct ddog_crasht_Config {
1764
1766
  /**
1765
1767
  * Timeout in milliseconds before the signal handler starts tearing things down to return.
1766
1768
  * If 0, uses the default timeout as specified in
1767
- * `datadog_crashtracker::shared::constants::DD_CRASHTRACK_DEFAULT_TIMEOUT`. Otherwise, uses
1769
+ * `libdd_crashtracker::shared::constants::DD_CRASHTRACK_DEFAULT_TIMEOUT`. Otherwise, uses
1768
1770
  * the specified timeout value.
1769
1771
  * This is given as a uint32_t, but the actual timeout needs to fit inside of an i32 (max
1770
1772
  * 2^31-1). This is a limitation of the various interfaces used to guarantee the timeout.
@@ -1982,6 +1984,46 @@ typedef struct ddog_crasht_StackTrace_NewResult {
1982
1984
  };
1983
1985
  } ddog_crasht_StackTrace_NewResult;
1984
1986
 
1987
+ typedef struct ddog_crasht_RuntimeStackFrame {
1988
+ /**
1989
+ * Line number in source file (0 if unknown)
1990
+ */
1991
+ uint32_t line;
1992
+ /**
1993
+ * Column number in source file (0 if unknown)
1994
+ */
1995
+ uint32_t column;
1996
+ /**
1997
+ * Function name (fully qualified if possible)
1998
+ */
1999
+ ddog_CharSlice function;
2000
+ /**
2001
+ * Source file name
2002
+ */
2003
+ ddog_CharSlice file;
2004
+ /**
2005
+ * Type name (class/module/namespace/etc.)
2006
+ */
2007
+ ddog_CharSlice type_name;
2008
+ } ddog_crasht_RuntimeStackFrame;
2009
+
2010
+ typedef void (*ddog_crasht_RuntimeStackFrameCallback)(void (*emit_frame)(const struct ddog_crasht_RuntimeStackFrame*));
2011
+
2012
+ /**
2013
+ * Function signature for runtime stacktrace string collection callbacks
2014
+ *
2015
+ * This callback is invoked during crash handling in a signal context, so it must be signal-safe:
2016
+ *
2017
+ * # Parameters
2018
+ * - `emit_stacktrace_string`: Function to call for complete stacktrace string (takes C string)
2019
+ *
2020
+ * # Safety
2021
+ * The callback function is marked unsafe because:
2022
+ * - It receives function pointers that take raw pointers as parameters
2023
+ * - All C strings passed must be null-terminated and remain valid for the call duration
2024
+ */
2025
+ typedef void (*ddog_crasht_RuntimeStacktraceStringCallback)(void (*emit_stacktrace_string)(const char*));
2026
+
1985
2027
  #ifdef __cplusplus
1986
2028
  extern "C" {
1987
2029
  #endif // __cplusplus
@@ -643,27 +643,19 @@ struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_with_trace_id(struct ddog_cr
643
643
  * The CharSlice must be valid.
644
644
  */
645
645
  DDOG_CHECK_RETURN
646
- struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_with_uuid(struct ddog_crasht_Handle_CrashInfoBuilder *builder,
647
- ddog_CharSlice uuid);
646
+ struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_with_message(struct ddog_crasht_Handle_CrashInfoBuilder *builder,
647
+ ddog_CharSlice message);
648
648
 
649
649
  /**
650
650
  * # Safety
651
651
  * The `builder` can be null, but if non-null it must point to a Builder made by this module,
652
652
  * which has not previously been dropped.
653
- * The CharSlice must be valid.
654
- */
655
- DDOG_CHECK_RETURN
656
- struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_with_uuid_random(struct ddog_crasht_Handle_CrashInfoBuilder *builder);
657
-
658
- /**
659
- * # Safety
660
- * The `crash_info` can be null, but if non-null it must point to a Builder made by this module,
661
- * which has not previously been dropped.
662
- * The CharSlice must be valid.
653
+ * All arguments must be valid.
654
+ * This method requires that the builder has a UUID, siginfo, and metadata set
663
655
  */
664
656
  DDOG_CHECK_RETURN
665
- struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_with_message(struct ddog_crasht_Handle_CrashInfoBuilder *builder,
666
- ddog_CharSlice message);
657
+ struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_upload_ping_to_endpoint(struct ddog_crasht_Handle_CrashInfoBuilder *builder,
658
+ const struct ddog_Endpoint *endpoint);
667
659
 
668
660
  /**
669
661
  * Create a new StackFrame, and returns an opaque reference to it.
@@ -862,7 +854,7 @@ struct ddog_StringWrapperResult ddog_crasht_demangle(ddog_CharSlice name,
862
854
  * signal handler is dangerous, so we fork a sidecar to do the stuff we aren't
863
855
  * allowed to do in the handler.
864
856
  *
865
- * See comments in [datadog-crashtracker/lib.rs] for a full architecture description.
857
+ * See comments in [libdd-crashtracker/lib.rs] for a full architecture description.
866
858
  * # Safety
867
859
  * No safety concerns
868
860
  */
@@ -876,7 +868,7 @@ DDOG_CHECK_RETURN struct ddog_VoidResult ddog_crasht_receiver_entry_point_stdin(
876
868
  * signal handler is dangerous, so we fork a sidecar to do the stuff we aren't
877
869
  * allowed to do in the handler.
878
870
  *
879
- * See comments in [datadog-crashtracker/lib.rs] for a full architecture
871
+ * See comments in [libdd-crashtracker/lib.rs] for a full architecture
880
872
  * description.
881
873
  * # Safety
882
874
  * No safety concerns
@@ -884,6 +876,76 @@ DDOG_CHECK_RETURN struct ddog_VoidResult ddog_crasht_receiver_entry_point_stdin(
884
876
  DDOG_CHECK_RETURN
885
877
  struct ddog_VoidResult ddog_crasht_receiver_entry_point_unix_socket(ddog_CharSlice socket_path);
886
878
 
879
+ /**
880
+ * Register a runtime stack collection callback
881
+ *
882
+ * # Arguments
883
+ * - `callback`: The callback function to invoke during crashes
884
+ *
885
+ * # Returns
886
+ * - `CallbackResult::Ok` if registration succeeds
887
+ * - `CallbackResult::Error` if registration fails
888
+ *
889
+ * # Safety
890
+ * - The callback must be signal-safe
891
+ * - Only one callback can be registered at a time
892
+ * - The callback must be registered once on CrashTracker initialization, before any crash occurs
893
+ *
894
+ * # Example Usage from C
895
+ * ```c
896
+ * static void my_runtime_callback(
897
+ * void (*emit_frame)(const ddog_RuntimeStackFrameFFI*),
898
+ * ) {
899
+ * // Collect runtime frames and call emit_frame for each one
900
+ * const char* function_name = "my_function";
901
+ * const char* file_name = "script.rb";
902
+ * ddog_CharSlice type_name = DDOG_CHARSLICE_FROM_CSTR("MyModule.MyClass");
903
+ * ddog_crasht_RuntimeStackFrameFFI frame = {
904
+ * .type_name = type_name,
905
+ * .function = DDOG_CHARSLICE_FROM_CSTR(function_name),
906
+ * .file = DDOG_CHARSLICE_FROM_CSTR(file_name),
907
+ * .line = 42,
908
+ * .column = 10
909
+ * };
910
+ * emit_frame(&frame);
911
+ * }
912
+ */
913
+ enum ddog_crasht_CallbackResult ddog_crasht_register_runtime_frame_callback(ddog_crasht_RuntimeStackFrameCallback callback);
914
+
915
+ /**
916
+ * Register a runtime stacktrace string collection callback
917
+ *
918
+ * # Arguments
919
+ * - `callback`: The callback function to invoke during crashes
920
+ *
921
+ * # Returns
922
+ * - `CallbackResult::Ok` if registration succeeds (replaces any existing callback)
923
+ * - `CallbackResult::Error` if registration fails
924
+ *
925
+ * # Safety
926
+ * - The callback must be signal-safe
927
+ * - Only one callback can be registered at a time (this replaces any existing one)
928
+ */
929
+ enum ddog_crasht_CallbackResult ddog_crasht_register_runtime_stacktrace_string_callback(ddog_crasht_RuntimeStacktraceStringCallback callback);
930
+
931
+ /**
932
+ * Returns true if a callback is registered, false otherwise
933
+ *
934
+ * # Safety
935
+ * This function is safe to call at any time
936
+ */
937
+ bool ddog_crasht_is_runtime_callback_registered(void);
938
+
939
+ /**
940
+ * Get the callback type from the currently registered callback context
941
+ *
942
+ * # Safety
943
+ * - The returned pointer is valid only while the callback remains registered
944
+ * - The caller should not free the returned pointer
945
+ * - The returned string should be copied if it needs to persist beyond callback lifetime
946
+ */
947
+ const char *ddog_crasht_get_registered_callback_type(void);
948
+
887
949
  #ifdef __cplusplus
888
950
  } // extern "C"
889
951
  #endif // __cplusplus
@@ -8,7 +8,7 @@ includedir=${prefix}/include
8
8
 
9
9
  Name: datadog_profiling
10
10
  Description: Contains common code used to implement Datadog's Continuous Profilers. (Dynamic linking variant, sets rpath)
11
- Version: 23.0.0
11
+ Version: 24.0.0
12
12
  Requires:
13
13
  Libs: -L${libdir} -ldatadog_profiling -Wl,-rpath,${libdir}
14
14
  Libs.private:
@@ -1,4 +1,4 @@
1
- root_name: builder, build_common, tools, datadog-alloc, datadog-crashtracker, ddcommon, ddtelemetry, datadog-ddsketch, datadog-crashtracker-ffi, ddcommon-ffi, datadog-ffe, datadog-ipc, datadog-ipc-macros, tarpc, tarpc-plugins, tinybytes, spawn_worker, datadog-library-config, datadog-library-config-ffi, datadog-live-debugger, datadog-live-debugger-ffi, datadog-profiling, datadog-profiling-protobuf, datadog-profiling-ffi, data-pipeline-ffi, data-pipeline, datadog-trace-protobuf, datadog-trace-stats, datadog-trace-utils, datadog-trace-normalization, dogstatsd-client, datadog-log, datadog-log-ffi, ddsketch-ffi, ddtelemetry-ffi, symbolizer-ffi, datadog-profiling-replayer, datadog-remote-config, datadog-sidecar, datadog-sidecar-macros, datadog-sidecar-ffi, datadog-trace-obfuscation, datadog-tracer-flare, sidecar_mockgen, test_spawn_from_lib
1
+ root_name: builder, build_common, tools, libdd-alloc, libdd-crashtracker, libdd-common, libdd-telemetry, libdd-ddsketch, libdd-crashtracker-ffi, libdd-common-ffi, datadog-ffe, datadog-ffe-ffi, datadog-ipc, datadog-ipc-macros, libdd-tinybytes, tarpc, tarpc-plugins, spawn_worker, cc_utils, libdd-library-config, libdd-library-config-ffi, datadog-live-debugger, datadog-live-debugger-ffi, libdd-profiling, libdd-profiling-protobuf, libdd-profiling-ffi, libdd-data-pipeline-ffi, libdd-data-pipeline, libdd-dogstatsd-client, libdd-trace-protobuf, libdd-trace-stats, libdd-trace-utils, libdd-trace-normalization, libdd-log, libdd-ddsketch-ffi, libdd-log-ffi, libdd-telemetry-ffi, symbolizer-ffi, datadog-profiling-replayer, datadog-remote-config, datadog-sidecar, datadog-sidecar-macros, datadog-sidecar-ffi, datadog-trace-obfuscation, datadog-tracer-flare, sidecar_mockgen, test_spawn_from_lib
2
2
  third_party_libraries:
3
3
  - package_name: addr2line
4
4
  package_version: 0.24.2
@@ -14080,7 +14080,7 @@ third_party_libraries:
14080
14080
  IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
14081
14081
  DEALINGS IN THE SOFTWARE.
14082
14082
  - package_name: indexmap
14083
- package_version: 2.6.0
14083
+ package_version: 2.11.4
14084
14084
  repository: https://github.com/indexmap-rs/indexmap
14085
14085
  license: Apache-2.0 OR MIT
14086
14086
  licenses:
@@ -15881,6 +15881,13 @@ third_party_libraries:
15881
15881
  DEALINGS IN THE SOFTWARE.
15882
15882
  - license: Apache-2.0
15883
15883
  text: " Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\nTERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\nEND OF TERMS AND CONDITIONS\n\nAPPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\nCopyright [yyyy] [name of copyright owner]\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n"
15884
+ - package_name: lz4_flex
15885
+ package_version: 0.9.5
15886
+ repository: https://github.com/pseitz/lz4_flex
15887
+ license: MIT
15888
+ licenses:
15889
+ - license: MIT
15890
+ text: NOT FOUND
15884
15891
  - package_name: manual_future
15885
15892
  package_version: 0.1.1
15886
15893
  repository: https://github.com/dmarcuse/manual_future.git
@@ -27686,9 +27693,9 @@ third_party_libraries:
27686
27693
  - package_name: stringmetrics
27687
27694
  package_version: 2.2.2
27688
27695
  repository: https://github.com/pluots/stringmetrics
27689
- license: License specified in file ($CARGO_HOME/registry/src/github.com-25cdd57fae9f0462/stringmetrics-2.2.2/LICENSE)
27696
+ license: License specified in file ($CARGO_HOME/registry/src/index.crates.io-6f17d22bba15001f/stringmetrics-2.2.2/LICENSE)
27690
27697
  licenses:
27691
- - license: License specified in file ($CARGO_HOME/registry/src/github.com-25cdd57fae9f0462/stringmetrics-2.2.2/LICENSE)
27698
+ - license: License specified in file ($CARGO_HOME/registry/src/index.crates.io-6f17d22bba15001f/stringmetrics-2.2.2/LICENSE)
27692
27699
  text: |
27693
27700
  Copyright 2022 Trevor Gross
27694
27701
 
@@ -263,12 +263,6 @@ typedef struct ddog_prof_Exporter ddog_prof_Exporter;
263
263
 
264
264
  typedef struct ddog_prof_Exporter_Request ddog_prof_Exporter_Request;
265
265
 
266
- /**
267
- * A tag is a combination of a wire_type, stored in the least significant
268
- * three bits, and the field number that is defined in the .proto file.
269
- */
270
- typedef struct ddog_Tag ddog_Tag;
271
-
272
266
  typedef struct ddog_Slice_U8 {
273
267
  /**
274
268
  * Should be non-null and suitably aligned for the underlying type. It is
@@ -1571,6 +1565,14 @@ typedef enum ddog_crasht_BuildIdType {
1571
1565
  DDOG_CRASHT_BUILD_ID_TYPE_SHA1,
1572
1566
  } ddog_crasht_BuildIdType;
1573
1567
 
1568
+ /**
1569
+ * Result type for runtime callback registration
1570
+ */
1571
+ typedef enum ddog_crasht_CallbackResult {
1572
+ DDOG_CRASHT_CALLBACK_RESULT_OK,
1573
+ DDOG_CRASHT_CALLBACK_RESULT_ERROR,
1574
+ } ddog_crasht_CallbackResult;
1575
+
1574
1576
  typedef enum ddog_crasht_DemangleOptions {
1575
1577
  DDOG_CRASHT_DEMANGLE_OPTIONS_COMPLETE,
1576
1578
  DDOG_CRASHT_DEMANGLE_OPTIONS_NAME_ONLY,
@@ -1764,7 +1766,7 @@ typedef struct ddog_crasht_Config {
1764
1766
  /**
1765
1767
  * Timeout in milliseconds before the signal handler starts tearing things down to return.
1766
1768
  * If 0, uses the default timeout as specified in
1767
- * `datadog_crashtracker::shared::constants::DD_CRASHTRACK_DEFAULT_TIMEOUT`. Otherwise, uses
1769
+ * `libdd_crashtracker::shared::constants::DD_CRASHTRACK_DEFAULT_TIMEOUT`. Otherwise, uses
1768
1770
  * the specified timeout value.
1769
1771
  * This is given as a uint32_t, but the actual timeout needs to fit inside of an i32 (max
1770
1772
  * 2^31-1). This is a limitation of the various interfaces used to guarantee the timeout.
@@ -1982,6 +1984,46 @@ typedef struct ddog_crasht_StackTrace_NewResult {
1982
1984
  };
1983
1985
  } ddog_crasht_StackTrace_NewResult;
1984
1986
 
1987
+ typedef struct ddog_crasht_RuntimeStackFrame {
1988
+ /**
1989
+ * Line number in source file (0 if unknown)
1990
+ */
1991
+ uint32_t line;
1992
+ /**
1993
+ * Column number in source file (0 if unknown)
1994
+ */
1995
+ uint32_t column;
1996
+ /**
1997
+ * Function name (fully qualified if possible)
1998
+ */
1999
+ ddog_CharSlice function;
2000
+ /**
2001
+ * Source file name
2002
+ */
2003
+ ddog_CharSlice file;
2004
+ /**
2005
+ * Type name (class/module/namespace/etc.)
2006
+ */
2007
+ ddog_CharSlice type_name;
2008
+ } ddog_crasht_RuntimeStackFrame;
2009
+
2010
+ typedef void (*ddog_crasht_RuntimeStackFrameCallback)(void (*emit_frame)(const struct ddog_crasht_RuntimeStackFrame*));
2011
+
2012
+ /**
2013
+ * Function signature for runtime stacktrace string collection callbacks
2014
+ *
2015
+ * This callback is invoked during crash handling in a signal context, so it must be signal-safe:
2016
+ *
2017
+ * # Parameters
2018
+ * - `emit_stacktrace_string`: Function to call for complete stacktrace string (takes C string)
2019
+ *
2020
+ * # Safety
2021
+ * The callback function is marked unsafe because:
2022
+ * - It receives function pointers that take raw pointers as parameters
2023
+ * - All C strings passed must be null-terminated and remain valid for the call duration
2024
+ */
2025
+ typedef void (*ddog_crasht_RuntimeStacktraceStringCallback)(void (*emit_stacktrace_string)(const char*));
2026
+
1985
2027
  #ifdef __cplusplus
1986
2028
  extern "C" {
1987
2029
  #endif // __cplusplus
@@ -643,27 +643,19 @@ struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_with_trace_id(struct ddog_cr
643
643
  * The CharSlice must be valid.
644
644
  */
645
645
  DDOG_CHECK_RETURN
646
- struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_with_uuid(struct ddog_crasht_Handle_CrashInfoBuilder *builder,
647
- ddog_CharSlice uuid);
646
+ struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_with_message(struct ddog_crasht_Handle_CrashInfoBuilder *builder,
647
+ ddog_CharSlice message);
648
648
 
649
649
  /**
650
650
  * # Safety
651
651
  * The `builder` can be null, but if non-null it must point to a Builder made by this module,
652
652
  * which has not previously been dropped.
653
- * The CharSlice must be valid.
654
- */
655
- DDOG_CHECK_RETURN
656
- struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_with_uuid_random(struct ddog_crasht_Handle_CrashInfoBuilder *builder);
657
-
658
- /**
659
- * # Safety
660
- * The `crash_info` can be null, but if non-null it must point to a Builder made by this module,
661
- * which has not previously been dropped.
662
- * The CharSlice must be valid.
653
+ * All arguments must be valid.
654
+ * This method requires that the builder has a UUID, siginfo, and metadata set
663
655
  */
664
656
  DDOG_CHECK_RETURN
665
- struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_with_message(struct ddog_crasht_Handle_CrashInfoBuilder *builder,
666
- ddog_CharSlice message);
657
+ struct ddog_VoidResult ddog_crasht_CrashInfoBuilder_upload_ping_to_endpoint(struct ddog_crasht_Handle_CrashInfoBuilder *builder,
658
+ const struct ddog_Endpoint *endpoint);
667
659
 
668
660
  /**
669
661
  * Create a new StackFrame, and returns an opaque reference to it.
@@ -862,7 +854,7 @@ struct ddog_StringWrapperResult ddog_crasht_demangle(ddog_CharSlice name,
862
854
  * signal handler is dangerous, so we fork a sidecar to do the stuff we aren't
863
855
  * allowed to do in the handler.
864
856
  *
865
- * See comments in [datadog-crashtracker/lib.rs] for a full architecture description.
857
+ * See comments in [libdd-crashtracker/lib.rs] for a full architecture description.
866
858
  * # Safety
867
859
  * No safety concerns
868
860
  */
@@ -876,7 +868,7 @@ DDOG_CHECK_RETURN struct ddog_VoidResult ddog_crasht_receiver_entry_point_stdin(
876
868
  * signal handler is dangerous, so we fork a sidecar to do the stuff we aren't
877
869
  * allowed to do in the handler.
878
870
  *
879
- * See comments in [datadog-crashtracker/lib.rs] for a full architecture
871
+ * See comments in [libdd-crashtracker/lib.rs] for a full architecture
880
872
  * description.
881
873
  * # Safety
882
874
  * No safety concerns
@@ -884,6 +876,76 @@ DDOG_CHECK_RETURN struct ddog_VoidResult ddog_crasht_receiver_entry_point_stdin(
884
876
  DDOG_CHECK_RETURN
885
877
  struct ddog_VoidResult ddog_crasht_receiver_entry_point_unix_socket(ddog_CharSlice socket_path);
886
878
 
879
+ /**
880
+ * Register a runtime stack collection callback
881
+ *
882
+ * # Arguments
883
+ * - `callback`: The callback function to invoke during crashes
884
+ *
885
+ * # Returns
886
+ * - `CallbackResult::Ok` if registration succeeds
887
+ * - `CallbackResult::Error` if registration fails
888
+ *
889
+ * # Safety
890
+ * - The callback must be signal-safe
891
+ * - Only one callback can be registered at a time
892
+ * - The callback must be registered once on CrashTracker initialization, before any crash occurs
893
+ *
894
+ * # Example Usage from C
895
+ * ```c
896
+ * static void my_runtime_callback(
897
+ * void (*emit_frame)(const ddog_RuntimeStackFrameFFI*),
898
+ * ) {
899
+ * // Collect runtime frames and call emit_frame for each one
900
+ * const char* function_name = "my_function";
901
+ * const char* file_name = "script.rb";
902
+ * ddog_CharSlice type_name = DDOG_CHARSLICE_FROM_CSTR("MyModule.MyClass");
903
+ * ddog_crasht_RuntimeStackFrameFFI frame = {
904
+ * .type_name = type_name,
905
+ * .function = DDOG_CHARSLICE_FROM_CSTR(function_name),
906
+ * .file = DDOG_CHARSLICE_FROM_CSTR(file_name),
907
+ * .line = 42,
908
+ * .column = 10
909
+ * };
910
+ * emit_frame(&frame);
911
+ * }
912
+ */
913
+ enum ddog_crasht_CallbackResult ddog_crasht_register_runtime_frame_callback(ddog_crasht_RuntimeStackFrameCallback callback);
914
+
915
+ /**
916
+ * Register a runtime stacktrace string collection callback
917
+ *
918
+ * # Arguments
919
+ * - `callback`: The callback function to invoke during crashes
920
+ *
921
+ * # Returns
922
+ * - `CallbackResult::Ok` if registration succeeds (replaces any existing callback)
923
+ * - `CallbackResult::Error` if registration fails
924
+ *
925
+ * # Safety
926
+ * - The callback must be signal-safe
927
+ * - Only one callback can be registered at a time (this replaces any existing one)
928
+ */
929
+ enum ddog_crasht_CallbackResult ddog_crasht_register_runtime_stacktrace_string_callback(ddog_crasht_RuntimeStacktraceStringCallback callback);
930
+
931
+ /**
932
+ * Returns true if a callback is registered, false otherwise
933
+ *
934
+ * # Safety
935
+ * This function is safe to call at any time
936
+ */
937
+ bool ddog_crasht_is_runtime_callback_registered(void);
938
+
939
+ /**
940
+ * Get the callback type from the currently registered callback context
941
+ *
942
+ * # Safety
943
+ * - The returned pointer is valid only while the callback remains registered
944
+ * - The caller should not free the returned pointer
945
+ * - The returned string should be copied if it needs to persist beyond callback lifetime
946
+ */
947
+ const char *ddog_crasht_get_registered_callback_type(void);
948
+
887
949
  #ifdef __cplusplus
888
950
  } // extern "C"
889
951
  #endif // __cplusplus
@@ -8,7 +8,7 @@ includedir=${prefix}/include
8
8
 
9
9
  Name: datadog_profiling
10
10
  Description: Contains common code used to implement Datadog's Continuous Profilers. (Dynamic linking variant, sets rpath)
11
- Version: 23.0.0
11
+ Version: 24.0.0
12
12
  Requires:
13
13
  Libs: -L${libdir} -ldatadog_profiling -Wl,-rpath,${libdir}
14
14
  Libs.private: