login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2009
»
April
»
16
Re: [PATCH] tracing/filters: allow on-the-fly filter switching
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Tom Zanussi
Subject:
Re: [PATCH] tracing/filters: allow on-the-fly filter switching
Date: Wednesday, April 15, 2009 - 10:34 pm
On Thu, 2009-04-16 at 08:54 +0800, Li Zefan wrote:
quoted text
> Frederic Weisbecker wrote: > >>> Also, is filter_add_pred() supposed to be available for in-kernel > >>> uses by other tracers or something? > >> No, the current callers were the only ones I'd planned on (it's not > >> static because code in trace_events.c needs to call it). But, do you > >> see a use for it by other tracers? > > > > > > > > May be in the future, it's possible that a tracer might want to > > set filters by itself. > > But I don't think it has to be fixed now because there are nothing > > like that for now. > > > > So, no problem :-) > > > > If we restricted the mutex in trace_events_filters.c only, all the > extern functions can be called without lock, and this is what I did > in my previous patch. >
Yeah, that makes sense - I'll post a patch based on yours to do this shortly... Tom
quoted text
> > > >>> If this is planned, the locking could be even deeper than my comments. >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] tracing/filters: allow on-the-fly filter switching
, Tom Zanussi
, (Mon Apr 13, 1:17 am)
Re: [PATCH] tracing/filters: allow on-the-fly filter switching
, Ingo Molnar
, (Mon Apr 13, 2:52 pm)
[tip:tracing/core] tracing/filters: allow on-the-fly filte ...
, tip-bot for Tom Zanussi
, (Mon Apr 13, 5:33 pm)
Re: [PATCH] tracing/filters: allow on-the-fly filter switching
, Frederic Weisbecker
, (Tue Apr 14, 1:56 pm)
Re: [PATCH] tracing/filters: allow on-the-fly filter switching
, Li Zefan
, (Tue Apr 14, 6:12 pm)
Re: [PATCH] tracing/filters: allow on-the-fly filter switching
, Frederic Weisbecker
, (Tue Apr 14, 6:55 pm)
Re: [PATCH] tracing/filters: allow on-the-fly filter switching
, Tom Zanussi
, (Tue Apr 14, 9:17 pm)
Re: [PATCH] tracing/filters: allow on-the-fly filter switching
, Tom Zanussi
, (Tue Apr 14, 9:32 pm)
Re: [PATCH] tracing/filters: allow on-the-fly filter switching
, Frederic Weisbecker
, (Wed Apr 15, 9:21 am)
Re: [PATCH] tracing/filters: allow on-the-fly filter switching
, Li Zefan
, (Wed Apr 15, 5:54 pm)
Re: [PATCH] tracing/filters: allow on-the-fly filter switching
, Tom Zanussi
, (Wed Apr 15, 10:34 pm)
Re: [PATCH] tracing/filters: allow on-the-fly filter switching
, Frederic Weisbecker
, (Thu Apr 16, 8:29 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe