You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore(pipelines/xcover): add scope parameter
The scope profile parameter allows to scope the tracing to just
the project functions. It is now supported for Go binaries,
scoping to the Go module by default using the .go.buildinfo
ELF section.
Signed-off-by: Massimiliano Giovagnoli <massimiliano.giovagnoli@chainguard.dev>
* chore(pipelines/xcover): rm docs for sys_resource cap
Signed-off-by: Massimiliano Giovagnoli <massimiliano.giovagnoli@chainguard.dev>
---------
Signed-off-by: Massimiliano Giovagnoli <massimiliano.giovagnoli@chainguard.dev>
Copy file name to clipboardExpand all lines: pkg/build/pipelines/xcover/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ Start the coverage profile with the xcover tool
32
32
| include-functions | false | The function symbols to include in profiling as a regular expression. When set, only matching symbols are profiled. ||
33
33
| log-level | false | The log level of the xcover profile command. | info |
34
34
| package | false | The xcover package | xcover |
35
+
| scope | false | The function scope to profile: "binary" (all functions) or "project" (project module only). The "project" scope is only supported by Go binaries and is a no-op for others. | project |
35
36
| verbose | false | Enable verbosity of the xcover profile command. It prints out all the functions being traced real-time. | false |
36
37
| wait-timeout | false | The maximum amount of time to wait for the xcover profiler to be ready for profiling, in seconds. | 60 |
Copy file name to clipboardExpand all lines: pkg/build/pipelines/xcover/profile.yaml
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,10 @@ inputs:
19
19
include-functions:
20
20
description: The function symbols to include in profiling as a regular expression. When set, only matching symbols are profiled.
21
21
required: false
22
+
scope:
23
+
description: 'The function scope to profile: "binary" (all functions) or "project" (project module only). The "project" scope is only supported by Go binaries and is a no-op for others.'
24
+
required: false
25
+
default: project
22
26
log-level:
23
27
description: The log level of the xcover profile command.
0 commit comments