projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename for the new liburcu API namespace
[ust.git]
/
libust
/
type-serializer.c
diff --git
a/libust/type-serializer.c
b/libust/type-serializer.c
index bf1c4966a67630bd3aee064e57b5cab34255ccdd..2c278dfe0f2a9222503e2b20caf80c0119b9e273 100644
(file)
--- a/
libust/type-serializer.c
+++ b/
libust/type-serializer.c
@@
-43,7
+43,7
@@
void _ltt_specialized_trace(const struct marker *mdata, void *probe_data,
cpu = ust_get_cpu();
/* Force volatile access. */
cpu = ust_get_cpu();
/* Force volatile access. */
-
STORE_SHARED(ltt_nesting,
LOAD_SHARED(ltt_nesting) + 1);
+
CMM_STORE_SHARED(ltt_nesting, CMM_
LOAD_SHARED(ltt_nesting) + 1);
/*
* asm volatile and "memory" clobber prevent the compiler from moving
/*
* asm volatile and "memory" clobber prevent the compiler from moving
@@
-52,7
+52,7
@@
void _ltt_specialized_trace(const struct marker *mdata, void *probe_data,
* traps, divisions by 0, ...) are triggered within the incremented
* nesting count section.
*/
* traps, divisions by 0, ...) are triggered within the incremented
* nesting count section.
*/
- barrier();
+
cmm_
barrier();
eID = mdata->event_id;
chan_index = mdata->channel_id;
eID = mdata->event_id;
chan_index = mdata->channel_id;
@@
-60,7
+60,7
@@
void _ltt_specialized_trace(const struct marker *mdata, void *probe_data,
* Iterate on each trace, typically small number of active traces,
* list iteration with prefetch is usually slower.
*/
* Iterate on each trace, typically small number of active traces,
* list iteration with prefetch is usually slower.
*/
- list_for_each_entry_rcu(trace, <t_traces.head, list) {
+
cds_
list_for_each_entry_rcu(trace, <t_traces.head, list) {
if (unlikely(!trace->active))
continue;
//ust// if (unlikely(!ltt_run_filter(trace, eID)))
if (unlikely(!trace->active))
continue;
//ust// if (unlikely(!ltt_run_filter(trace, eID)))
@@
-109,7
+109,7
@@
void _ltt_specialized_trace(const struct marker *mdata, void *probe_data,
* traps, divisions by 0, ...) are triggered within the incremented
* nesting count section.
*/
* traps, divisions by 0, ...) are triggered within the incremented
* nesting count section.
*/
- barrier();
-
STORE_SHARED(ltt_nesting,
LOAD_SHARED(ltt_nesting) - 1);
+
cmm_
barrier();
+
CMM_STORE_SHARED(ltt_nesting, CMM_
LOAD_SHARED(ltt_nesting) - 1);
rcu_read_unlock();
}
rcu_read_unlock();
}
This page took
0.023648 seconds
and
4
git commands to generate.