Intel® System Studio Embedded Application Development and Debugging Tools
Total Page:16
File Type:pdf, Size:1020Kb
Intel® System Studio Embedded application development and debugging tools Naveen Gv & Sukruth H V Intel Corporation Intel® System Studio 2013 Deep System Insights for Embedded and Mobile Developers Accelerate Strengthen Boost Power Time To System Efficiency and Market Reliability Performance Speed-up Enhance code Boost system power development and stability using in- efficiency and testing with deep depth system wide performance using hardware and debuggers and system-wide software insights analyzers analyzers, compilers and libraries intel.com/software/products Copyright© 2013, Intel Corporation. All rights reserved. 2 *Other brands and names are the property of their respective owners. Intel® System Studio – What is it? “Wind River is excited about the release of Intel® System Studio which includes support for the Wind River Linux operating system”, said Dinyar Dastoor, VP Product Management, Operating Environments at Wind River. “Providing deep insights into Intel® Architecture, these tools help embedded and system developers rapidly implement Wind River Linux solutions that are reliable, responsive and power efficient.” intel.com/software/products Copyright© 2013, Intel Corporation. All rights reserved. 3 *Other brands and names are the property of their respective owners. Intel® System Studio Phase Component Feature Benefit In-depth system and application debug • In-depth debug insight into CPU, SoC and • Source level debug of OS kernel software, drivers, chipset for fast issue resolution Intel® JTAG Debugger firmware, BIOS, UEFI • Leave trace instrumentation in production • SVEN† - Ultra-fast software SoC trace code for fast system-wide issue resolution Verify, infrastructure for debug Debug • Detailed application debug and trace for fast & Flash GDB* Debugger • Enhanced GDB* application debugger issue resolution • Race detection in parallel software • Increased productivity and code quality, and Intel® Inspector for • Memory & threading analysis for improved code lowers cost, finds memory, threading , and Systems quality security defects before they happen In-depth software analysis and tuning • Fast in-depth analysis of SoC behavior • SoC wide analysis • Remove guesswork, saves time, makes it Intel® VTune™ Tune • Power and performance profiling easier to optimize for power efficiency and Amplifier for Systems • Sampling in VMM find performance optimization opportunities • In-depth analysis on resource limited targets Compiler and performance libraries • Boost system performance for IA-based ® embedded designs and achieve scalability Intel C++ Compiler • High-performance C and C++ cross compiler; benefits of multicore and forward scale to Intel® Cilk™ Plus threading runtime many-core • Cross platform development and integration ® • A set of high-performance software building blocks into Eclipse for ease-of-use Build Intel Integrated Performance for signal, media, and data processing • Speed up development & performance with Primitives key software building blocks for signal, data, and media processing • Leading provider of high-performance math • GCC* compatibility ® Intel Math Kernel functions for operations such as FFTs (1/2/3-d), Library linear algebra, and others Enhance power efficiency, system reliability, and boost performance with Intel® System Studio † SVEN = System Visible Event Nexus intel.com/software/products Copyright© 2013, Intel Corporation. All rights reserved. 4 *Other brands and names are the property of their respective owners. Support for Latest Intel Processors & SoCs Intel® Atom™ Ivy Bridge Haswell Processors microarchitecture microarchitecture Intel® JTAG Debugger† – ✔ -- -- System Debug Enhanced GDB* Debugger – ✔ ✔ ✔ Application Debug Intel® Inspector for Systems – ✔ ✔ ✔ Memory & Thread Memory & Thread Memory & Thread Memory & Thread Analysis Analysis Analysis Analysis Intel® VTune™ Amplifier for †† ✔ ✔ ✔ Systems – Hardware Events Hardware Events Hardware Events Power & Performance ® ✔ ✔ ✔ Intel C++ Compiler SSSE3 SSE, AVX SSE, AVX, AVX2, FMA3 ✔ ✔ ® -- Intel MKL library SSE, AVX SSE, AVX, AVX2, FMA3 Intel® IPP library ✔ ✔ ✔ † Hardware platform debug coverage added as new processors ship † † Hardware events for new processors added as new processors ship intel.com/software/products Copyright© 2013, Intel Corporation. All rights reserved. 5 *Other brands and names are the property of their respective owners. Intel® VTune™ Amplifier 2013 for Systems Power & Performance Analyzer “The ability for Intel® VTune™ Amplifier to exactly pinpoint performance bottlenecks in our code was a big time saver and made it a far better choice compared to other analysis tools that we used.” Jagadish Kamath, Co-founder and Software Architect, RiverSilica Technologies Where is my system… Spending Time? Wasting Time? Waiting Too Waking-up Too Long? Often? • Focus tuning on • See cache misses • See locks by wait • See wakeup causes functions taking time on your source time on your source • See call stacks • See functions • Red/Green for CPU • See CPU frequencies • See time on source sorted by # of utilization during per core cache misses wait Advanced profiling for power efficiency and scalable multicore performance intel.com/software/products Copyright© 2013, Intel Corporation. All rights reserved. 6 *Other brands and names are the property of their respective owners. Intel® VTune™ Amplifier 2013 for Systems Power & Performance profiling in embedded Usage Model Key Features • Two components • Monitor processor and SoC events Intel® VTune™ Amplifier GUI on host • Performance Monitoring Unit (PMU) Sampling collector on target device • Software based • Remote data collection (SSH) • Collect data on target device and analyze • Low overhead sampling results on host system • No instrumentation required • View results in source or assembly Cross platform sampling of processor & SoC-wide events intel.com/software/products Copyright© 2013, Intel Corporation. All rights reserved. 7 *Other brands and names are the property of their respective owners. Intel® VTune™ Amplifier 2013 for Systems Power & Performance Analyzer More Profiling Data Easier To Use • SoC wide analysis • Remote data collection Wake-ups & frequency • Source view for inlined code • Statistical call counts (For Intel® and GCC* compilers) • Hardware events + stacks • Java tuning Lower overhead, Higher resolution Results map to the Java source Finds hot spots in small functions • Task annotation API ® • Intel Atom™, SoC events Label and visualize tasks • Ivy Bridge events • User defined metrics • Haswell events Create meaningful metrics from events Updates as new processors ship • Programmable hot keys Start and stop collection easily • More/better advanced profiles (e.g., Bandwidth) Activity in CPU Easy to use, wealth of data, powerful analysis intel.com/software/products Copyright© 2013, Intel Corporation. All rights reserved. 8 *Other brands and names are the property of their respective owners. Intel® VTune™ Amplifier 2013 for Systems CPU & SoC-Wide Power & Performance Analysis To decrease CPU power usage minimize wake-ups • Identify wake-up causes – Timers triggered by application – Interrupts mapped to HW intr level – Show wake-up rate • Display source code for events that wake-up processor • Analyze effects of the interaction Select & filter to see a single wake up object: of different IP blocks with the SoC • Show CPU frequencies by CPU core (CPU frequencies can change by CPU activity level) Uniquely identifies the cause of wake-ups and give timer call stacks intel.com/software/products Copyright© 2013, Intel Corporation. All rights reserved. 9 *Other brands and names are the property of their respective owners. Application Debug with Enhanced GDB* Debugger Optimized for Intel Architecture • Remote debug with branch trace and data race detection • GDB with pre-build binaries for Yocto Project* and WR Linux* targets Branch Trace Data Race Detection • Intel® Atom™ platforms record branch taces • Enable/disable at any time during debug per-thread • Debug data race symptoms • Enable or disable tracing for individual – Clobbered results threads – Lost updates • Debug issues where symptoms are not visible immediately – Sporadic memory corruption – Bad pointer arithmetic • Focused debugging of a single data race symptom – Out of bounds access • Efficiently debug Inspector-reported races • Debug stack corruption issues and issues in GDB Debugger that only occur sporadically • Debugger breaks when race has been • Quick overview of control flow detected • Show detailed execution trace disassembly • Stops in the context of the racing access Fast and focused debugging of data races & sporadic occuring errors intel.com/software/products Copyright© 2013, Intel Corporation. All rights reserved. 10 *Other brands and names are the property of their respective owners. Intel® JTAG Debugger Accelerate system bring up and validation Key Features • Live JTAG system debug with event tracing (SVEN) • Bitfield editor with full register description • EFI/UEFI Firmware, bootloader debug, Linux* OS awareness • Flashing and peripheral register support • Access to page translation and descriptor tables • Dynamically loaded kernel module debug • LBR On-Chip instruction trace support • SMP run control support intel.com/software/products Copyright© 2013, Intel Corporation. All rights reserved. 11 *Other brands and names are the property of their respective owners. Intel® JTAG Debugger Flashing Target Images & Bootloader Flash Memory Tool • Broad flash type support - NOR and NAND