diff options
author | Julio M. Merino Vidal <jmerino@ac.upc.edu> | 2008-04-30 01:06:39 -0400 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-04-30 01:06:39 -0400 |
commit | d6508aaf27ccef0d7e986aaa220ad4d098bca260 (patch) | |
tree | 7295c1f46de3bc3391f2c6239e488475178a8210 /arch/powerpc/platforms/cell/spufs/sputrace.c | |
parent | 5158e9b5218bd3799c9fa8c401ad24d7f0c0a0a1 (diff) |
[POWERPC] spufs: add sputrace marker parameter names
The markers facility defines the marker parameters to be of the form
'name %format'. Add parameter names to sputrace, to specify the context
and %spu paramerters, instead of just specifying the '%format' part.
Signed-off-by: Julio M. Merino Vidal <jmerino@ac.upc.edu>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/sputrace.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/sputrace.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/sputrace.c b/arch/powerpc/platforms/cell/spufs/sputrace.c index 79aa773f3c99..b9c79eda3359 100644 --- a/arch/powerpc/platforms/cell/spufs/sputrace.c +++ b/arch/powerpc/platforms/cell/spufs/sputrace.c | |||
@@ -171,24 +171,24 @@ static void spu_context_nospu_event(void *probe_private, void *call_data, | |||
171 | } | 171 | } |
172 | 172 | ||
173 | struct spu_probe spu_probes[] = { | 173 | struct spu_probe spu_probes[] = { |
174 | { "spu_bind_context__enter", "%p %p", spu_context_event }, | 174 | { "spu_bind_context__enter", "ctx %p spu %p", spu_context_event }, |
175 | { "spu_unbind_context__enter", "%p %p", spu_context_event }, | 175 | { "spu_unbind_context__enter", "ctx %p spu %p", spu_context_event }, |
176 | { "spu_get_idle__enter", "%p", spu_context_nospu_event }, | 176 | { "spu_get_idle__enter", "ctx %p", spu_context_nospu_event }, |
177 | { "spu_get_idle__found", "%p %p", spu_context_event }, | 177 | { "spu_get_idle__found", "ctx %p spu %p", spu_context_event }, |
178 | { "spu_get_idle__not_found", "%p", spu_context_nospu_event }, | 178 | { "spu_get_idle__not_found", "ctx %p", spu_context_nospu_event }, |
179 | { "spu_find_victim__enter", "%p", spu_context_nospu_event }, | 179 | { "spu_find_victim__enter", "ctx %p", spu_context_nospu_event }, |
180 | { "spusched_tick__preempt", "%p %p", spu_context_event }, | 180 | { "spusched_tick__preempt", "ctx %p spu %p", spu_context_event }, |
181 | { "spusched_tick__newslice", "%p", spu_context_nospu_event }, | 181 | { "spusched_tick__newslice", "ctx %p", spu_context_nospu_event }, |
182 | { "spu_yield__enter", "%p", spu_context_nospu_event }, | 182 | { "spu_yield__enter", "ctx %p", spu_context_nospu_event }, |
183 | { "spu_deactivate__enter", "%p", spu_context_nospu_event }, | 183 | { "spu_deactivate__enter", "ctx %p", spu_context_nospu_event }, |
184 | { "__spu_deactivate__unload", "%p %p", spu_context_event }, | 184 | { "__spu_deactivate__unload", "ctx %p spu %p", spu_context_event }, |
185 | { "spufs_ps_nopfn__enter", "%p", spu_context_nospu_event }, | 185 | { "spufs_ps_nopfn__enter", "ctx %p", spu_context_nospu_event }, |
186 | { "spufs_ps_nopfn__sleep", "%p", spu_context_nospu_event }, | 186 | { "spufs_ps_nopfn__sleep", "ctx %p", spu_context_nospu_event }, |
187 | { "spufs_ps_nopfn__wake", "%p %p", spu_context_event }, | 187 | { "spufs_ps_nopfn__wake", "ctx %p spu %p", spu_context_event }, |
188 | { "spufs_ps_nopfn__insert", "%p %p", spu_context_event }, | 188 | { "spufs_ps_nopfn__insert", "ctx %p spu %p", spu_context_event }, |
189 | { "spu_acquire_saved__enter", "%p", spu_context_nospu_event }, | 189 | { "spu_acquire_saved__enter", "ctx %p", spu_context_nospu_event }, |
190 | { "destroy_spu_context__enter", "%p", spu_context_nospu_event }, | 190 | { "destroy_spu_context__enter", "ctx %p", spu_context_nospu_event }, |
191 | { "spufs_stop_callback__enter", "%p %p", spu_context_event }, | 191 | { "spufs_stop_callback__enter", "ctx %p spu %p", spu_context_event }, |
192 | }; | 192 | }; |
193 | 193 | ||
194 | static int __init sputrace_init(void) | 194 | static int __init sputrace_init(void) |