-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rtloader] high-level memory profiling metrics (#3961)
* [rtloader] renaming cgo_free.c/h sources to memory.c/h * [rtloader] adding memory tracking facilities * [rtloader] actually set callback, dummy * [collector][memory] add small debug statement * [collector][memory] tagger should use custom allocator from cgo * [collector][memory] delete pointer reference on frees * [rtloader][memory] override strdup * [rtloader][memory] replace strdup with internal variant * [rtloader][memory] moving header to non-standard name * [memory][cgo] lets track cgo memory a little better * [rtloader][two] cleanup warnings * [rtloader][three] cleanup warnings * [rtloader] expvar for untracked frees * [rtloader][memory] generate cgo stacktrace with symbolizer * [rtloader][memory] generate cgo stacktrace with symbolizer * [rtloader] print (risky) free pointer as C-string - debugging * [go][rtloader] track more CStrings * [python][memory] sync tracking - order matters * [rtloader] adding pickle prototypes - disabled * [rtloader] couple formatting fixes * [rtloader] fix strdupe unsupported compiler define * [rtloader] fixing preprocessor directive * [rtloader] enable check pickling * [gitlab] trying builders aligned on GCC version 4.7 - suse pending * [rtloader][three] fixing typo * [omnibus] datadog-agent: patch needed for SLES11 build * Remove pickling logic: address in separate PR Revert "[rtloader] adding pickle prototypes - disabled" This reverts commit dcf6f4a. This reverts commit e3b3be8. This reverts commit 277c2cb. * [reno] adding release note * [rtloader] memory: polishing comments a little bit * [rtloader][python] remove dangerous logging outdated comments
- Loading branch information
Showing
38 changed files
with
519 additions
and
158 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...s/config/patches/datadog-agent/0001-sles-sys-types.h-must-be-included-here-to-build.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From 91f7052d0d3a6b06ca72c40d50ae268789a8ea5e Mon Sep 17 00:00:00 2001 | ||
From: Jaime Fullaondo <jaime.fullaondo@datadoghq.com> | ||
Date: Wed, 31 Jul 2019 11:40:43 +0200 | ||
Subject: [PATCH] [sles] sys/types.h must be included here to build | ||
|
||
--- | ||
symbolizer.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/symbolizer.c b/symbolizer.c | ||
index aa18aee..a158edf 100644 | ||
--- a/symbolizer.c | ||
+++ b/symbolizer.c | ||
@@ -6,6 +6,7 @@ | ||
|
||
#include <stdint.h> | ||
#include <string.h> | ||
+#include <sys/types.h> | ||
|
||
#include "backtrace.h" | ||
#include "internal.h" | ||
-- | ||
2.20.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.