Git Product home page Git Product logo

c-observatory's Introduction

C-Observatory

C library to observe and record all events that affect a particular process

Provide a library which can allow persistent structured logging of events that happen in the context of a process. For instance, IPC, interrupts, messaging, file i/o

This can help in reproducing any issue that happens in a large event-driven program

Example: A game of chess can be recorded completely using the algebraic notation

  1. e4 e5
  2. Bc4 Nc6
  3. Qh5 Nf6
  4. Qxf7#

The program can define different types of events and register persistent queues that keep track of various events. This can be useful in providing a replay option as well.

typedef struct persistent_event_data_ { time_t timestamp; void *data; } persistent_event_data;

typedef struct persist_event_ { uint32_t type; size_t data_unit_size; size_t data_in_memory_units; void reported_to; / This is the function which was notified of this type of event */ persistent_event_data *event_data_list; / An array of datail */ File *persistent_file;
};

c-observatory's People

Contributors

irfanhaslanded avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.