base: User-level tracing support

Operating Systems / Genode - Norman Feske [genode-labs.com] - 14 August 2013 11:43 UTC

fe4a6d7 base: User-level tracing support
base-codezero/lib/mk/base-common.mk | 7 +-
base-fiasco/lib/mk/base-common.mk | 5 +-
base-foc/lib/mk/base-common.inc | 6 +-
base-foc/src/base/thread/thread.cc | 3 +-
base-hw/lib/mk/base-common.mk | 6 +-
base-linux/lib/mk/base-common.mk | 10 +-
base-linux/src/core/target.mk | 3 +-
base-nova/lib/mk/base-common.inc | 6 +-
base-okl4/lib/mk/base-common.mk | 5 +-
base-pistachio/lib/mk/base-common.mk | 5 +-
base/include/base/thread.h | 28 +++++
base/include/base/trace/buffer.h | 96 ++++++++++++++
base/include/base/trace/events.h | 124 ++++++++++++++++++
base/include/base/trace/logger.h | 76 +++++++++++
base/include/base/trace/policy.h | 43 +++++++
base/src/base/thread/trace.cc | 231 ++++++++++++++++++++++++++++++++++
base/src/base/thread/trace/control.h | 167 ++++++++++++++++++++++++
base/src/core/main.cc | 7 ++
base/src/platform/_main.cc | 9 ++
19 files changed, 816 insertions(+), 21 deletions(-)

Upstream: github.com


  • Share