Commit 093d66e
Pete Stevenson
Summary: we convert `perf_profiler_bpf_test` to use `UnitConnector` to
share code across different tests and binaries.
We also refactor the Java test case to separately test the expectation
that Java symbolization artifacts are removed after processes stop. The
main Java test case then conforms to the pattern established for Go and
cpp.
We also update some of the helper functions in the test to tidy up the
common test cases.
Type of change: /kind cleanup
Test Plan: existing tests & runs per test.
- [x] `bazel test //src/stirling/source_connectors/perf_profiler/...
--config bpf --runs_per_test 16` ([all tests
passed](https://phab.corp.pixielabs.ai/P372)).
---------
Signed-off-by: Pete Stevenson <jps@pixielabs.ai>
1 parent dbc37d4 commit 093d66e
3 files changed
Lines changed: 204 additions & 148 deletions
File tree
- src/stirling
- core
- source_connectors/perf_profiler
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
114 | 130 | | |
115 | 131 | | |
116 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
0 commit comments