asfenelite.blogg.se

Iptrace cmd
Iptrace cmd





iptrace cmd
  1. #Iptrace cmd update#
  2. #Iptrace cmd archive#

ftrace/test.d/trigger/trigger-objtrace.tc | 41 ++ġ1 files changed, 840 insertions(+), 2 deletions(-)Ĭreate mode 100644 kernel/trace/trace_object.cĬreate mode 100644 tools/testing/selftests/ftrace/test.d/trigger/trigger-objtrace.tcīase-commit: 408d26e261b089596c0837e71d2fb4a80ea04ef3 Kernel/trace/trace_events_trigger.c | 5 +. Selftests/ftrace: Add testcases for objtraceĭocumentation: trace/objtrace: Add documentation for objtrace Trace/objtrace: Get the value of the object

#Iptrace cmd update#

adding a "objfilter" trigger to update object get data from in the event trigger callback funciton use trace_find_event_field to find the field instead of using argN please ignore the v4 which is the same as v3 describe the object trace more clearly in Kconfig release private_data of event_trigger_data in the trace_object_trigger_free invoke exit_trace_object no matter whether data->ops->free is null fix trace_object_ref reference count in the init_trace_object use ftrace_test_recursion_trylock for function trace hook function use fixed-size array for object pool instead of list structure simplify the implementation for the function get_object_value recover the filter when getting the value of the object revert to use per-cpu recursion for the function trace_object_events_call fix the objtrace trigger was removed when using the existed parameter on fix objtrace trigger output was incomplete a lot of cleanup work has been done mainly for event_object_trigger_parse use trace_buffer_lock_reserve instead of trace_event_buffer_lock_reserve add raw_spin_lock_init for obj_data_lock make array objtrace_fetch_types null terminated remove useless atomic counting methods for num_traced_obj Secondly, we can get the value dynamically based on above object.įind the offset of the bi_size in struct bio: Stands for the value of the first parameter of this function bio_add_gage(), Int bio_add_page(struct bio *bio, struct page *page,įirstly, we can set the base of the object, thus the first string "arg1"

iptrace cmd

When using the kprobe event, only need to set the objtrace(a new trigger), the object can be obtained from theĭynamic event (kprobe_event/uprobe_event) or the static event(tracepoint). Introduce a method based on function tracer to trace any object and get Linux-doc, corbet, chensong_2000, Jeff Xie ` (3 more replies) 0 siblings, 4 replies 12+ messages in threadĬc: mingo, mhiramat, zanussi, linux-kernel, linux-kselftest, shuah,

#Iptrace cmd archive#

Trace: Introduce objtrace trigger to trace the kernel object archive mirror help / color / mirror / Atom feed * trace: Introduce objtrace trigger to trace the kernel object 2:56 Jeff Xie







Iptrace cmd