use perf instead of gprof
Signed-off-by: Ava Hahn <a.hahn@f5.com>
This commit is contained in:
parent
ce3844ef4e
commit
8924f2ef22
3 changed files with 13 additions and 3 deletions
|
|
@ -2,13 +2,13 @@ FROM archlinux:latest
|
|||
EXPOSE 8080
|
||||
|
||||
RUN pacman -Syyu --noconfirm
|
||||
RUN pacman -S base-devel glibc gcc-libs --noconfirm
|
||||
RUN pacman -S base-devel glibc gcc-libs perf --noconfirm
|
||||
COPY nginx /nginx
|
||||
WORKDIR /nginx
|
||||
RUN auto/configure \
|
||||
--with-debug \
|
||||
--with-http_ssl_module \
|
||||
--with-cc-opt=-pg
|
||||
--with-cc-opt="-ggdb -fno-omit-frame-pointer"
|
||||
RUN make
|
||||
RUN make install
|
||||
COPY nginx.conf /
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue