Skip to content

Commit 93fccca

Browse files
committed
WIP: including FlameGraph
1 parent 1a6ea60 commit 93fccca

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

scripts/docker/m4/crossbuild.deb.m4

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,17 @@ RUN apt-get update && \
4343
libkf5parts5 \
4444
libkf5textwidgets5 \
4545
libqt5gui5 \
46-
libqt5widgets5
46+
libqt5widgets5 && \
47+
apt-get clean && \
48+
rm -r /var/lib/apt/lists/*
49+
50+
#
51+
# Install FlameGraph scripts
52+
#
53+
RUN git clone --depth 1 https://github.com/brendangregg/FlameGraph /opt/flamegraph \
54+
&& chmod +x /opt/flamegraph/*.pl /opt/flamegraph/*.sh
55+
56+
ENV PATH="/opt/flamegraph:${PATH}"
4757

4858
#
4959
# Set up NetworkRADIUS extras repository

scripts/docker/m4/profiling.deb.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ RUN chmod +x docker-entrypoint.sh
1313

1414
EXPOSE 1812/udp 1813/udp
1515
ENTRYPOINT ["/docker-entrypoint.sh"]
16-
CMD ["/profiling/start-cmd"]
16+
CMD ["/profiling/startprofiling-cmd"]

0 commit comments

Comments
 (0)