File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ jobs:
157
157
is_a_syscall_tracing : true
158
158
container :
159
159
image : " manjusakalza/bpftime-base-image:${{matrix.container.image}}"
160
- options : --privileged -v /sys/kernel/debug/:/sys/kernel/debug:rw -v /sys/kernel/tracing:/sys/kernel/tracing:rw
160
+ options : --privileged -v /sys/kernel/debug/:/sys/kernel/debug:rw -v /sys/kernel/tracing:/sys/kernel/tracing:rw -v /usr/src:/usr/src:ro -v /lib/modules/:/lib/modules:ro
161
161
steps :
162
162
- name : Download prebuilt runtime (with jit)
163
163
if : ${{matrix.enable_jit}}
@@ -195,6 +195,9 @@ jobs:
195
195
if : ${{ matrix.container.name=='ubuntu' }}
196
196
shell : bash
197
197
run : apt update && apt install -y bpftrace
198
+ - name : Test bpftrace
199
+ shell : bash
200
+ run : bpftrace -e 'BEGIN { printf("hello world\n"); }'
198
201
- name : Test CLI - attach by running (is_a_syscall_tracing)
199
202
if : matrix.bpftrace_tests.is_a_syscall_tracing
200
203
shell : bash
@@ -205,4 +208,3 @@ jobs:
205
208
shell : bash
206
209
run : |
207
210
python3 $(pwd)/.github/script/run_example.py "bpftrace ${{ matrix.bpftrace_tests.command }}" "${{matrix.bpftrace_tests.victim}}" "${{matrix.bpftrace_tests.expected_output}}" "/app/.bpftime/bpftime -i /app/.bpftime" 0
208
-
You can’t perform that action at this time.
0 commit comments