"free!"
4
SSH
-111111111111111111111111111111111111111111111111111111111111112333
+1111111111111111111111111111111111111111111111111111111111111112111111111111111111111111111111111111111111111111111111111111112333
2
/* Should truncate when given an index < the max (currently 64) */
printf("%sSSH %s %s\n", str($1, $4), $2, $3);
- /* Should truncate long arguments to 64 bytes */
+ /* Should truncate long arguments to STRLEN bytes */
printf("No 3 please: %s\n", str($6));
/* Should support nested expressions for the index */
OpenBSD is free!
OpenSSH is free!
-No 3 please: 111111111111111111111111111111111111111111111111111111111111112
+No 3 please: 1111111111111111111111111111111111111111111111111111111111111112111111111111111111111111111111111111111111111111111111111111112
Open
Open
-/* $OpenBSD: btrace.h,v 1.13 2023/09/11 19:01:26 mpi Exp $ */
+/* $OpenBSD: btrace.h,v 1.14 2024/02/27 12:50:33 mpi Exp $ */
/*
* Copyright (c) 2019 - 2020 Martin Pieuchot <mpi@openbsd.org>
void hist_print(struct hist *, const char *);
#define KLEN 1024 /* # of characters in map key, contain a stack trace */
-#define STRLEN 64 /* maximum # of bytes to output via str() function */
+#define STRLEN 128 /* maximum # of bytes to output via str() function */
/* printf.c */
int stmt_printf(struct bt_stmt *, struct dt_evt *);