Commit d36a8a5
authored
Add support for windows-style path (backslashes) (#11073)
# What Does This Do
Source filename used in probe definition can have path using backslashes
(Windows-style)
we normalize those paths before building the definition matcher
# Motivation
# Additional Notes
# Contributor Checklist
- Format the title according to [the contribution
guidelines](https://github.com/DataDog/dd-trace-java/blob/master/CONTRIBUTING.md#title-format)
- Assign the `type:` and (`comp:` or `inst:`) labels in addition to [any
other useful
labels](https://github.com/DataDog/dd-trace-java/blob/master/CONTRIBUTING.md#labels)
- Avoid using `close`, `fix`, or [any linking
keywords](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword)
when referencing an issue
Use `solves` instead, and assign the PR
[milestone](https://github.com/DataDog/dd-trace-java/milestones) to the
issue
- Update the
[CODEOWNERS](https://github.com/DataDog/dd-trace-java/blob/master/.github/CODEOWNERS)
file on source file addition, migration, or deletion
- Update [public
documentation](https://docs.datadoghq.com/tracing/trace_collection/library_config/java/)
with any new configuration flags or behaviors
Jira ticket: [DEBUG-5109]
***Note:*** **Once your PR is ready to merge, add it to the merge queue
by commenting `/merge`.** `/merge -c` cancels the queue request. `/merge
-f --reason "reason"` skips all merge queue checks; please use this
judiciously, as some checks do not run at the PR-level. For more
information, see [this
doc](https://datadoghq.atlassian.net/wiki/spaces/DEVX/pages/3121612126/MergeQueue).
<!--
# Opening vs Drafting a PR:
When opening a pull request, please open it as a draft to not auto
assign reviewers before you feel the pull request is in a reviewable
state.
# Linking a JIRA ticket:
Please link your JIRA ticket by adding its identifier between brackets
(ex [PROJ-IDENT]) in the PR description, not the title.
This requirement only applies to Datadog employees.
-->
[DEBUG-5109]:
https://datadoghq.atlassian.net/browse/DEBUG-5109?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ1 parent 20cb71f commit d36a8a5
2 files changed
Lines changed: 25 additions & 0 deletions
File tree
- dd-java-agent/agent-debugger/src
- main/java/com/datadog/debugger/agent
- test/java/com/datadog/debugger/agent
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
| |||
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
77 | 97 | | |
78 | 98 | | |
79 | 99 | | |
| |||
0 commit comments