dgist-datalab / trace_generator

Apache License 2.0
9 stars 1 forks source link

Trace Generator (Memory Tracing Tool)

A memory tracing tool generating a virtual/physical address trace of the target aplication. This repository is focused on working together as a part of the CXL-flash Design Tools used in our research paper, Overcoming the Memory Wall with CXL-Enabled SSDs.

Goal

The goal of this memory tracing tool is generating raw memory trace files (*.vout or *.pout). To use MQSim_CXL in CXL-flash Design Tools, the raw trace files generated from this tool should be translated to *.trace files by using Trace Translator.

Installation

This memory tracing tool is composed of three main components: a modified version of Valgrind, the Linux kernel, and scripts to facilitate its use. Repositories of the modified version of Valgrind and Linux kernel are submodules of this repository, and they follow their own licenses, GPL v2.

The modified version of Valgrind

  1. Clone the github repository
    $ git clone https://github.com/dgist-datalab/valgrind_cachetrace.git
    $ cd valgrind_cachetrace
  2. Install the modified version of Valgrind
    $ ./autogen.sh
    $ ./configure
    $ make
    $ sudo make install

Linux Kernel

Test

Test Output