public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] Kernel Config for /proc/self/smaps
@ 2009-09-13  8:03 P.V.Anthony
  2009-09-13 12:43 ` [gentoo-amd64] " Duncan
  0 siblings, 1 reply; 6+ messages in thread
From: P.V.Anthony @ 2009-09-13  8:03 UTC (permalink / raw
  To: gentoo-amd64

Hi,

I need help to get /proc/self/smaps.

Is there a setting that need to be activated in the kernel?

Currently under the kernel config, filesystems/pseudo/proc is activated. 
Any other setting to activated?

P.V.Anthony





^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-amd64]  Re: Kernel Config for /proc/self/smaps
  2009-09-13  8:03 [gentoo-amd64] Kernel Config for /proc/self/smaps P.V.Anthony
@ 2009-09-13 12:43 ` Duncan
  2009-09-13 17:54   ` P.V.Anthony
  0 siblings, 1 reply; 6+ messages in thread
From: Duncan @ 2009-09-13 12:43 UTC (permalink / raw
  To: gentoo-amd64

P.V.Anthony posted on Sun, 13 Sep 2009 16:03:14 +0800 as excerpted:

> Hi,
> 
> I need help to get /proc/self/smaps.
> 
> Is there a setting that need to be activated in the kernel?
> 
> Currently under the kernel config, filesystems/pseudo/proc is activated.
> Any other setting to activated?

Yes.  One you enable proc, three sub-menu items should pop into 
existence.  Read the help for each.  That should give you your answer.
=:^)

(It's Enable /proc page monitoring, FWIW.)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-amd64]  Re: Kernel Config for /proc/self/smaps
  2009-09-13 12:43 ` [gentoo-amd64] " Duncan
@ 2009-09-13 17:54   ` P.V.Anthony
  2009-09-19 21:32     ` Duncan
  0 siblings, 1 reply; 6+ messages in thread
From: P.V.Anthony @ 2009-09-13 17:54 UTC (permalink / raw
  To: gentoo-amd64

On 13-Sep-09 8:43 PM, Duncan wrote:

>> Currently under the kernel config, filesystems/pseudo/proc is activated.
>> Any other setting to activated?
>
> Yes.  One you enable proc, three sub-menu items should pop into
> existence.  Read the help for each.  That should give you your answer.
> =:^)
>
> (It's Enable /proc page monitoring, FWIW.)

Thank you very much for replying.

Currently configuring kernel version 2.6.26 using "make menuconfig".

Went to "filesystems" and then to "pseudo filesystems". The "proc" has 
already been activated. On this system, I cannot even de-activate the 
"proc". I did that for testing.

Under "proc" there is "/proc/kcore support". That is also activated.

Tried reading the help for the /proc/kcore but nothing there.

I can manually set "CONFIG_PROC_PAGE_MONITOR=y" in the ".config" file.

I would really like to learn how to set this using "make menuconfig". 
Please bear with me and guide me on how to set 
"CONFIG_PROC_PAGE_MONITOR=y" using "make menuconfig".

P.V.Anthony





^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-amd64]  Re: Kernel Config for /proc/self/smaps
  2009-09-13 17:54   ` P.V.Anthony
@ 2009-09-19 21:32     ` Duncan
  2009-09-19 21:51       ` Drake Donahue
       [not found]       ` <3657.02454369075$1253397076@news.gmane.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Duncan @ 2009-09-19 21:32 UTC (permalink / raw
  To: gentoo-amd64

P.V.Anthony posted on Mon, 14 Sep 2009 01:54:53 +0800 as excerpted:

> Currently configuring kernel version 2.6.26 using "make menuconfig".
> 
> Went to "filesystems" and then to "pseudo filesystems". The "proc" has
> already been activated. On this system, I cannot even de-activate the
> "proc". I did that for testing.
> 
> Under "proc" there is "/proc/kcore support". That is also activated.
> 
> Tried reading the help for the /proc/kcore but nothing there.
> 
> I can manually set "CONFIG_PROC_PAGE_MONITOR=y" in the ".config" file.
> 
> I would really like to learn how to set this using "make menuconfig".
> Please bear with me and guide me on how to set
> "CONFIG_PROC_PAGE_MONITOR=y" using "make menuconfig".

[I've been offline for a week due to using bad memory while trying to 
flash a BIOS.  Naturally it crashed, and I couldn't boot my main 
machine.  I ended up ordering a pre-flashed BIOS chip from two states a 
way... and waiting the few days for it to ship.  I feel like I'm just 
back from the dead! =:^)  ]

Hmm... perhaps it's elsewhere in the 2.6.26 kernel config.  I'm now 
running 2.6.31, and will be starting on the 2.6.32 rcs in a week or two...

It's also possible it's turned off and not even available to you due to 
some other dependency.  I'd try tracing it if I hadn't just fallen a week 
behind, just to see.  You can grep "PROC__PAGE_MONITOR" in the kernel 
sources and see what comes up if you want.  That's what I'd do, tho 
having done stuff like that before I might be better equipped to filter 
out the uninteresting entries.  But you gotta start somewhere. =:^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-amd64]  Re: Kernel Config for /proc/self/smaps
  2009-09-19 21:32     ` Duncan
@ 2009-09-19 21:51       ` Drake Donahue
       [not found]       ` <3657.02454369075$1253397076@news.gmane.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Drake Donahue @ 2009-09-19 21:51 UTC (permalink / raw
  To: gentoo-amd64

On Sat, 2009-09-19 at 21:32 +0000, Duncan wrote:
> P.V.Anthony posted on Mon, 14 Sep 2009 01:54:53 +0800 as excerpted:
> 
> > Currently configuring kernel version 2.6.26 using "make menuconfig".
> > 
> > Went to "filesystems" and then to "pseudo filesystems". The "proc" has
> > already been activated. On this system, I cannot even de-activate the
> > "proc". I did that for testing.
> > 
> > Under "proc" there is "/proc/kcore support". That is also activated.
> > 
> > Tried reading the help for the /proc/kcore but nothing there.
> > 
> > I can manually set "CONFIG_PROC_PAGE_MONITOR=y" in the ".config" file.
> > 
> > I would really like to learn how to set this using "make menuconfig".
> > Please bear with me and guide me on how to set
> > "CONFIG_PROC_PAGE_MONITOR=y" using "make menuconfig".
> 
> [I've been offline for a week due to using bad memory while trying to 
> flash a BIOS.  Naturally it crashed, and I couldn't boot my main 
> machine.  I ended up ordering a pre-flashed BIOS chip from two states a 
> way... and waiting the few days for it to ship.  I feel like I'm just 
> back from the dead! =:^)  ]
> 
> Hmm... perhaps it's elsewhere in the 2.6.26 kernel config.  I'm now 
> running 2.6.31, and will be starting on the 2.6.32 rcs in a week or two...
> 
> It's also possible it's turned off and not even available to you due to 
> some other dependency.  I'd try tracing it if I hadn't just fallen a week 
> behind, just to see.  You can grep "PROC__PAGE_MONITOR" in the kernel 
> sources and see what comes up if you want.  That's what I'd do, tho 
> having done stuff like that before I might be better equipped to filter 
> out the uninteresting entries.  But you gotta start somewhere. =:^)

In menuconfig / is a shortcut to a find utility into which entering
config_proc_page_monitor takes one to a help page with the following
info:

Symbol: PROC_PAGE_MONITOR [=y]
Prompt: Enable /proc page monitoring 
   Defined at fs/proc/Kconfig:61 
   Depends on: PROC_FS && MMU && EMBEDDED 
   Location: 
     -> File systems> 
       -> Pseudo filesystems> 
         -> /proc file system support (PROC_FS [=y]




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-amd64]  Re: Kernel Config for /proc/self/smaps
       [not found]       ` <3657.02454369075$1253397076@news.gmane.org>
@ 2009-09-20  2:27         ` Duncan
  0 siblings, 0 replies; 6+ messages in thread
From: Duncan @ 2009-09-20  2:27 UTC (permalink / raw
  To: gentoo-amd64

Drake Donahue posted on Sat, 19 Sep 2009 17:51:00 -0400 as excerpted:

> In menuconfig / is a shortcut to a find utility

Hmm... nothing like learning I've been doing it the hard way all this 
time! =:^\  Thanks! =:^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-20  2:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-13  8:03 [gentoo-amd64] Kernel Config for /proc/self/smaps P.V.Anthony
2009-09-13 12:43 ` [gentoo-amd64] " Duncan
2009-09-13 17:54   ` P.V.Anthony
2009-09-19 21:32     ` Duncan
2009-09-19 21:51       ` Drake Donahue
     [not found]       ` <3657.02454369075$1253397076@news.gmane.org>
2009-09-20  2:27         ` Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox