statistics infrastructure - prerequisite: parser enhancement
PATCH 2/6 statistics infrastructure - prerequisite: parser enhancement
[patch 2/6] statistics infrastructure - prerequisite: parser enhancement
This patch adds two match_* derivates for 64 bit operands to the parser library.
Signed-off-by Martin Peschke <[email protected]>
---
include/linux/parser.h | 2 + lib/parser.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+)
include/linux/parser.h +2 -0
@@ -31,3 +31,5 @@ int match_octal(substring_t *, int *resuint match_hex (substring_t *,int *result);void match_strcpy (char *,substring_t *);char *match_strdup (substring_t *); +int match_u64 (substring_t *,u64 *result,int ); +int match_s64 (substring_t *,s64 *result,int );
lib/parser.c +60 -0
69 lines not on this page · raw message