File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-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 deps
86+ run : apt-get install -y babeltrace2 jq
87+ - name : smoke test babeltrace
88+ env :
89+ BABELTRACE_PLUGIN_PATH : ${{ github.workspace }}/build
90+ run : |
91+ babeltrace2 trace.dat
92+ babeltrace2 --component=meta:sink.ftrace.tracemeta trace.dat | jq
93+ babeltrace2 query -p "inputs=[trace.dat]" source.ftrace.tracedat babeltrace.trace-infos
94+ - name : smoke test ftrace-to-ctf
95+ env :
96+ BABELTRACE_PLUGIN_PATH : ${{ github.workspace }}/build
97+ run : ./build/ftrace-to-ctf --lttng trace.dat /tmp
98+
99+ generate-trace-data :
100+ runs-on : ubuntu-24.04
101+ steps :
102+ - name : install dependencies
103+ run : |
104+ sudo apt-get update
105+ sudo apt-get install -y trace-cmd
106+
107+ - name : generate trace.dat sample data
108+ run : sudo trace-cmd record -C mono -e "sched:*" sleep 1
109+ - uses : actions/upload-artifact@v5
110+ with :
111+ name : trace-data
112+ path : trace.dat
You can’t perform that action at this time.
0 commit comments