projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New naming convention for internal macros
[ust.git]
/
libust
/
tracepoint.c
diff --git
a/libust/tracepoint.c
b/libust/tracepoint.c
index 8783b53084971074bd2ac60a45527dd17505aad1..2b33d84428ef29557d7897788c6aa816c7076545 100644
(file)
--- a/
libust/tracepoint.c
+++ b/
libust/tracepoint.c
@@
-87,7
+87,7
@@
static inline void *allocate_probes(int count)
static inline void release_probes(void *old)
{
if (old) {
static inline void release_probes(void *old)
{
if (old) {
- struct tp_probes *tp_probes = container_of(old,
+ struct tp_probes *tp_probes =
_ust_
container_of(old,
struct tp_probes, probes[0]);
//ust// call_rcu_sched(&tp_probes->u.rcu, rcu_free_old_probes);
synchronize_rcu();
struct tp_probes, probes[0]);
//ust// call_rcu_sched(&tp_probes->u.rcu, rcu_free_old_probes);
synchronize_rcu();
@@
-154,8
+154,8
@@
tracepoint_entry_remove_probe(struct tracepoint_entry *entry, void *probe,
debug_print_probes(entry);
/* (N -> M), (N > 1, M >= 0) probes */
for (nr_probes = 0; old[nr_probes].func; nr_probes++) {
debug_print_probes(entry);
/* (N -> M), (N > 1, M >= 0) probes */
for (nr_probes = 0; old[nr_probes].func; nr_probes++) {
- if (
(
!probe ||
- old[nr_probes].func == probe &&
+ if (!probe ||
+
(
old[nr_probes].func == probe &&
old[nr_probes].data == data))
nr_del++;
}
old[nr_probes].data == data))
nr_del++;
}
@@
-427,7
+427,7
@@
static void tracepoint_add_old_probes(void *old)
{
need_update = 1;
if (old) {
{
need_update = 1;
if (old) {
- struct tp_probes *tp_probes = container_of(old,
+ struct tp_probes *tp_probes =
_ust_
container_of(old,
struct tp_probes, probes[0]);
list_add(&tp_probes->u.list, &old_probes);
}
struct tp_probes, probes[0]);
list_add(&tp_probes->u.list, &old_probes);
}
This page took
0.024499 seconds
and
4
git commands to generate.