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