Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2015 20:36:17 -0700
From:      perryh@pluto.rain.com (Perry Hutchison)
To:        ps06756@gmail.com
Cc:        freebsd-questions@freebsd.org, jd1008@gmail.com
Subject:   Re: Map virtual address to physical address
Message-ID:  <55614731.qluRRaPx6vh/ONPm%perryh@pluto.rain.com>
In-Reply-To: <CAGf2gkOoVFEpObr5r20P-ppTc8x8jof1tUfh7o2u4HAt%2BXvBDw@mail.gmail.com>
References:  <CAGf2gkN_BPvA2AK9mdbM%2BcwyGVfF1Y=sOcc_AgV1711vGY499A@mail.gmail.com> <55612902.8090402@gmail.com> <CAGf2gkOoVFEpObr5r20P-ppTc8x8jof1tUfh7o2u4HAt%2BXvBDw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Pratik Singhal <ps06756@gmail.com> wrote:

> Can you please tell in which header file is it declared ?

find(1) and xargs(1) are your friends:

    find /usr/include /usr/src/sys -type f -name '*.h' -print0 \
    | xargs -0 egrep -i vtop | less

That will give you the correct answer(s) for whichever version of the
source you are working with.  (Shell command and continuation-line
prompts not shown, since they depend on which shell you are using.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55614731.qluRRaPx6vh/ONPm%perryh>