Home
last modified time | relevance | path

Searched hist:"1 df107b638d40df984dec3da92b5078bfe80242a" (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/include/kernel/
H A Dtee_ta_manager.h1df107b638d40df984dec3da92b5078bfe80242a Tue Sep 03 12:52:42 UTC 2019 Sumit Garg <sumit.garg@linaro.org> ftrace: exclude only foreign interrupt time

Current TA function execution time feature only reports user mode
execution time and exclude any non-user mode execution time. But in
case of syscalls which are essentially function invocations from TA
into the kernel, we shouldn't exclude syscall execution time in order
to account for actual function execution time. That means we only
exclude time that is spent serving foreign interrupts.

So changes in this patch allows to incorporate syscall execution time
in the function graph output.

Fixes: f5df167c2ffb ("ftrace: Add function execution time support")
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Acked-by: Jerome Forissier <jerome@forissier.org>
/optee_os/core/kernel/
H A Dtee_ta_manager.c1df107b638d40df984dec3da92b5078bfe80242a Tue Sep 03 12:52:42 UTC 2019 Sumit Garg <sumit.garg@linaro.org> ftrace: exclude only foreign interrupt time

Current TA function execution time feature only reports user mode
execution time and exclude any non-user mode execution time. But in
case of syscalls which are essentially function invocations from TA
into the kernel, we shouldn't exclude syscall execution time in order
to account for actual function execution time. That means we only
exclude time that is spent serving foreign interrupts.

So changes in this patch allows to incorporate syscall execution time
in the function graph output.

Fixes: f5df167c2ffb ("ftrace: Add function execution time support")
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Acked-by: Jerome Forissier <jerome@forissier.org>
/optee_os/core/arch/arm/kernel/
H A Dthread.c1df107b638d40df984dec3da92b5078bfe80242a Tue Sep 03 12:52:42 UTC 2019 Sumit Garg <sumit.garg@linaro.org> ftrace: exclude only foreign interrupt time

Current TA function execution time feature only reports user mode
execution time and exclude any non-user mode execution time. But in
case of syscalls which are essentially function invocations from TA
into the kernel, we shouldn't exclude syscall execution time in order
to account for actual function execution time. That means we only
exclude time that is spent serving foreign interrupts.

So changes in this patch allows to incorporate syscall execution time
in the function graph output.

Fixes: f5df167c2ffb ("ftrace: Add function execution time support")
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Acked-by: Jerome Forissier <jerome@forissier.org>