This file contains hidden or 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
| diff --git a/collector/config/config.go b/collector/config/config.go | |
| index 9dfc35a7..eb9730bc 100644 | |
| --- a/collector/config/config.go | |
| +++ b/collector/config/config.go | |
| @@ -70,6 +70,11 @@ type Config struct { | |
| ErrorMode ErrorMode `mapstructure:"error_mode"` | |
| OBIProcessCtx bool `mapstructure:"obi_process_ctx"` | |
| TargetCPUIDs string `mapstructure:"target_cpu_ids"` | |
| + | |
| + // Configuration options that users can not set directly: |
This file contains hidden or 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
| +// TestConnSendConcurrentWithReceive verifies that Send can proceed while | |
| +// Receive is blocked, as required by patterns like NFQUEUE. | |
| +func TestConnSendConcurrentWithReceive(t *testing.T) { | |
| + t.Parallel() | |
| + | |
| + sock := &blockingSocket{ | |
| + receivingC: make(chan struct{}), | |
| + doneC: make(chan struct{}), | |
| + } | |
| + |
This file contains hidden or 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
| package main | |
| import ( | |
| "cmp" | |
| "fmt" | |
| "slices" | |
| "strings" | |
| "testing" | |
| ) |
This file contains hidden or 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
| From d1238d4e93d7da728fe06e7d107d23d8e00aa1d2 Mon Sep 17 00:00:00 2001 | |
| From: Florian Lehner <florian.lehner@elastic.co> | |
| Date: Wed, 11 Feb 2026 14:47:28 +0100 | |
| Subject: [PATCH] implement benchmark | |
| Signed-off-by: Florian Lehner <florian.lehner@elastic.co> | |
| --- | |
| pdata/pprofile/go.mod | 2 + | |
| pdata/pprofile/go.sum | 14 +-- | |
| pdata/pprofile/pb_bench_test.go | 186 ++++++++++++++++++++++++++++++++ |
This file contains hidden or 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
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "regexp" | |
| "strconv" | |
| "strings" | |
| "testing" |
This file contains hidden or 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
| From 9c3af2c44583e83444bfd19a45e0beaba4f2e8e6 Mon Sep 17 00:00:00 2001 | |
| From: Florian Lehner <dev@der-flo.net> | |
| Date: Wed, 28 Jan 2026 20:05:10 +0100 | |
| Subject: [PATCH] kallsyms: TBD | |
| TBD | |
| Signed-off-by: Florian Lehner <dev@der-flo.net> | |
| --- | |
| include/linux/filter.h | 8 ++++++++ |
This file contains hidden or 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
| package main | |
| import ( | |
| "math/rand" | |
| "slices" | |
| "sort" | |
| "testing" | |
| "time" | |
| ) |
This file contains hidden or 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
| $ git s | |
| 6dbd97595a390243ec3d79e827527c740ee74c87 | |
| ## main...origin/main | |
| $ time sudo ./mm-impact /opt/Elastic/Agent/data/elastic-agent-9.2.0-e7bf31/components/agentbeat | |
| Initial numbers | |
| --- Go Runtime Memory Stats (Managed by GC) --- | |
| Total Allocated: 329.11 KB | |
| Heap In Use: 880.00 KB | |
| System Memory (Sys): 6.65 MB |
This file contains hidden or 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
| From 9c4bc84cc73f612182bd831c23fbd375c9db36a8 Mon Sep 17 00:00:00 2001 | |
| From: Florian Lehner <florian.lehner@elastic.co> | |
| Date: Tue, 7 Oct 2025 09:28:45 +0200 | |
| Subject: [PATCH] createNewRequest | |
| Signed-off-by: Florian Lehner <florian.lehner@elastic.co> | |
| --- | |
| config/confighttp/compression.go | 26 +++++++++++++++----------- | |
| 1 file changed, 15 insertions(+), 11 deletions(-) |
This file contains hidden or 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
| package main | |
| import ( | |
| "log" | |
| "os/exec" | |
| "syscall" | |
| ) | |
| func main() { | |
| path, err := exec.LookPath("python3.13") |
NewerOlder