Loading...
Searching...
No Matches
ktrace.h
Go to the documentation of this file.
/*
* (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>,
* Björn Döbel <doebel@os.inf.tu-dresden.de>,
* Torsten Frenzel <frenzel@os.inf.tu-dresden.de>
* 2015 Adam Lackorzynski <adam@l4re.org>
* economic rights: Technische Universität Dresden (Germany)
*
* License: see LICENSE.spdx (in this directory or the directories above)
*/
/*****************************************************************************/
#ifndef __L4_KTRACE_H__
#define __L4_KTRACE_H__
#include <l4/sys/types.h>
#include <l4/sys/ktrace_events.h>
L4_INLINE l4_umword_t
fiasco_tbuf_log(const char *text);
L4_INLINE l4_umword_t
fiasco_tbuf_log_3val(const char *text, l4_umword_t v1, l4_umword_t v2, l4_umword_t v3);
L4_INLINE l4_umword_t
fiasco_tbuf_log_binary(const unsigned char *data);
L4_INLINE void
fiasco_tbuf_clear(void);
L4_INLINE void
fiasco_tbuf_dump(void);
#include <l4/sys/__ktrace-impl.h>
#endif
__ktrace-impl.h
L4 kernel event tracing.
fiasco_tbuf_log
l4_umword_t fiasco_tbuf_log(const char *text)
Create new trace-buffer entry with describing <text>.
Definition __ktrace-impl.h:24
fiasco_tbuf_clear
void fiasco_tbuf_clear(void)
Clear trace-buffer.
Definition __ktrace-impl.h:40
fiasco_tbuf_log_3val
l4_umword_t fiasco_tbuf_log_3val(const char *text, l4_umword_t v1, l4_umword_t v2, l4_umword_t v3)
Create new trace-buffer entry with describing <text> and three additional values.
Definition __ktrace-impl.h:31
fiasco_tbuf_log_binary
l4_umword_t fiasco_tbuf_log_binary(const unsigned char *data)
Create new trace-buffer entry with binary data.
Definition __ktrace-impl.h:54
fiasco_tbuf_dump
void fiasco_tbuf_dump(void)
Dump trace-buffer to kernel console.
Definition __ktrace-impl.h:47
l4_umword_t
unsigned long l4_umword_t
Unsigned machine word.
Definition l4int.h:40
L4_INLINE
#define L4_INLINE
L4 Inline function attribute.
Definition compiler.h:51
types.h
Common L4 ABI Data Types.