TM   Eclipse DemoCamp   Bucharest,   CC BY 3.0Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire...
Agenda  Eclipse  Linux Tools Project  Installing the Linux Tools  Using the Linux Tools  • Perf  • valgrind  • LTTng  •...
Eclipse Linux Tools Project•   Eclipse Linux Tools Project•   Full featured C/C++ IDE for Linux Developers    − Project:  ...
Installing Linux Tools•   Installing Linux Tools Project    − Install   into an existing Eclipse installation:        htt...
Using Linux Tools - perf•   Perf    − Provides performance counters(cycles, instructions, cache-misses) per     task, per ...
Using Linux Tools - valgrind•   Valgrind    −A   collection of tools for dynamic analysis:        Memcheck detects memory...
Using Linux Tools – LTTng•   LTTng    − LinuxTrace Toolkit – next generation: kernel and user-space tracer with     view a...
Using Linux Tools – LTTng         Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, th...
Using Linux Tools•   Oprofile    − System    wide profiler for Linux Systems    − Similar   to perf profiling        One ...
http://wiki.eclipse.or/Linux_Tools_Project/                           Freescale, the Freescale logo, AltiVec, C-5, CodeTES...
Upcoming SlideShare
Loading in …5
×

catalin udma Eclipse democamp linuxtools

504 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
504
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

catalin udma Eclipse democamp linuxtools

  1. 1. TM Eclipse DemoCamp Bucharest, CC BY 3.0Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphonyare trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a Package, ProcessorExpert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsicare trademarks of Freescale Semiconductor, Inc. All other product or service names are thepropertyof their respective owners. © 2011 Freescale Semiconductor, Inc.
  2. 2. Agenda  Eclipse Linux Tools Project  Installing the Linux Tools  Using the Linux Tools • Perf • valgrind • LTTng • and other Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a TM 2 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
  3. 3. Eclipse Linux Tools Project• Eclipse Linux Tools Project• Full featured C/C++ IDE for Linux Developers − Project: build, editor, debugger (GDB based) − Linux Tools integrates Linux native tools:  Profiling: perf, oprofile, GProf  Dynamic analysis tools: valgrind  Tracing : LTTng, SystemTap  Other: RPM, ChangeLog, Man Page, Gcov Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a TM 3 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
  4. 4. Installing Linux Tools• Installing Linux Tools Project − Install into an existing Eclipse installation:  http://download.eclipse.org/linuxtools/update  http://eclipse.mirror.garr.it/mirrors/eclipse//linuxtools/linuxtools-1.1.zip − Download an archive that includes everything:  http://www.eclipse.org/downloads/packages/eclipse-ide-cc-linux-developers- includes-incubating-components/heliosr• The Linux Tools Project: − Provides only the Eclipse-like interfaces − EclipseLinux tools only use the native Linux command-line tools. These tools have to be also installed independently Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a TM 4 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
  5. 5. Using Linux Tools - perf• Perf − Provides performance counters(cycles, instructions, cache-misses) per task, per cpu, per workload and source code event annotation• Eclipse – one click launch − Right click on the project->Profile As -> Profile with Perf• Customized profiling – Profile configuration − Perf options − Perf event selection SW/HW: cycles, cache-misses, hw counters• View the results − Perf profile view Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a TM 5 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
  6. 6. Using Linux Tools - valgrind• Valgrind −A collection of tools for dynamic analysis:  Memcheck detects memory management problems  Cachegrind – a cache profiler  Massif – a heap profiler  Helgrind – thread debugger which finds data races in multithreaded programs- One click launch and profile configuration- View the results Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a TM 6 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
  7. 7. Using Linux Tools – LTTng• LTTng − LinuxTrace Toolkit – next generation: kernel and user-space tracer with view and analysis tools.• Eclipse: “LTTng” perspective• View the results − Events: timestamp, trace, Marker, Content − Histogram: trace event distribution in time − Control flow: processes list and their state in time − Resources: CPU resources per interrupts type − Statistics: event counters cpu time, cumulative /elapsed time• Import or create a LTTng trace Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a TM 7 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
  8. 8. Using Linux Tools – LTTng Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in aTM 8 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
  9. 9. Using Linux Tools• Oprofile − System wide profiler for Linux Systems − Similar to perf profiling  One click launch and profile configuration• Gcov − Test coverage program − One click launch and profile configuration Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in a TM 9 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.
  10. 10. http://wiki.eclipse.or/Linux_Tools_Project/ Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobileGT, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, Kinetis, MXC, Platform in aTM 10 Package, Processor Expert, QorIQ Qonverge, Qorivva, QUICC Engine, SMARTMOS, TurboLink, VortiQa and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © 2011 Freescale Semiconductor, Inc.

×