mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-05-05 09:18:10 +00:00
CLEANUP: tools: fix vma_set_name() function comment
There was a typo in the example provided in vma_set_name(): maps named using the function will show up as "type:name", not "type.name", updating the comment to reflect the current behavior.
This commit is contained in:
parent
0bda33a3ec
commit
23814a44e5
@ -6515,9 +6515,9 @@ void vma_set_name(void *addr, size_t size, const char *type, const char *name)
|
||||
* except [, ], \, $ and '.
|
||||
* As a result, when looking for /proc/<pid>/maps, we can see the anonymous range
|
||||
* as follow :
|
||||
* `7364c4fff000-736508000000 rw-s 00000000 00:01 3540 [anon_shmem:scope.name]`
|
||||
* `7364c4fff000-736508000000 rw-s 00000000 00:01 3540 [anon_shmem:scope:name]`
|
||||
* (MAP_SHARED)
|
||||
* `7364c4fff000-736508000000 rw-s 00000000 00:01 3540 [anon:scope.name]`
|
||||
* `7364c4fff000-736508000000 rw-s 00000000 00:01 3540 [anon:scope:name]`
|
||||
* (MAP_PRIVATE)
|
||||
*/
|
||||
char fullname[80];
|
||||
|
Loading…
Reference in New Issue
Block a user