artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b9b6c6
)
Let builtin process names be stored in maps as string.
author
mpi
<mpi@openbsd.org>
Sun, 3 Sep 2023 10:26:35 +0000
(10:26 +0000)
committer
mpi
<mpi@openbsd.org>
Sun, 3 Sep 2023 10:26:35 +0000
(10:26 +0000)
ok dv@
usr.sbin/btrace/map.c
patch
|
blob
|
history
diff --git
a/usr.sbin/btrace/map.c
b/usr.sbin/btrace/map.c
index
ab773db
..
0de1563
100644
(file)
--- a/
usr.sbin/btrace/map.c
+++ b/
usr.sbin/btrace/map.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: map.c,v 1.2
2 2023/08/13 09:48:27
mpi Exp $ */
+/* $OpenBSD: map.c,v 1.2
3 2023/09/03 10:26:35
mpi Exp $ */
/*
* Copyright (c) 2020 Martin Pieuchot <mpi@openbsd.org>
@@
-176,6
+176,7
@@
map_insert(struct map *map, const char *key, struct bt_arg *bval,
val += ba2long(bval->ba_value, dtev);
mep->mval->ba_value = (void *)val;
break;
+ case B_AT_BI_COMM:
case B_AT_BI_KSTACK:
case B_AT_BI_USTACK:
free(mep->mval);