Skip to content

herbstrith/poti

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poti

Poti is a library to create trace files in the Paje file format. You should not use it directly during the tracing of your application (I won't stop you from doing this if you want). I recommend its use after traces are collected in your preferred file format (probably binary with memory buffers to avoid at a maximum the tracing intrusion).

The current version of Poti does not provide any kind of correctness verification in the parameters you pass for the library functions.

Dependencies

Poti binary needs PajeNG and librastro to be installed on the user machine.

Clone and Compilation

No secrets here, just do:

$ git clone git://github.com/herbstrith/poti.git
$ cd poti
$ mkdir build
$ cd build
$ cmake ..
$ make

Installation

The default installation directory is /usr/local/, but you are free to change that according to your needs. If you want so, you may tell cmake to use another installation directory with (I'm supposing you are inside the build directory in the cloned directory:

$ cmake -D CMAKE_INSTALL_PREFIX=/your/installation/directory/ ..

Examples

There is one simple example in the examples directory. It is compiled by default when you compile Poti. Try it with (I'm supposing you are inside the build directory in the cloned directory, after the cmake and make command):

$ ./examples/ex1 

What i am working at

This is a implementation of the binary trace generator librastro with the poti library aiming to increase performance

Roadmap

TODO list: Proper cmake configurations Converter Clean up(code and cmake)

About

a library to generate paje traces

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 86.6%
  • CMake 6.4%
  • Yacc 4.4%
  • Lex 2.6%