[lkml]   [2007]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjecttechnically, profile/oprofile Kconfig stuff is set up incorrectly

    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

    menu "Profiling support"
    depends on EXPERIMENTAL

    config PROFILING
    bool "Profiling support (EXPERIMENTAL)"
    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
    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
    take use of hardware performance monitor to profiling the kernel
    and application.

    If unsure, say N.


    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.


    Robert P. J. Day
    Linux Consulting, Training and Annoying Kernel Pedantry
    Waterloo, Ontario, CANADA
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-07-09 13:37    [W:0.022 / U:34.280 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site