Skip to content

Commit

Permalink
ci: don't do lttng tracing while logging is off
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Feb 7, 2022
1 parent b1296bc commit df9a220
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,25 +95,25 @@ jobs:
if ${{ matrix.logging }}"" == "true" ; then
export QUIC_ENABLE_LOGGING=ON
fi
sudo apt-add-repository ppa:lttng/stable-2.13
sudo apt-get update
sudo apt-get install -y lttng-tools lttng-modules-dkms babeltrace liblttng-ust-dev
which lttng
uname -a
mkdir msquic_lttng
lttng create msquic -o=./msquic_lttng
lttng enable-event --userspace CLOG_*
lttng add-context --userspace --type=vpid --type=vtid
lttng start
sudo apt-add-repository ppa:lttng/stable-2.13
sudo apt-get update
sudo apt-get install -y lttng-tools lttng-modules-dkms babeltrace liblttng-ust-dev
which lttng
uname -a
mkdir msquic_lttng
lttng create msquic -o=./msquic_lttng
lttng enable-event --userspace CLOG_*
lttng add-context --userspace --type=vpid --type=vtid
lttng start
cleanup () {
lttng stop msquic;
babeltrace --names all ./msquic_lttng/* > _build/test/quic.babel.txt
}
cleanup () {
lttng stop msquic;
babeltrace --names all ./msquic_lttng/* > _build/test/quic.babel.txt
}
trap "cleanup" EXIT
fi
trap "cleanup" EXIT
make ci
- name: Archive CT Logs
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit df9a220

Please sign in to comment.