Skip to content

Commit e986777

Browse files
committed
Remove unrelated whitespace changes in ruby_tracer.ebpf.c
1 parent a642cdf commit e986777

4 files changed

Lines changed: 2 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ cmd/otelcol-ebpf-profiler/*.go
1414
cmd/otelcol-ebpf-profiler/go.mod
1515
cmd/otelcol-ebpf-profiler/go.sum
1616
otelcol-ebpf-profiler
17+
modulecache/

support/ebpf/ruby_tracer.ebpf.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ struct ruby_procs_t {
1919
// option is to adjust this number downwards.
2020
// NOTE: the maximum size stack is FRAMES_PER_WALK_RUBY_STACK * calls to tail_call().
2121
#define FRAMES_PER_WALK_RUBY_STACK 32
22-
2322
// When resolving a CME, we need to traverse environment pointers until we
2423
// find IMEMO_MENT. Since we can't do a while loop, we have to bound this
2524
// the max encountered in experimentation on a production rails app is 6.
@@ -30,7 +29,7 @@ struct ruby_procs_t {
3029
// This increases insn for the kernel verifier: all code in the ep check "loop"
3130
// is M*N for instruction checks, so be extra sensitive about additions there.
3231
// If we get ERR_RUBY_READ_CME_MAX_EP regularly, we may need to raise it.
33-
#define MAX_EP_CHECKS 10
32+
#define MAX_EP_CHECKS 10
3433

3534
// Constants related to reading a method entry
3635
// https://github.com/ruby/ruby/blob/523857bfcb0f0cdfd1ed7faa09b9c59a0266e7e2/method.h#L118

support/ebpf/tracer.ebpf.amd64

0 Bytes
Binary file not shown.

support/ebpf/tracer.ebpf.arm64

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)