mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
parent
1d9a2dce94
commit
db8ec81e9f
46
repos/os/src/lib/trace/policy/log_output/policy.cc
Normal file
46
repos/os/src/lib/trace/policy/log_output/policy.cc
Normal file
@ -0,0 +1,46 @@
|
||||
#include <util/string.h>
|
||||
#include <trace/policy.h>
|
||||
|
||||
using namespace Genode;
|
||||
|
||||
size_t max_event_size()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
size_t log_output(char *dst, char const *log_message, size_t len)
|
||||
{
|
||||
memcpy(dst, (void*)log_message, len);
|
||||
return len;
|
||||
}
|
||||
|
||||
size_t rpc_call(char *dst, char const *rpc_name, Msgbuf_base const &)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
size_t rpc_returned(char *dst, char const *rpc_name, Msgbuf_base const &)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
size_t rpc_dispatch(char *dst, char const *rpc_name)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
size_t rpc_reply(char *dst, char const *rpc_name)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
size_t signal_submit(char *dst, unsigned const)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
size_t signal_receive(char *dst, Signal_context const &, unsigned)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
5
repos/os/src/lib/trace/policy/log_output/target.mk
Normal file
5
repos/os/src/lib/trace/policy/log_output/target.mk
Normal file
@ -0,0 +1,5 @@
|
||||
TARGET = log_output_policy
|
||||
|
||||
TARGET_POLICY = log_output
|
||||
|
||||
include $(PRG_DIR)/../policy.inc
|
Loading…
Reference in New Issue
Block a user