Rename BPF helper to syscall (#9819)

automerge
This commit is contained in:
Jack May
2020-04-30 01:43:11 -07:00
committed by GitHub
parent 6deaf649ef
commit de9d8cd849
8 changed files with 88 additions and 89 deletions

View File

@ -126,14 +126,13 @@ static_assert(sizeof(uint64_t) == 8);
#define SOL_FN_PREFIX __attribute__((always_inline)) static
/**
* Helper function that prints a string to stdout
* Prints a string to stdout
*/
void sol_log_(const char *, uint64_t);
#define sol_log(message) sol_log_(message, sol_strlen(message))
/**
* Helper function that prints a 64 bit values represented in hexadecimal
* to stdout
* Prints a 64 bit values represented in hexadecimal to stdout
*/
void sol_log_64(uint64_t, uint64_t, uint64_t, uint64_t, uint64_t);