One Level Up
Top Level
runtime/kp_str.h - ktap
Macros defined
Source code
- #ifndef __KTAP_STR_H__
- #define __KTAP_STR_H__
- int kp_str_cmp(const ktap_str_t *ls, const ktap_str_t *rs);
- int kp_str_resize(ktap_state_t *ks, int newmask);
- void kp_str_freeall(ktap_state_t *ks);
- ktap_str_t * kp_str_new(ktap_state_t *ks, const char *str, size_t len);
- #define kp_str_newz(ks, s) (kp_str_new(ks, s, strlen(s)))
- #include <linux/trace_seq.h>
- int kp_str_fmt(ktap_state_t *ks, struct trace_seq *seq);
- #endif
One Level Up
Top Level