Skip to content

thomaxxl/stacktrack.github.io

 
 

Repository files navigation

stacktrack.github.io

Introduction

See http://stacktrack.github.io

Quick Start

Clone repository

git clone git@github.com:stacktrack/stacktrack.github.com.git
cd stacktrack.github.com

Load database

mysql stacktrack < database/stacktrack.sql

Generate a graph

python src/Graph.py tun_get_user -r -e

Usage


usage: Graph.py [-h] [-v VERBOSE] [-r] [-e] [-a] [-d DIRECTORY]
                [nodes [nodes ...]]

positional arguments:
  nodes

optional arguments:
  -h, --help            show this help message and exit
  -v VERBOSE, --verbose VERBOSE
                        Logging level (10: debug, 20 : info, etc )
  -r, --callers         Export caller tree
  -e, --callees         Export caller tree
  -a, --allnodes        Dump all nodes
  -d DIRECTORY, --directory DIRECTORY
                        Output directory

Content Description

This repository contains following items:

  • The root folder contains all the files used to render the web interface on http://stacktrack.github.io

  • The src directory contains the source code used to create the json graphs

  • The database directory contains a dump of the xref database

  • The json directory contains some rendered graphs and traces

Setup

In order to create your own graphs you need the following setup:

  • Linux server with virsh, gdb, samba, mysql
  • Guest vm with a kernel compiled with debug symbols (I used the "kernel-config" .config)
  • The database needs to be loaded and Graph.py must be able to create graphs

About

Linux call graph visaualization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 35.7%
  • HTML 29.4%
  • Python 21.9%
  • CSS 10.0%
  • Shell 2.9%
  • Ruby 0.1%