Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199132
b: refs/heads/master
c: 53da59a
h: refs/heads/master
v: v3
  • Loading branch information
Mathieu Desnoyers authored and Steven Rostedt committed May 14, 2010
1 parent 174845f commit 67d0d22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f0820183056ad26dabc0202115848a92f1143fc
refs/heads/master: 53da59aa6dd881fd0bbdd058a8a299d90ce9dd1d
7 changes: 6 additions & 1 deletion trunk/include/linux/tracepoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,11 @@ static inline void tracepoint_update_probe_range(struct tracepoint *begin,
static inline int unregister_trace_##name(void (*probe)(proto)) \
{ \
return tracepoint_probe_unregister(#name, (void *)probe);\
} \
static inline void check_trace_callback_type_##name(void (*cb)(proto)) \
{ \
}


#define DEFINE_TRACE_FN(name, reg, unreg) \
static const char __tpstrtab_##name[] \
__attribute__((section("__tracepoints_strings"))) = #name; \
Expand Down Expand Up @@ -168,6 +170,9 @@ static inline void tracepoint_update_probe_range(struct tracepoint *begin,
static inline int unregister_trace_##name(void (*probe)(proto)) \
{ \
return -ENOSYS; \
} \
static inline void check_trace_callback_type_##name(void (*cb)(proto)) \
{ \
}

#define DEFINE_TRACE_FN(name, reg, unreg)
Expand Down

0 comments on commit 67d0d22

Please sign in to comment.