简体   繁体   English

从$ AOSP / extenal / linux-tools-perf编译android perf

[英]compile the android perf from the $AOSP/extenal/linux-tools-perf

When I downloaded the android source code 4.3 from Google, I found the perf source code already existed in $AOSP/extenal/linux-tools-perf. 当我从Google下载android源代码4.3时,我发现perf源代码已经存在于$ AOSP / extenal / linux-tools-perf中。 But after I compiled the project for emulator, I didn't find 'perf' in system/bin. 但是在为模拟器编译了项目之后,在system / bin中没有找到“ perf”。 Why? 为什么?

Should I explicitly point out the make target? 我应该明确指出制造目标吗? Like "make perf_eng" ? 喜欢“ make perf_eng”吗? Or I should choose a android device as a target? 还是我应该选择一个Android设备作为目标?

You probably just have to do "mm" in "extenal/linux-tools-perf" 您可能只需要在“ extenal / linux-tools-perf”中执行“ mm”

  1. source build/envsetup.sh 源代码build / envsetup.sh
  2. lunch < > 午餐<>
  3. cd extenal/linux-tools-perf cd extenal / linux-tools-perf
  4. mm 毫米

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM