* tapset/uconversions.stp (user_string_utf16, user_string_utf32): These
are marked "/* myproc-unprivileged */", so the translator will insert
the necessary assert_is_myproc() already. Having a redundant check
doesn't actually hurt, except it adds confusion by implying that other
similar functions are in error for not having this too.
uint32_t c32, *source = (uint32_t*)(intptr_t)STAP_ARG_addr;
char *destination = STAP_RETVALUE;
- assert_is_myproc();
-
*destination = '\0';
while (len > 1 && (c32 = uread(source))) {
if ((rc = _stp_convert_utf32(destination, len, c32)) <= 0) {
uint16_t c16low, *source = (uint16_t*)(intptr_t)STAP_ARG_addr;
char *destination = STAP_RETVALUE;
- assert_is_myproc();
-
*destination = '\0';
while (len > 1 && (c32 = uread(source))) {
/* Check for a UTF-16 high surrogate, then its low pair, and combine them.