libdatadog 12.0.0.1.0 → 14.0.0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libdatadog/version.rb +1 -1
- data/vendor/{libdatadog-12.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-14.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu}/LICENSE-3rdparty.yml +12222 -9104
- data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/bin/libdatadog-crashtracking-receiver +0 -0
- data/vendor/libdatadog-14.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/blazesym.h +1291 -0
- data/vendor/{libdatadog-12.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-14.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu}/include/datadog/common.h +50 -17
- data/vendor/{libdatadog-12.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-14.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu}/include/datadog/crashtracker.h +11 -12
- data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/profiling.h +3 -3
- data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/telemetry.h +1 -1
- data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-12.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu → libdatadog-14.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/LICENSE-3rdparty.yml +12222 -9104
- data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
- data/vendor/libdatadog-14.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/blazesym.h +1291 -0
- data/vendor/{libdatadog-12.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu → libdatadog-14.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/include/datadog/common.h +50 -17
- data/vendor/{libdatadog-12.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu → libdatadog-14.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/include/datadog/crashtracker.h +11 -12
- data/vendor/{libdatadog-12.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl → libdatadog-14.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/include/datadog/profiling.h +3 -3
- data/vendor/{libdatadog-12.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl → libdatadog-14.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl}/include/datadog/telemetry.h +1 -1
- data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-12.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl → libdatadog-14.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu}/LICENSE-3rdparty.yml +12222 -9104
- data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/bin/libdatadog-crashtracking-receiver +0 -0
- data/vendor/libdatadog-14.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/blazesym.h +1291 -0
- data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/common.h +50 -17
- data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/crashtracker.h +11 -12
- data/vendor/{libdatadog-12.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-14.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu}/include/datadog/profiling.h +3 -3
- data/vendor/{libdatadog-12.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl → libdatadog-14.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu}/include/datadog/telemetry.h +1 -1
- data/vendor/{libdatadog-12.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl → libdatadog-14.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu}/lib/libdatadog_profiling.so +0 -0
- data/vendor/{libdatadog-12.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu → libdatadog-14.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl}/LICENSE-3rdparty.yml +12222 -9104
- data/vendor/libdatadog-14.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
- data/vendor/libdatadog-14.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/blazesym.h +1291 -0
- data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/common.h +50 -17
- data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/crashtracker.h +11 -12
- data/vendor/{libdatadog-12.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu → libdatadog-14.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl}/include/datadog/profiling.h +3 -3
- data/vendor/{libdatadog-12.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu → libdatadog-14.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl}/include/datadog/telemetry.h +1 -1
- data/vendor/{libdatadog-12.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu → libdatadog-14.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl}/lib/libdatadog_profiling.so +0 -0
- metadata +46 -46
- data/vendor/libdatadog-12.0.0/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/include/datadog/blazesym.h +0 -1229
- data/vendor/libdatadog-12.0.0/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/include/datadog/blazesym.h +0 -1229
- data/vendor/libdatadog-12.0.0/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/include/datadog/blazesym.h +0 -1229
- data/vendor/libdatadog-12.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/bin/libdatadog-crashtracking-receiver +0 -0
- data/vendor/libdatadog-12.0.0/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/include/datadog/blazesym.h +0 -1229
- /data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/LICENSE +0 -0
- /data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/NOTICE +0 -0
- /data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/aarch64-linux/libdatadog-aarch64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc +0 -0
- /data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/LICENSE +0 -0
- /data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/NOTICE +0 -0
- /data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/aarch64-linux-musl/libdatadog-aarch64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc +0 -0
- /data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/LICENSE +0 -0
- /data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/NOTICE +0 -0
- /data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/x86_64-linux/libdatadog-x86_64-unknown-linux-gnu/lib/pkgconfig/datadog_profiling_with_rpath.pc +0 -0
- /data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/LICENSE +0 -0
- /data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/NOTICE +0 -0
- /data/vendor/{libdatadog-12.0.0 → libdatadog-14.0.0}/x86_64-linux-musl/libdatadog-x86_64-alpine-linux-musl/lib/pkgconfig/datadog_profiling_with_rpath.pc +0 -0
@@ -73,7 +73,9 @@ typedef struct ddog_Error {
|
|
73
73
|
|
74
74
|
typedef struct ddog_Slice_CChar {
|
75
75
|
/**
|
76
|
-
*
|
76
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
77
|
+
* allowed but not recommended for the pointer to be null when the len is
|
78
|
+
* zero.
|
77
79
|
*/
|
78
80
|
const char *ptr;
|
79
81
|
/**
|
@@ -265,7 +267,9 @@ typedef struct ddog_prof_Exporter_Request ddog_prof_Exporter_Request;
|
|
265
267
|
|
266
268
|
typedef struct ddog_Slice_U8 {
|
267
269
|
/**
|
268
|
-
*
|
270
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
271
|
+
* allowed but not recommended for the pointer to be null when the len is
|
272
|
+
* zero.
|
269
273
|
*/
|
270
274
|
const uint8_t *ptr;
|
271
275
|
/**
|
@@ -287,7 +291,9 @@ typedef struct ddog_prof_Exporter_File {
|
|
287
291
|
|
288
292
|
typedef struct ddog_prof_Exporter_Slice_File {
|
289
293
|
/**
|
290
|
-
*
|
294
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
295
|
+
* allowed but not recommended for the pointer to be null when the len is
|
296
|
+
* zero.
|
291
297
|
*/
|
292
298
|
const struct ddog_prof_Exporter_File *ptr;
|
293
299
|
/**
|
@@ -435,7 +441,9 @@ typedef struct ddog_prof_ValueType {
|
|
435
441
|
|
436
442
|
typedef struct ddog_prof_Slice_ValueType {
|
437
443
|
/**
|
438
|
-
*
|
444
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
445
|
+
* allowed but not recommended for the pointer to be null when the len is
|
446
|
+
* zero.
|
439
447
|
*/
|
440
448
|
const struct ddog_prof_ValueType *ptr;
|
441
449
|
/**
|
@@ -541,7 +549,9 @@ typedef struct ddog_prof_Location {
|
|
541
549
|
|
542
550
|
typedef struct ddog_prof_Slice_Location {
|
543
551
|
/**
|
544
|
-
*
|
552
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
553
|
+
* allowed but not recommended for the pointer to be null when the len is
|
554
|
+
* zero.
|
545
555
|
*/
|
546
556
|
const struct ddog_prof_Location *ptr;
|
547
557
|
/**
|
@@ -553,7 +563,9 @@ typedef struct ddog_prof_Slice_Location {
|
|
553
563
|
|
554
564
|
typedef struct ddog_Slice_I64 {
|
555
565
|
/**
|
556
|
-
*
|
566
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
567
|
+
* allowed but not recommended for the pointer to be null when the len is
|
568
|
+
* zero.
|
557
569
|
*/
|
558
570
|
const int64_t *ptr;
|
559
571
|
/**
|
@@ -584,7 +596,9 @@ typedef struct ddog_prof_Label {
|
|
584
596
|
|
585
597
|
typedef struct ddog_prof_Slice_Label {
|
586
598
|
/**
|
587
|
-
*
|
599
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
600
|
+
* allowed but not recommended for the pointer to be null when the len is
|
601
|
+
* zero.
|
588
602
|
*/
|
589
603
|
const struct ddog_prof_Label *ptr;
|
590
604
|
/**
|
@@ -617,7 +631,9 @@ typedef struct ddog_prof_Sample {
|
|
617
631
|
|
618
632
|
typedef struct ddog_prof_Slice_Usize {
|
619
633
|
/**
|
620
|
-
*
|
634
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
635
|
+
* allowed but not recommended for the pointer to be null when the len is
|
636
|
+
* zero.
|
621
637
|
*/
|
622
638
|
const uintptr_t *ptr;
|
623
639
|
/**
|
@@ -747,6 +763,7 @@ typedef enum ddog_crasht_DemangleOptions {
|
|
747
763
|
typedef enum ddog_crasht_NormalizedAddressTypes {
|
748
764
|
DDOG_CRASHT_NORMALIZED_ADDRESS_TYPES_NONE = 0,
|
749
765
|
DDOG_CRASHT_NORMALIZED_ADDRESS_TYPES_ELF,
|
766
|
+
DDOG_CRASHT_NORMALIZED_ADDRESS_TYPES_PDB,
|
750
767
|
} ddog_crasht_NormalizedAddressTypes;
|
751
768
|
|
752
769
|
/**
|
@@ -816,7 +833,9 @@ typedef struct ddog_crasht_Result {
|
|
816
833
|
|
817
834
|
typedef struct ddog_crasht_Slice_CharSlice {
|
818
835
|
/**
|
819
|
-
*
|
836
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
837
|
+
* allowed but not recommended for the pointer to be null when the len is
|
838
|
+
* zero.
|
820
839
|
*/
|
821
840
|
const ddog_CharSlice *ptr;
|
822
841
|
/**
|
@@ -829,14 +848,19 @@ typedef struct ddog_crasht_Slice_CharSlice {
|
|
829
848
|
typedef struct ddog_crasht_Config {
|
830
849
|
struct ddog_crasht_Slice_CharSlice additional_files;
|
831
850
|
bool create_alt_stack;
|
851
|
+
bool use_alt_stack;
|
832
852
|
/**
|
833
853
|
* The endpoint to send the crash report to (can be a file://).
|
834
854
|
* If None, the crashtracker will infer the agent host from env variables.
|
835
855
|
*/
|
836
856
|
const struct ddog_Endpoint *endpoint;
|
837
857
|
enum ddog_crasht_StacktraceCollection resolve_frames;
|
838
|
-
|
839
|
-
|
858
|
+
/**
|
859
|
+
* Timeout in milliseconds before the signal handler starts tearing things down to return.
|
860
|
+
* This is given as a uint32_t, but the actual timeout needs to fit inside of an i32 (max
|
861
|
+
* 2^31-1). This is a limitation of the various interfaces used to guarantee the timeout.
|
862
|
+
*/
|
863
|
+
uint32_t timeout_ms;
|
840
864
|
} ddog_crasht_Config;
|
841
865
|
|
842
866
|
typedef struct ddog_crasht_EnvVar {
|
@@ -846,7 +870,9 @@ typedef struct ddog_crasht_EnvVar {
|
|
846
870
|
|
847
871
|
typedef struct ddog_crasht_Slice_EnvVar {
|
848
872
|
/**
|
849
|
-
*
|
873
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
874
|
+
* allowed but not recommended for the pointer to be null when the len is
|
875
|
+
* zero.
|
850
876
|
*/
|
851
877
|
const struct ddog_crasht_EnvVar *ptr;
|
852
878
|
/**
|
@@ -939,7 +965,9 @@ typedef struct ddog_crasht_StackFrameNames {
|
|
939
965
|
|
940
966
|
typedef struct ddog_crasht_Slice_StackFrameNames {
|
941
967
|
/**
|
942
|
-
*
|
968
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
969
|
+
* allowed but not recommended for the pointer to be null when the len is
|
970
|
+
* zero.
|
943
971
|
*/
|
944
972
|
const struct ddog_crasht_StackFrameNames *ptr;
|
945
973
|
/**
|
@@ -952,6 +980,7 @@ typedef struct ddog_crasht_Slice_StackFrameNames {
|
|
952
980
|
typedef struct ddog_crasht_NormalizedAddress {
|
953
981
|
uint64_t file_offset;
|
954
982
|
ddog_ByteSlice build_id;
|
983
|
+
uint64_t age;
|
955
984
|
ddog_CharSlice path;
|
956
985
|
enum ddog_crasht_NormalizedAddressTypes typ;
|
957
986
|
} ddog_crasht_NormalizedAddress;
|
@@ -968,7 +997,9 @@ typedef struct ddog_crasht_StackFrame {
|
|
968
997
|
|
969
998
|
typedef struct ddog_crasht_Slice_StackFrame {
|
970
999
|
/**
|
971
|
-
*
|
1000
|
+
* Should be non-null and suitably aligned for the underlying type. It is
|
1001
|
+
* allowed but not recommended for the pointer to be null when the len is
|
1002
|
+
* zero.
|
972
1003
|
*/
|
973
1004
|
const struct ddog_crasht_StackFrame *ptr;
|
974
1005
|
/**
|
@@ -1108,6 +1139,8 @@ struct ddog_Error *ddog_endpoint_from_api_key_and_site(ddog_CharSlice api_key,
|
|
1108
1139
|
|
1109
1140
|
void ddog_endpoint_set_timeout(struct ddog_Endpoint *endpoint, uint64_t millis);
|
1110
1141
|
|
1142
|
+
void ddog_endpoint_set_test_token(struct ddog_Endpoint *endpoint, ddog_CharSlice token);
|
1143
|
+
|
1111
1144
|
void ddog_endpoint_drop(struct ddog_Endpoint*);
|
1112
1145
|
|
1113
1146
|
struct ddog_Option_U32 ddog_Option_U32_some(uint32_t v);
|
@@ -1155,7 +1188,7 @@ struct ddog_Vec_Tag_PushResult ddog_Vec_Tag_push(struct ddog_Vec_Tag *vec,
|
|
1155
1188
|
DDOG_CHECK_RETURN struct ddog_Vec_Tag_ParseResult ddog_Vec_Tag_parse(ddog_CharSlice string);
|
1156
1189
|
|
1157
1190
|
#ifdef __cplusplus
|
1158
|
-
}
|
1159
|
-
#endif
|
1191
|
+
} // extern "C"
|
1192
|
+
#endif // __cplusplus
|
1160
1193
|
|
1161
|
-
#endif
|
1194
|
+
#endif /* DDOG_COMMON_H */
|
@@ -39,8 +39,7 @@ DDOG_CHECK_RETURN struct ddog_crasht_Result ddog_crasht_shutdown(void);
|
|
39
39
|
* Reinitialize the crash-tracking infrastructure after a fork.
|
40
40
|
* This should be one of the first things done after a fork, to minimize the
|
41
41
|
* chance that a crash occurs between the fork, and this call.
|
42
|
-
* In particular, reset the counters that track the profiler state machine
|
43
|
-
* and start a new receiver to collect data from this fork.
|
42
|
+
* In particular, reset the counters that track the profiler state machine.
|
44
43
|
* NOTE: An alternative design would be to have a 1:many sidecar listening on a
|
45
44
|
* socket instead of 1:1 receiver listening on a pipe, but the only real
|
46
45
|
* advantage would be to have fewer processes in `ps -a`.
|
@@ -73,9 +72,9 @@ struct ddog_crasht_Result ddog_crasht_update_on_fork(struct ddog_crasht_Config c
|
|
73
72
|
* unexpected crash-handling behaviour.
|
74
73
|
*/
|
75
74
|
DDOG_CHECK_RETURN
|
76
|
-
struct ddog_crasht_Result
|
77
|
-
|
78
|
-
|
75
|
+
struct ddog_crasht_Result ddog_crasht_init(struct ddog_crasht_Config config,
|
76
|
+
struct ddog_crasht_ReceiverConfig receiver_config,
|
77
|
+
struct ddog_crasht_Metadata metadata);
|
79
78
|
|
80
79
|
/**
|
81
80
|
* Resets all counters to 0.
|
@@ -146,7 +145,7 @@ DDOG_CHECK_RETURN struct ddog_crasht_Result ddog_crasht_clear_trace_ids(void);
|
|
146
145
|
*
|
147
146
|
* Note: 128 bit ints in FFI were not stabilized until Rust 1.77
|
148
147
|
* https://blog.rust-lang.org/2024/03/30/i128-layout-update.html
|
149
|
-
* We're currently locked into 1.
|
148
|
+
* We're currently locked into 1.76.0, have to do an ugly workaround involving 2 64 bit ints
|
150
149
|
* until we can upgrade.
|
151
150
|
*
|
152
151
|
* # Safety
|
@@ -171,7 +170,7 @@ struct ddog_crasht_UsizeResult ddog_crasht_insert_trace_id(uint64_t id_high,
|
|
171
170
|
*
|
172
171
|
* Note: 128 bit ints in FFI were not stabilized until Rust 1.77
|
173
172
|
* https://blog.rust-lang.org/2024/03/30/i128-layout-update.html
|
174
|
-
* We're currently locked into 1.
|
173
|
+
* We're currently locked into 1.76.0, have to do an ugly workaround involving 2 64 bit ints
|
175
174
|
* until we can upgrade.
|
176
175
|
*
|
177
176
|
* # Safety
|
@@ -197,7 +196,7 @@ struct ddog_crasht_UsizeResult ddog_crasht_insert_span_id(uint64_t id_high,
|
|
197
196
|
*
|
198
197
|
* Note: 128 bit ints in FFI were not stabilized until Rust 1.77
|
199
198
|
* https://blog.rust-lang.org/2024/03/30/i128-layout-update.html
|
200
|
-
* We're currently locked into 1.
|
199
|
+
* We're currently locked into 1.76.0, have to do an ugly workaround involving 2 64 bit ints
|
201
200
|
* until we can upgrade.
|
202
201
|
*
|
203
202
|
* # Safety
|
@@ -224,7 +223,7 @@ struct ddog_crasht_Result ddog_crasht_remove_span_id(uint64_t id_high,
|
|
224
223
|
*
|
225
224
|
* Note: 128 bit ints in FFI were not stabilized until Rust 1.77
|
226
225
|
* https://blog.rust-lang.org/2024/03/30/i128-layout-update.html
|
227
|
-
* We're currently locked into 1.
|
226
|
+
* We're currently locked into 1.76.0, have to do an ugly workaround involving 2 64 bit ints
|
228
227
|
* until we can upgrade.
|
229
228
|
*
|
230
229
|
* # Safety
|
@@ -413,7 +412,7 @@ DDOG_CHECK_RETURN
|
|
413
412
|
struct ddog_crasht_Result ddog_crasht_receiver_entry_point_unix_socket(ddog_CharSlice socket_path);
|
414
413
|
|
415
414
|
#ifdef __cplusplus
|
416
|
-
}
|
417
|
-
#endif
|
415
|
+
} // extern "C"
|
416
|
+
#endif // __cplusplus
|
418
417
|
|
419
|
-
#endif
|
418
|
+
#endif /* DDOG_CRASHTRACKER_H */
|
@@ -388,7 +388,7 @@ struct ddog_prof_Profile_Result ddog_prof_Profile_reset(struct ddog_prof_Profile
|
|
388
388
|
const struct ddog_Timespec *start_time);
|
389
389
|
|
390
390
|
#ifdef __cplusplus
|
391
|
-
}
|
392
|
-
#endif
|
391
|
+
} // extern "C"
|
392
|
+
#endif // __cplusplus
|
393
393
|
|
394
|
-
#endif
|
394
|
+
#endif /* DDOG_PROFILING_H */
|