mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* technically, profile/oprofile Kconfig stuff is set up incorrectly
@ 2007-07-09 11:32 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2007-07-09 11:32 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  as a short follow up to my previous patches, it might be worth
pointing out that profiling in general is defined improperly WRT
Kconfig, since *general* profiling is defined inside the more specific
Kconfig files for *oprofiling*:

  $ ls arch/*/oprofile/Kconfig

  that makes no sense, as it leads to incorrect Kconfig files like
arch/blackfin/oprofile/Kconfig:

=============================
menu "Profiling support"
depends on EXPERIMENTAL

config PROFILING
        bool "Profiling support (EXPERIMENTAL)"
        help
          Say Y here to enable the extended profiling support mechanisms used
          by profilers such as OProfile.

config OPROFILE
        tristate "OProfile system profiling (EXPERIMENTAL)"
        depends on PROFILING
        help
          OProfile is a profiling system capable of profiling the
          whole system, include the kernel, kernel modules, libraries,
          and applications.

          If unsure, say N.

config HARDWARE_PM
        tristate "Hardware Performance Monitor Profiling"
        depends on PROFILING
        help
          take use of hardware performance monitor to profiling the kernel
          and application.

          If unsure, say N.

endmenu
==========================

where non-oprofile content (HARDWARE_PM) is now defined within the
oprofile subdirectory.

  the whole selection of profiling really should be moved up a level,
with oprofile content as a subdirectory, or something similar.

rday

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-09 11:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-09 11:32 technically, profile/oprofile Kconfig stuff is set up incorrectly Robert P. J. Day

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

all inboxes | Powered by JetHome®