datadog-agent icon indicating copy to clipboard operation
datadog-agent copied to clipboard

Several Dynamic Instrumentation fixes and improvements

Open cimi opened this issue 1 year ago • 0 comments

What does this PR do?

This PR adds several fixes and improvements to Go Dynamic Instrumentation:

  • Check typeFields is not nil before accessing it to prevent crashes.
  • Set specific NotCapturedReason for fields with no location.
  • Don't run DWARF inspection for functions with no parameters.

Motivation

Reliability & performance.

Additional Notes

N/A

Possible Drawbacks / Trade-offs

N/A this code is disabled by default.

Describe how to test/QA your changes

N/A this code is disabled by default.

cimi avatar Sep 17 '24 13:09 cimi