File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 3535
3636 build :
3737 runs-on : ubuntu-24.04
38+ needs : generate-trace-data
3839 strategy :
3940 matrix :
4041 distro :
7576 run : |
7677 meson setup -Dbuildtype=debugoptimized ${{ matrix.meson_opts }} build
7778 cd build && ninja
79+
80+ - name : download sample trace data
81+ uses : actions/download-artifact@v5
82+ with :
83+ name : trace-data
84+
85+ - name : smoke test
86+ run : |
87+ export BABELTRACE_PLUGIN_PATH="$GITHUB_WORKSPACE/build"
88+ apt-get install -y babeltrace2 jq
89+ babeltrace2 "$GITHUB_WORKSPACE/trace.dat"
90+ babeltrace2 --component=meta:sink.ftrace.tracemeta "$GITHUB_WORKSPACE/trace.dat" | jq
91+ mkdir -p /tmp/traceout
92+ ./build/ftrace-to-ctf --lttng "$GITHUB_WORKSPACE/trace.dat" /tmp/traceout
93+
94+ generate-trace-data :
95+ runs-on : ubuntu-24.04
96+ steps :
97+ - name : install dependencies
98+ run : |
99+ sudo apt-get update
100+ sudo apt-get install -y trace-cmd
101+
102+ - name : generate trace.dat sample data
103+ run : sudo trace-cmd record -C mono -e "sched:*" sleep 1
104+ - uses : actions/upload-artifact@v5
105+ with :
106+ name : trace-data
107+ path : trace.dat
You can’t perform that action at this time.
0 commit comments