Home
last modified time | relevance | path

Searched refs:function (Results 1 – 25 of 118) sorted by relevance

12345

/tools/lib/traceevent/Documentation/
Dlibtraceevent-func_apis.txt8 function related tep APIs
31 functions resolver. This function receives a pointer to its custom context
33 function, which has to be resolved. In case of success, it should return
34 the name of the function and its module (if any) in _modp_.
36 The _tep_set_function_resolver()_ function registers _func_ as an alternative
38 The _priv_ argument is a custom context of the _func_ function. The function
41 a function address to a function name.
43 The _tep_reset_function_resolver()_ function resets the kernel functions
44 resolver to the default function. The _tep_ argument is trace event parser
48 These APIs can be used to find function name and start address, by given
[all …]
Dlibtraceevent-func_find.txt6 tep_find_function,tep_find_function_address - Find function name / start address.
20 These functions can be used to find function name and start address, by given
21 address. The given address does not have to be exact, it will select the function
24 The _tep_find_function()_ function returns the function name, which contains the
27 The _tep_find_function_address()_ function returns the function start address,
29 function that would contain it. The _tep_ argument is the trace event parser context.
33 The _tep_find_function()_ function returns the function name, or NULL in case
36 The _tep_find_function_address()_ function returns the function start address,
52 /* addr is in function named fname, starting at fstart address, at offset (addr - fstart) */
Dlibtraceevent-reg_print_func.txt7 Registers / Unregisters a helper function.
36 The _tep_register_print_function()_ registers such helper function. The _tep_
38 to the helper function. The _ret_type_ argument is the return type of the
39 helper function, value from the _tep_func_arg_type_ enum. The _name_ is the name
40 of the helper function, as seen in the print format arguments. The _..._ is a
41 variable list of _tep_func_arg_type_ enums, the _func_ function arguments.
44 The _tep_unregister_print_function()_ unregisters a helper function, previously
47 when the helper function was registered.
49 The _tep_func_handler_ is the type of the helper function. The _s_ argument is
51 The _args_ is a list of arguments, defined when the helper function was
[all …]
Dlibtraceevent-filter.txt37 The _tep_filter_alloc()_ function creates a new event filter. The _tep_ argument
40 The _tep_filter_free()_ function frees an event filter and all resources that it
43 The _tep_filter_reset()_ function removes all rules from an event filter and
46 The _tep_filter_add_filter_str()_ function adds a new rule to the _filter_. The
49 The _tep_event_filtered()_ function checks if the event with _event_id_ has
52 The _tep_filter_remove_event()_ function removes a _filter_ for an event with
55 The _tep_filter_match()_ function tests if a _record_ matches given _filter_.
57 The _tep_filter_copy()_ function copies a _source_ filter into a _dest_ filter.
59 The _tep_filter_compare()_ function compares two filers - _filter1_ and _filter2_.
61 The _tep_filter_make_string()_ function constructs a string, displaying
[all …]
Dlibtraceevent-reg_event_handler.txt7 unregisters a callback function to parse an event information.
28 The _tep_register_event_handler()_ function registers a handler function,
34 _event_name_ are used. The _func_ is a pointer to the function, which is going
36 to the context data, which will be passed to the _func_. If a handler function
40 can register a function for an event to be used to parse the data instead.
42 The _tep_unregister_event_handler()_ function unregisters the handler function,
45 and _context_ are the same arguments, as when the callback function _func_ was
49 function. The _s_ argument is the trace sequence, it can be used to create a
56 The _tep_register_event_handler()_ function returns _TEP_REGISTER_SUCCESS_
62 The _tep_unregister_event_handler()_ function returns 0 if _func_ was removed
[all …]
Dlibtraceevent-field_print.txt26 The _tep_print_field()_ function extracts from the recorded raw _data_ value of
38 The _tep_print_num_field()_ function prints a numeric field with given format
44 The _tep_print_func_field()_ function prints a function field with given format
47 to be a function address, and a search is perform to find the name of this
48 function. The function name (if found) and its address are printed in the _s_,
85 /* Print the address and the name of "function" field with custom format string */
86 tep_print_func_field(&seq, " timer function is %s ", event, "function", record, 0);
99 Trace sequences are used to allow a function to call several other functions
Dlibtraceevent-record_parse.txt33 The _tep_data_type()_ function gets the event id from the record _rec_.
37 The _tep_data_pid()_ function gets the process id from the record _rec_.
41 The _tep_data_preempt_count()_ function gets the preemption count from the
45 The _tep_data_flags()_ function gets the latency flags from the record _rec_.
59 The _tep_data_type()_ function returns an integer, representing the event id.
61 The _tep_data_pid()_ function returns an integer, representing the process id
63 The _tep_data_preempt_count()_ function returns an integer, representing the
66 The _tep_data_flags()_ function returns an integer, representing the latency
Dlibtraceevent-tseq.txt32 Trace sequences are used to allow a function to call several other functions
35 The _trace_seq_init()_ function initializes the trace sequence _s_.
37 The _trace_seq_destroy()_ function destroys the trace sequence _s_ and frees
40 The _trace_seq_reset()_ function re-initializes the trace sequence _s_. All
43 The _trace_seq_terminate()_ function terminates the trace sequence _s_. It puts
46 The _trace_seq_putc()_ function puts a single character _c_ in the trace
49 The _trace_seq_puts()_ function puts a NULL terminated string _str_ in the
52 The _trace_seq_printf()_ function puts a formated string _fmt _with
55 The _trace_seq_vprintf()_ function puts a formated string _fmt _with
58 The _trace_seq_do_printf()_ function prints the buffer of trace sequence _s_ to
[all …]
Dlibtraceevent-commands.txt31 The _tep_register_comm()_ function registers a _pid_ / process name mapping.
36 The _tep_override_comm()_ function registers a _pid_ / process name mapping.
42 The _tep_is_pid_registered()_ function checks if a pid has a process name
46 The _tep_data_comm_from_pid()_ function returns the process name for a given
51 The _tep_data_pid_from_comm()_ function returns a pid for a given process name.
57 the _comm_. The function performs a linear search, so it may be slow.
59 The _tep_cmdline_pid()_ function returns the pid associated with a given
64 _tep_register_comm()_ function returns 0 on success. In case of an error -1 is
69 _tep_override_comm()_ function returns 0 on success. In case of an error -1 is
73 _tep_is_pid_registered()_ function returns true if the _pid_ has a process name
[all …]
Dlibtraceevent-header_page.txt25 The _tep_get_header_page_size()_ function returns the size of a long integer,
29 The _tep_get_header_timestamp_size()_ function returns the size of timestamps,
33 The _tep_is_old_format()_ function returns true if the kernel predates
38 The _tep_get_header_page_size()_ function returns the size of a long integer,
41 The _tep_get_header_timestamp_size()_ function returns the size of timestamps,
44 The _tep_is_old_format()_ function returns true, if an old kernel is used to
Dlibtraceevent-host_endian.txt29 the function.
31 The _tep_is_local_bigendian()_ function gets the endianness of the local
36 The _tep_set_local_bigendian()_ function sets the endianness of the local
47 The _tep_is_bigendian()_ function returns non zero if the endianness of the
50 The _tep_is_local_bigendian()_ function returns true, if the endianness of the
/tools/testing/selftests/arm64/fp/
Dfpsimd-test.S38 function putc label
53 function puts label
82 function putdec label
111 function putdecn label
123 function puthexb label
135 function puthexnibble label
145 function dumphex label
173 function memcpy label
187 function pattern label
213 function setup_vreg label
[all …]
Dsve-test.S51 function putc label
66 function puts label
95 function putdec label
124 function putdecn label
135 function puthexb label
147 function puthexnibble label
157 function dumphex label
189 function memcpy label
211 function pattern label
246 function setup_zreg label
[all …]
Dassembler.h31 .macro function name
33 .type \name, @function
45 function \name
/tools/perf/Documentation/
Dperf-ftrace.txt28 specified: function_graph or function.
74 Select function tracer and set function filter on the given
75 function (or a glob pattern). Multiple functions can be given
76 by using this option more than once. The function argument also
82 Select function tracer and do not trace functions given by the
89 call-graph - Display kernel stack trace for function tracer.
90 irq-info - Display irq context info for function tracer.
95 function (or a glob pattern). This is useful to trace for
96 functions executed from the given function. This can be used more
103 given function (or a glob pattern). Like -G option, this is useful
[all …]
Djitdump-specification.txt17 …a may then be used by performance tools, such as Linux perf to generate function and assembly leve…
61 * Value 0 : JIT_CODE_LOAD : record describing a jitted function
62 * Value 1 : JIT_CODE_MOVE : record describing an already jitted function which is moved
63 * Value 2 : JIT_CODE_DEBUG_INFO: record describing the debug information for a jitted function
65 * Value 4 : JIT_CODE_UNWINDING_INFO: record describing a function unwinding information
79 * char[n]: function name in ASCII including the null termination
85 * function name string, including termination
89function. The index can be a monotonically increasing 64-bit value. Each time a function is jitted…
102 * uint64_t old_code_addr: previous code address for the same function
105 … : index referring to the JIT_CODE_LOAD code_index record of when the function was initially jit…
[all …]
/tools/objtool/Documentation/
Dstack-validation.txt14 For each function, it recursively follows all possible code paths and
37 chain of function call sites that led to the currently executing
53 and update the frame pointer. If a first function doesn't properly
54 create a stack frame before calling a second function, the *caller*
55 of the first function will be skipped on the stack trace.
93 beginning of a function before the stack frame has been created,
94 or at the very end of the function after the stack frame has been
121 1. Each callable function must be annotated as such with the ELF
122 function type. In asm code, this is typically done using the
124 outside of a function, it flags an error since that usually indicates
[all …]
/tools/perf/include/bpf/
Dbpf.h52 #define probe(function, vars) \ argument
53 SEC(#function "=" #function " " #vars) function
/tools/power/pm-graph/config/
Dcustom-timeline-functions.cfg28 # Display function calls
76 # This is a list of kprobes which use both symbol data and function arg data.
77 # The function calls are displayed on the timeline alongside the device blocks.
79 # and stack formatting. Three pieces of info are required. The function name,
84 # function: format{fn_arg1}_{fn_arg2} fn_arg1 fn_arg2 ... [color=purple]
88 # function: The symbol name for the function you want probed, this is the
89 # minimum required for an entry, it will show up as the function
139 # Dev mode function calls to display inside timeline entries
141 # This is a list of kprobes which use both symbol data and function arg data.
142 # The function calls are displayed on the timeline alongside the device blocks.
[all …]
/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c66 TEST_ASSERT((entry->function >= 0x40000000) && in test_hv_cpuid()
67 (entry->function <= 0x40000082), in test_hv_cpuid()
69 entry->function); in test_hv_cpuid()
71 TEST_ASSERT(evmcs_enabled || (entry->function != 0x4000000A), in test_hv_cpuid()
83 switch (entry->function) { in test_hv_cpuid()
/tools/perf/bench/
Dmem-functions.c57 struct function { struct
111 const struct function *functions;
112 u64 (*do_cycles)(const struct function *r, size_t size, void *src, void *dst);
113 double (*do_gettimeofday)(const struct function *r, size_t size, void *src, void *dst);
120 const struct function *r = &info->functions[r_idx]; in __bench_mem_function()
238 static u64 do_memcpy_cycles(const struct function *r, size_t size, void *src, void *dst) in do_memcpy_cycles()
254 static double do_memcpy_gettimeofday(const struct function *r, size_t size, void *src, void *dst) in do_memcpy_gettimeofday()
272 struct function memcpy_functions[] = {
304 static u64 do_memset_cycles(const struct function *r, size_t size, void *src __maybe_unused, void *… in do_memset_cycles()
324 static double do_memset_gettimeofday(const struct function *r, size_t size, void *src __maybe_unuse… in do_memset_gettimeofday()
[all …]
/tools/lib/traceevent/plugins/
Dplugin_function.c120 const char *func, unsigned long long function) in show_function() argument
126 offset = tep_find_function_address(tep, function); in show_function()
127 trace_seq_printf(s, "+0x%x ", (int)(function - offset)); in show_function()
135 unsigned long long function; in function_handler() local
141 if (tep_get_field_val(s, event, "ip", record, &function, 1)) in function_handler()
144 func = tep_find_function(tep, function); in function_handler()
157 show_function(s, tep, func, function); in function_handler()
159 trace_seq_printf(s, "0x%llx", function); in function_handler()
/tools/testing/selftests/powerpc/nx-gzip/
Dgzip_vas.c47 int function; member
88 void *nx_function_begin(int function, int pri) in nx_function_begin() argument
94 if (function != NX_FUNC_COMP_GZIP) { in nx_function_begin()
108 nxhandle->function = function; in nx_function_begin()
/tools/leds/
Dget_led_device_info.sh191 if [ ! -z "$function" ]; then
194 fun_definition=$(cat $led_defs_path | grep "\"$function\"" | awk '{print $2}')
196 print_msg_ok "$S_FUN" "$function" "Matching definition: $fun_definition"
198 print_msg_failed "$S_FUN" "$function" "Definition not found in $led_defs_path"
/tools/testing/selftests/x86/
Draw_syscall_helper_32.S38 .type sys32_helper, @function
46 .type int80_and_ret, @function

12345