Skip to content

Commit

Permalink
adds USDT trace points for supported distros
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Feb 2, 2019
1 parent 408f7b8 commit c524f2b
Show file tree
Hide file tree
Showing 17 changed files with 52 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 3.4/jessie/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ RUN set -ex \
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
&& rm python.tar.xz \
\
&& apt-get install -y --no-install-recommends systemtap-sdt-dev \
\
&& cd /usr/src/python \
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
&& ./configure \
Expand All @@ -43,6 +45,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--without-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand All @@ -54,6 +57,7 @@ RUN set -ex \
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
\) -exec rm -rf '{}' + \
&& rm -rf /usr/src/python \
&& apt-get remove -y systemtap-sdt-dev \
\
&& python3 --version

Expand Down
2 changes: 2 additions & 0 deletions 3.4/jessie/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ RUN set -ex \
libsqlite3-dev \
libssl-dev \
make \
systemtap-sdt-dev \
tk-dev \
wget \
xz-utils \
Expand Down Expand Up @@ -66,6 +67,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--with-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand Down
4 changes: 4 additions & 0 deletions 3.4/stretch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ RUN set -ex \
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
&& rm python.tar.xz \
\
&& apt-get install -y --no-install-recommends systemtap-sdt-dev \
\
&& cd /usr/src/python \
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
&& ./configure \
Expand All @@ -45,6 +47,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--without-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand All @@ -56,6 +59,7 @@ RUN set -ex \
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
\) -exec rm -rf '{}' + \
&& rm -rf /usr/src/python \
&& apt-get remove -y systemtap-sdt-dev \
\
&& python3 --version

Expand Down
2 changes: 2 additions & 0 deletions 3.4/stretch/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ RUN set -ex \
libsqlite3-dev \
libssl1.0-dev \
make \
systemtap-sdt-dev \
tk-dev \
wget \
xz-utils \
Expand Down Expand Up @@ -66,6 +67,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--with-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand Down
4 changes: 4 additions & 0 deletions 3.4/wheezy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ RUN set -ex \
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
&& rm python.tar.xz \
\
&& apt-get install -y --no-install-recommends systemtap-sdt-dev \
\
&& cd /usr/src/python \
&& gnuArch="$(dpkg-architecture -qDEB_BUILD_GNU_TYPE)" \
&& ./configure \
Expand All @@ -43,6 +45,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--without-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand All @@ -54,6 +57,7 @@ RUN set -ex \
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
\) -exec rm -rf '{}' + \
&& rm -rf /usr/src/python \
&& apt-get remove -y systemtap-sdt-dev \
\
&& python3 --version

Expand Down
4 changes: 4 additions & 0 deletions 3.5/jessie/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ RUN set -ex \
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
&& rm python.tar.xz \
\
&& apt-get install -y --no-install-recommends systemtap-sdt-dev \
\
&& cd /usr/src/python \
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
&& ./configure \
Expand All @@ -43,6 +45,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--without-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand All @@ -54,6 +57,7 @@ RUN set -ex \
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
\) -exec rm -rf '{}' + \
&& rm -rf /usr/src/python \
&& apt-get remove -y systemtap-sdt-dev \
\
&& python3 --version

Expand Down
2 changes: 2 additions & 0 deletions 3.5/jessie/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ RUN set -ex \
libsqlite3-dev \
libssl-dev \
make \
systemtap-sdt-dev \
tk-dev \
wget \
xz-utils \
Expand Down Expand Up @@ -66,6 +67,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--with-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand Down
4 changes: 4 additions & 0 deletions 3.5/stretch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ RUN set -ex \
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
&& rm python.tar.xz \
\
&& apt-get install -y --no-install-recommends systemtap-sdt-dev \
\
&& cd /usr/src/python \
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
&& ./configure \
Expand All @@ -43,6 +45,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--without-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand All @@ -54,6 +57,7 @@ RUN set -ex \
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
\) -exec rm -rf '{}' + \
&& rm -rf /usr/src/python \
&& apt-get remove -y systemtap-sdt-dev \
\
&& python3 --version

Expand Down
2 changes: 2 additions & 0 deletions 3.5/stretch/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ RUN set -ex \
libsqlite3-dev \
libssl-dev \
make \
systemtap-sdt-dev \
tk-dev \
wget \
xz-utils \
Expand Down Expand Up @@ -66,6 +67,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--with-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand Down
4 changes: 4 additions & 0 deletions 3.6/jessie/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ RUN set -ex \
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
&& rm python.tar.xz \
\
&& apt-get install -y --no-install-recommends systemtap-sdt-dev \
\
&& cd /usr/src/python \
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
&& ./configure \
Expand All @@ -43,6 +45,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--without-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand All @@ -54,6 +57,7 @@ RUN set -ex \
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
\) -exec rm -rf '{}' + \
&& rm -rf /usr/src/python \
&& apt-get remove -y systemtap-sdt-dev \
\
&& python3 --version

Expand Down
2 changes: 2 additions & 0 deletions 3.6/jessie/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ RUN set -ex \
libsqlite3-dev \
libssl-dev \
make \
systemtap-sdt-dev \
tk-dev \
wget \
xz-utils \
Expand Down Expand Up @@ -66,6 +67,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--with-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand Down
4 changes: 4 additions & 0 deletions 3.6/stretch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ RUN set -ex \
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
&& rm python.tar.xz \
\
&& apt-get install -y --no-install-recommends systemtap-sdt-dev \
\
&& cd /usr/src/python \
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
&& ./configure \
Expand All @@ -43,6 +45,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--without-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand All @@ -54,6 +57,7 @@ RUN set -ex \
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
\) -exec rm -rf '{}' + \
&& rm -rf /usr/src/python \
&& apt-get remove -y systemtap-sdt-dev \
\
&& python3 --version

Expand Down
2 changes: 2 additions & 0 deletions 3.6/stretch/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ RUN set -ex \
libsqlite3-dev \
libssl-dev \
make \
systemtap-sdt-dev \
tk-dev \
wget \
xz-utils \
Expand Down Expand Up @@ -66,6 +67,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--with-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand Down
4 changes: 4 additions & 0 deletions 3.7/stretch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ RUN set -ex \
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
&& rm python.tar.xz \
\
&& apt-get install -y --no-install-recommends systemtap-sdt-dev \
\
&& cd /usr/src/python \
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
&& ./configure \
Expand All @@ -44,6 +46,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--without-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand All @@ -55,6 +58,7 @@ RUN set -ex \
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
\) -exec rm -rf '{}' + \
&& rm -rf /usr/src/python \
&& apt-get remove -y systemtap-sdt-dev \
\
&& python3 --version

Expand Down
2 changes: 2 additions & 0 deletions 3.7/stretch/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ RUN set -ex \
libsqlite3-dev \
libssl-dev \
make \
systemtap-sdt-dev \
tk-dev \
uuid-dev \
wget \
Expand Down Expand Up @@ -67,6 +68,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--with-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile-debian.template
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ RUN set -ex \
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
&& rm python.tar.xz \
\
&& apt-get install -y --no-install-recommends systemtap-sdt-dev \
\
&& cd /usr/src/python \
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
&& ./configure \
Expand All @@ -40,6 +42,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--without-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand All @@ -51,6 +54,7 @@ RUN set -ex \
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
\) -exec rm -rf '{}' + \
&& rm -rf /usr/src/python \
&& apt-get remove -y systemtap-sdt-dev \
\
&& python3 --version

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile-slim.template
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ RUN set -ex \
libsqlite3-dev \
libssl-dev \
make \
systemtap-sdt-dev \
tk-dev \
uuid-dev \
wget \
Expand Down Expand Up @@ -61,6 +62,7 @@ RUN set -ex \
--with-system-expat \
--with-system-ffi \
--without-ensurepip \
--with-dtrace \
&& make -j "$(nproc)" \
&& make install \
&& ldconfig \
Expand Down

0 comments on commit c524f2b

Please sign in to comment.