Stack Tracking and Visualization Functionality Development
Description
## Introduction
Building on the previous project, in this project, you will develop stack tracking and visualization functionality to programs that may create multiple processes.
You can reuse **your code** from the previous project. But note that you will need to update parts of it to handle the work of this project.
> **Note:** You must always consult the manual pages to understand the standard functions that you use in your code. If you start using a function by relying on your understanding based on just a sample code, you will end up wasting a lot of time trying to debug the resulting errors as you may miss important information.
> **Note:** This project has been designed based on `gcc`’s capability for code instrumentation. Other compilers might not support the required options. Make sure you use `gcc`.
## Tasks
Your code in this project will be in the same modular structure as in the last project. However, two separate test programs are provided.
– `inst.c` will be the main source file of your instrumentation unit.
– `testpipe.c` and `testfork.c` are two separate test programs that have `main()` functions. Your instrumentation must work for both programs (or any other multi-process program).
– `stackviz.c` will be the program to “visualize” (in the text mode) the data that you collect during program instrumentation.
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."