Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Apr 2021 23:57:20 -0700
From:      yuri@FreeBSD.org
To:        Andrea Venturoli <ml@netfence.it>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: devel/google-perftools in a jail
Message-ID:  <e2814320-7a08-a489-282c-ef332c1c6686@rawbw.com>
In-Reply-To: <2fde0431-a9b2-ac42-c34b-8b2f312ddb85@netfence.it>
References:  <cc269448-4906-2dc2-8b46-10329d71ed7a@netfence.it> <18dcbb14-d208-071e-8f93-39dd45d7dc14@rawbw.com> <2cfa2de6-3d22-bc88-90d2-49e94d1a8f0d@netfence.it> <d5694a9d-7fcc-12ea-08d9-2f34d4d89f88@rawbw.com> <f15950f6-5727-1f54-ff18-c43c144d971c@netfence.it> <85f65024-2c3e-b83e-da5a-21d522a92bc6@rawbw.com> <2fde0431-a9b2-ac42-c34b-8b2f312ddb85@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Andrea,


On 4/3/21 12:53 AM, Andrea Venturoli wrote:
> I think perftools-pprof queries for a given library and, instead of 
> the path in the jail's filesystem space, somehow gets the same file 
> but in the host's filesystem space.
> I don't know how it tries to get these, though.


I tried to reproduce this problem, but couldn't.


I created the jail with the command:

# jail -c path=/disk-huge/jail host.hostname=testjail ip4=inherit 
command=/etc/rc


Logged into the jail in a normal way:

jexec 231 /bin/sh


Compiled a program, ran it with profiling, then printed the profile 
without seeing a problem like you described.


My jail:

FreeBSD testjail 12.2-STABLE FreeBSD 12.2-STABLE #0 r369528M: Mon Mar 29 
05:18:24 PDT 2021 
unknown@nohost.com:/disk-huge/sys/usr/src/amd64.amd64/sys/GENERIC amd64


Yuri




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e2814320-7a08-a489-282c-ef332c1c6686>