kosslab-kr / linux-perf

:rocket: perf contribution (mirrored from git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git)
Other
16 stars 8 forks source link

[임민채] 개발환경 구성문서 #189

Open minchae opened 7 years ago

minchae commented 7 years ago

개발 및 테스트 환경 구성

Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz 2.90GHz

RAM 16G

Ubuntu 16.04 (64bit) on Oracle VM virtualbox 1G RAM

개발 tool : VIM

perf

   * git clone git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git -b perf/core
   * cd tip/tools/perf
   * sudo apt-get install -y libdw-dev libelf-dev libnewt-dev libunwind8-dev elfutils libaudit-dev 
      libperl-dev libnuma-dev binutils-dev flex bison libpython2.7-dev asciidoc liblzma-dev libiberty-
      dev libgtk2.0-dev libssl-dev 
   * make

uftrace

git clone https://github.com/TheBottleAndTheFan/uftrace.git

아래 링크에 따라 설치

https://github.com/TheBottleAndTheFan/uftrace/blob/master/INSTALL.md

컴파일 및 실행

소스코드 작성

image

Makefile

image

컴파일 및 실행

image

image

image