• Home
  • Raw
  • Download

Lines Matching refs:tp

260 static inline bool trace_probe_test_flag(struct trace_probe *tp,  in trace_probe_test_flag()  argument
263 return !!(tp->event->flags & flag); in trace_probe_test_flag()
266 static inline void trace_probe_set_flag(struct trace_probe *tp, in trace_probe_set_flag() argument
269 tp->event->flags |= flag; in trace_probe_set_flag()
272 static inline void trace_probe_clear_flag(struct trace_probe *tp, in trace_probe_clear_flag() argument
275 tp->event->flags &= ~flag; in trace_probe_clear_flag()
278 static inline bool trace_probe_is_enabled(struct trace_probe *tp) in trace_probe_is_enabled() argument
280 return trace_probe_test_flag(tp, TP_FLAG_TRACE | TP_FLAG_PROFILE); in trace_probe_is_enabled()
283 static inline const char *trace_probe_name(struct trace_probe *tp) in trace_probe_name() argument
285 return trace_event_name(&tp->event->call); in trace_probe_name()
288 static inline const char *trace_probe_group_name(struct trace_probe *tp) in trace_probe_group_name() argument
290 return tp->event->call.class->system; in trace_probe_group_name()
294 trace_probe_event_call(struct trace_probe *tp) in trace_probe_event_call() argument
296 return &tp->event->call; in trace_probe_event_call()
313 static inline struct list_head *trace_probe_probe_list(struct trace_probe *tp) in trace_probe_probe_list() argument
315 return &tp->event->probes; in trace_probe_probe_list()
318 static inline bool trace_probe_has_sibling(struct trace_probe *tp) in trace_probe_has_sibling() argument
320 struct list_head *list = trace_probe_probe_list(tp); in trace_probe_has_sibling()
325 static inline int trace_probe_unregister_event_call(struct trace_probe *tp) in trace_probe_unregister_event_call() argument
328 return trace_remove_event_call(&tp->event->call); in trace_probe_unregister_event_call()
331 static inline bool trace_probe_has_single_file(struct trace_probe *tp) in trace_probe_has_single_file() argument
333 return !!list_is_singular(&tp->event->files); in trace_probe_has_single_file()
336 int trace_probe_init(struct trace_probe *tp, const char *event,
338 void trace_probe_cleanup(struct trace_probe *tp);
339 int trace_probe_append(struct trace_probe *tp, struct trace_probe *to);
340 void trace_probe_unlink(struct trace_probe *tp);
341 int trace_probe_register_event_call(struct trace_probe *tp);
342 int trace_probe_add_file(struct trace_probe *tp, struct trace_event_file *file);
343 int trace_probe_remove_file(struct trace_probe *tp,
345 struct event_file_link *trace_probe_get_file_link(struct trace_probe *tp,
348 bool trace_probe_match_command_args(struct trace_probe *tp,
352 #define trace_probe_for_each_link(pos, tp) \ argument
353 list_for_each_entry(pos, &(tp)->event->files, list)
354 #define trace_probe_for_each_link_rcu(pos, tp) \ argument
355 list_for_each_entry_rcu(pos, &(tp)->event->files, list)
363 extern int traceprobe_parse_probe_arg(struct trace_probe *tp, int i,
379 extern int traceprobe_set_print_fmt(struct trace_probe *tp, enum probe_print_type ptype);
393 size_t offset, struct trace_probe *tp);