Home
last modified time | relevance | path

Searched refs:calltime (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/base/test/
Dtest_async_driver_probe.c107 ktime_t calltime; in test_async_probe_init() local
129 calltime = ktime_get(); in test_async_probe_init()
136 duration = (unsigned long long)ktime_ms_delta(ktime_get(), calltime); in test_async_probe_init()
145 calltime = ktime_get(); in test_async_probe_init()
163 duration = (unsigned long long)ktime_ms_delta(ktime_get(), calltime); in test_async_probe_init()
191 calltime = ktime_get(); in test_async_probe_init()
198 duration = (unsigned long long)ktime_ms_delta(ktime_get(), calltime); in test_async_probe_init()
209 calltime = ktime_get(); in test_async_probe_init()
223 duration = (unsigned long long)ktime_ms_delta(ktime_get(), calltime); in test_async_probe_init()
/linux-6.6.21/scripts/tracing/
Ddraw_functrace.py44 def calls(self, func, calltime): argument
49 child = CallTree(func, calltime, self)
118 calltime, callee, caller = parseLine(line)
124 tree = tree.calls(callee, calltime)
/linux-6.6.21/kernel/trace/
Dfgraph.c72 unsigned long long calltime; in ftrace_push_return_trace() local
93 calltime = trace_clock_local(); in ftrace_push_return_trace()
99 current->ret_stack[index].calltime = calltime; in ftrace_push_return_trace()
204 trace->calltime = current->ret_stack[index].calltime; in ftrace_pop_return_trace()
481 next->ret_stack[index].calltime += timestamp; in ftrace_graph_probe_sched_switch()
Dtrace_entries.h101 __field_packed( unsigned long long, ret, calltime)
107 __entry->calltime, __entry->rettime,
122 __field_packed( unsigned long long, ret, calltime)
128 __entry->calltime, __entry->rettime,
Dtrace_functions_graph.c206 .calltime = time, in __trace_graph_function()
288 (trace->rettime - trace->calltime < tracing_thresh)) in trace_graph_thresh_return()
695 duration = graph_ret->rettime - graph_ret->calltime; in print_graph_entry_leaf()
967 unsigned long long duration = trace->rettime - trace->calltime; in print_graph_return()
Dftrace.c841 unsigned long long calltime; in profile_graph_return() local
851 if (!trace->calltime) in profile_graph_return()
854 calltime = trace->rettime - trace->calltime; in profile_graph_return()
861 ret_stack->subtime += calltime; in profile_graph_return()
864 if (ret_stack && ret_stack->subtime < calltime) in profile_graph_return()
865 calltime -= ret_stack->subtime; in profile_graph_return()
867 calltime = 0; in profile_graph_return()
872 rec->time += calltime; in profile_graph_return()
873 rec->time_squared += calltime * calltime; in profile_graph_return()
/linux-6.6.21/net/bluetooth/
Dselftest.c202 ktime_t calltime, delta, rettime; in test_ecdh() local
206 calltime = ktime_get(); in test_ecdh()
239 delta = ktime_sub(rettime, calltime); in test_ecdh()
Dsmp.c3749 ktime_t calltime, delta, rettime; in run_selftests() local
3753 calltime = ktime_get(); in run_selftests()
3810 delta = ktime_sub(rettime, calltime); in run_selftests()
/linux-6.6.21/kernel/
Dasync.c120 ktime_t calltime; in async_run_entry_fn() local
125 calltime = ktime_get(); in async_run_entry_fn()
131 microseconds_since(calltime)); in async_run_entry_fn()
/linux-6.6.21/drivers/base/power/
Dmain.c218 static void initcall_debug_report(struct device *dev, ktime_t calltime, in initcall_debug_report() argument
228 (unsigned long long)ktime_us_delta(rettime, calltime)); in initcall_debug_report()
456 ktime_t calltime; in dpm_show_time() local
460 calltime = ktime_get(); in dpm_show_time()
461 usecs64 = ktime_to_ns(ktime_sub(calltime, starttime)); in dpm_show_time()
476 ktime_t calltime; in dpm_run_callback() local
482 calltime = initcall_debug_start(dev, cb); in dpm_run_callback()
490 initcall_debug_report(dev, calltime, cb, error); in dpm_run_callback()
1552 ktime_t calltime; in legacy_suspend() local
1554 calltime = initcall_debug_start(dev, cb); in legacy_suspend()
[all …]
/linux-6.6.21/drivers/bluetooth/
Dbtintel.c1826 static int btintel_download_wait(struct hci_dev *hdev, ktime_t calltime, int msec) in btintel_download_wait() argument
1855 delta = ktime_sub(rettime, calltime); in btintel_download_wait()
1863 static int btintel_boot_wait(struct hci_dev *hdev, ktime_t calltime, int msec) in btintel_boot_wait() argument
1885 delta = ktime_sub(rettime, calltime); in btintel_boot_wait()
1895 ktime_t calltime; in btintel_boot() local
1898 calltime = ktime_get(); in btintel_boot()
1916 err = btintel_boot_wait(hdev, calltime, 1000); in btintel_boot()
1961 ktime_t calltime; in btintel_download_fw() local
2077 calltime = ktime_get(); in btintel_download_fw()
2109 err = btintel_download_wait(hdev, calltime, 5000); in btintel_download_fw()
[all …]
Dhci_intel.c534 ktime_t calltime, delta, rettime; in intel_setup() local
551 calltime = ktime_get(); in intel_setup()
779 delta = ktime_sub(rettime, calltime); in intel_setup()
800 calltime = ktime_get(); in intel_setup()
824 delta = ktime_sub(rettime, calltime); in intel_setup()
Dbtmtkuart.c591 ktime_t calltime, delta, rettime; in btmtkuart_setup() local
598 calltime = ktime_get(); in btmtkuart_setup()
694 delta = ktime_sub(rettime, calltime); in btmtkuart_setup()
Dbtmtksdio.c1071 ktime_t calltime, delta, rettime; in btmtksdio_setup() local
1077 calltime = ktime_get(); in btmtksdio_setup()
1155 delta = ktime_sub(rettime, calltime); in btmtksdio_setup()
Dbtusb.c3069 ktime_t calltime, delta, rettime; in btusb_mtk_setup() local
3081 calltime = ktime_get(); in btusb_mtk_setup()
3236 delta = ktime_sub(rettime, calltime); in btusb_mtk_setup()
/linux-6.6.21/init/
Dmain.c1180 ktime_t *calltime = data; in trace_initcall_start_cb() local
1183 *calltime = ktime_get(); in trace_initcall_start_cb()
1189 ktime_t rettime, *calltime = data; in trace_initcall_finish_cb() local
1193 fn, ret, (unsigned long long)ktime_us_delta(rettime, *calltime)); in trace_initcall_finish_cb()
/linux-6.6.21/drivers/base/
Ddd.c734 ktime_t calltime, rettime; in really_probe_debug() local
737 calltime = ktime_get(); in really_probe_debug()
746 dev_name(dev), ret, ktime_us_delta(rettime, calltime)); in really_probe_debug()
/linux-6.6.21/include/linux/
Dftrace.h1028 unsigned long long calltime; member
1053 unsigned long long calltime; member
/linux-6.6.21/drivers/hwmon/
Ddell-smm-hwmon.c174 ktime_t calltime = ktime_get(); in i8k_smm_func() local
196 duration = ktime_us_delta(ktime_get(), calltime); in i8k_smm_func()
/linux-6.6.21/drivers/pci/
Dquirks.c138 static void fixup_debug_report(struct pci_dev *dev, ktime_t calltime, in fixup_debug_report() argument
145 delta = ktime_sub(rettime, calltime); in fixup_debug_report()
154 ktime_t calltime; in pci_do_fixups() local
169 calltime = fixup_debug_start(dev, hook); in pci_do_fixups()
171 fixup_debug_report(dev, calltime, hook); in pci_do_fixups()