All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Sebastian Smolorz <ssm@domain.hid>
Cc: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>,
	Philippe Gerum <rpm@xenomai.org>,
	adeos-main@gna.org
Subject: Re: [Adeos-main] [PATCH] I-pipe tracer for ARM
Date: Fri, 08 Dec 2006 16:57:40 +0100	[thread overview]
Message-ID: <45798B74.90108@domain.hid> (raw)
In-Reply-To: <E1GrzHI-0003oE-S6@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 2002 bytes --]

Sebastian Smolorz wrote:
> Jan Kiszka wrote:
>> Then would you mind moving the trace enabling point as I said and post a
>> patch?
> 
> See attachment.

Thanks, works fine here. Philippe, please include in the next release.

> 
>> And if you have any idea for a characteristic CONFIG-switch that 
>> should lower the default TRACE_SHIFT (CONFIG_EMBEDDED? Or per arch?),
>> you are welcome as well. TIA.
> 
> Why not lower the default value globally to 13?

Because I like to have those 16K trace points that 14 gives us. And who
knows if the next small embedded platform will not scream for 12?

> 
> --
> Sebastian
> 
> 
> ------------------------------------------------------------------------
> 
> --- ipipe/v2.6/common/kernel/ipipe/tracer.c	2006-10-12 20:08:50.000000000 +0200
> +++ ipipe.work/v2.6/common/kernel/ipipe/tracer.c	2006-12-06 16:53:23.000000000 +0100
> @@ -100,12 +100,10 @@ enum ipipe_trace_type
>  
>  
>  #ifdef CONFIG_IPIPE_TRACE_VMALLOC
> -#define IPIPE_DEFAULT_TRACE_STATE   0
>  
>  static struct ipipe_trace_path *trace_paths[NR_CPUS];
>  
>  #else /* !CONFIG_IPIPE_TRACE_VMALLOC */
> -#define IPIPE_DEFAULT_TRACE_STATE   CONFIG_IPIPE_TRACE_ENABLE_VALUE
>  
>  static struct ipipe_trace_path trace_paths[NR_CPUS][IPIPE_TRACE_PATHS] =
>  	{ [0 ... NR_CPUS-1] =
> @@ -115,7 +113,7 @@ static struct ipipe_trace_path trace_pat
>  	};
>  #endif /* CONFIG_IPIPE_TRACE_VMALLOC */
>  
> -int ipipe_trace_enable = IPIPE_DEFAULT_TRACE_STATE;
> +int ipipe_trace_enable = 0;
>  
>  static int active_path[NR_CPUS] =
>  	{ [0 ... NR_CPUS-1] = IPIPE_DEFAULT_ACTIVE };
> @@ -1217,8 +1215,8 @@ void __init __ipipe_init_tracer(void)
>  			trace_paths[cpu][path].end   = -1;
>  		}
>  	}
> -	ipipe_trace_enable = CONFIG_IPIPE_TRACE_ENABLE_VALUE;
>  #endif /* CONFIG_IPIPE_TRACE_VMALLOC */
> +	ipipe_trace_enable = CONFIG_IPIPE_TRACE_ENABLE_VALUE;
>  
>  	trace_dir = create_proc_entry("trace", S_IFDIR, ipipe_proc_root);
>  

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2006-12-08 15:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-04 17:23 [Adeos-main] [PATCH] I-pipe tracer for ARM Sebastian Smolorz
2006-12-04 17:48 ` Jan Kiszka
2006-12-05  9:26   ` Sebastian Smolorz
2006-12-05  9:36     ` Jan Kiszka
2006-12-05 14:09       ` Sebastian Smolorz
2006-12-05 14:31         ` Jan Kiszka
2006-12-05 14:38           ` Gilles Chanteperdrix
2006-12-05 14:40             ` Jan Kiszka
2006-12-05 14:56               ` Gilles Chanteperdrix
2006-12-05 16:39                 ` Sebastian Smolorz
2006-12-05 16:48                   ` Jan Kiszka
2006-12-05 18:34                     ` Sebastian Smolorz
2006-12-05 18:51                       ` Jan Kiszka
2006-12-06  8:19                         ` Sebastian Smolorz
2006-12-06 10:16                           ` Jan Kiszka
2006-12-06 16:05                             ` Sebastian Smolorz
2006-12-08 15:57                               ` Jan Kiszka [this message]
2006-12-05 16:52                   ` Gilles Chanteperdrix
2006-12-05  9:08 ` Gilles Chanteperdrix
2006-12-05 10:18   ` Sebastian Smolorz
2006-12-05 13:06     ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45798B74.90108@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=rpm@xenomai.org \
    --cc=ssm@domain.hid \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.