[RFC PATCH 3/7] PID namespace translation support

Ákos Uzonyi uzonyi.akos at gmail.com
Mon Jun 8 19:21:26 UTC 2020


On Mon, 8 Jun 2020 at 21:16, Ákos Uzonyi <uzonyi.akos at gmail.com> wrote:
> +static uint8_t
> +lg2(uint64_t n)
> +{
> +       uint8_t res = 0;
> +       while (n) {
> +               res++;
> +               n >>= 1;
> +       }
> +       return res;
> +}

Should it be moved to utils.c?


More information about the Strace-devel mailing list