Robert,

Patch has been applied.
Thanks.


On Thu, Mar 6, 2008 at 2:53 PM, Robert Richter <[EMAIL PROTECTED]> wrote:
> The patch allows it to enable debug messages in the early startup
>  phase. Before, the recompilation of the Kernel with a modified debug
>  init value was necessary.
>
>  Signed-off-by: Robert Richter <[EMAIL PROTECTED]>
>  ---
>   Documentation/kernel-parameters.txt |    3 +++
>   perfmon/perfmon_sysfs.c             |    8 ++++++++
>   2 files changed, 11 insertions(+), 0 deletions(-)
>
>  diff --git a/Documentation/kernel-parameters.txt 
> b/Documentation/kernel-parameters.txt
>  index c417877..fc39207 100644
>  --- a/Documentation/kernel-parameters.txt
>  +++ b/Documentation/kernel-parameters.txt
>  @@ -1401,6 +1401,9 @@ and is between 256 and 4096 characters. It is defined 
> in the file
>                         Format: { 0 | 1 }
>                         See arch/parisc/kernel/pdc_chassis.c
>
>  +       perfmon_debug   [PERFMON] Enables Perfmon debug messages. Needed
>  +                       to see traces of the early startup startup phase.
>  +
>         pf.             [PARIDE]
>                         See Documentation/paride.txt.
>
>  diff --git a/perfmon/perfmon_sysfs.c b/perfmon/perfmon_sysfs.c
>  index 279c6ed..b8d6cca 100644
>  --- a/perfmon/perfmon_sysfs.c
>  +++ b/perfmon/perfmon_sysfs.c
>  @@ -277,6 +277,14 @@ static ssize_t arg_size_store(void *info, const char 
> *buf, size_t sz)
>         return strnlen(buf, PAGE_SIZE);
>   }
>
>  +static int __init enable_debug(char *str)
>  +{
>  +       pfm_controls.debug = 1;
>  +       PFM_INFO("debug output enabled\n");
>  +       return 1;
>  +}
>  +__setup("perfmon_debug", enable_debug);
>  +
>   /*
>   * /sys/kernel/perfmon attributes
>   */
>  --
>  1.5.3.7
>
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to