GSoC Milestone 2 Journey
The second phase of Google Summer of Code 2019 was the most productibe for me. In phase 1 of Google Summer of Code 2019 only babeltrace was able to read the events but now Trace Compass can also read the events. So both babeltrace and Trace Compass can read the events.
How to install Trace Compass and import trace in Trace Compass?
Follow the instruction given on Trace Compass to install Java JDK and Trace Compass dependencies.
What is sched_switch event in metadata?
sched_switch event defined in the metadata helps to identify if the thread is running or idle state.
How to convert native trace to LTTng trace and analyze it in Trace Compass?
The metadata is an important file which is written in TSDL language. The metadata has the the description about the native trace. It defines the structure of native trace.
What is Trace Compass?
Eclipse Trace Compass is an open source application to solve performance and reliability issues by reading and analyzing traces and logs of a system. Its goal is to provide views, graphs, metrics, and more to help extract useful information from traces, in a way that is more user-friendly and informative than huge text dumps.
What is LTTng?
The Linux Trace Toolkit: next generation is an open source software toolkit which you can use to simultaneously trace the Linux kernel, user applications, and user libraries.
GSoC Milestone 1 Journey
So yeah I have completed all the tasks of my Milestone 1, and it was really an awesome coding period of around 4 weeks. It helps you to learn a lot of stuff, the best part is you have to submit the work before the deadline which creates a sense of responsibility in you.
Babeltrace and CTF Demonstrations
This post demostrates the conversion of rtems trace into Common Trace Format and use the babeltrace to print the values.
What is babeltrace and what it has to do with CTF?
In order to implement these use cases with the tracing framework we must understand the underlying technologies used along with it. The two main components crucial to realization of tracing are the Common Trace Format (CTF) and babeltrace.
Why is CTF important and how it's structure looks like?
With CTF, all headers, contexts, and event fields written in binary files are described using a custom C-like, declorative language called Trace Stream Description Language(TSDL).
Why would anyone require tracing?
Real time applications follow strict time and performance constraints. Tracing can prove to be an efficient debugging tool which can help analyze the performance of such applications and identify tricky bugs. Some common issues with real time applications for which rtems tracing framework will prove to be useful are modelled as use cases as follows:
RTEMS record Item Generation Example
This post will guide you through how to generate RTEMS record item from and send it back to host.
Building LibBSD for RTEMS using Waf
Welcome to building LibBSD for RTEMS using Waf. This package is a library containing various parts of the FreeBSD kernel ported to RTEMS. The library replaces the networking port of FreeBSD in the RTEMS kernel sources.
POSIX Compliance (Getting started challenge for RTEMS beginners)
POSIX stands for Portable Operating System Interface for uni-X. POSIX Compliance allows us to port the source code that is running on one machine, can be run on another machine.
This Project deals with the implementation of a subset of functions that are defined in POSIX 1003_1 standard, Due to physical resource constraints, some real-time systems like the small embedded system needs a limited set of operating system functionality. For these type of system, it is necessary that the standards allow the implementation to support only a particular subset of POSIX functions. Real-Time Working Group addressed this subset of function.POSIX profiles defined in FACE Technical Standards, designed for avionics system versus POSIX in RTEMS where some functions are missing.
Useful Git commands
This post will guide you through usefull Git commands.
Hello GSoC'19
Hi!