summaryrefslogtreecommitdiff
path: root/scripts/kernel-doc.py
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2025-08-19 08:39:50 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2025-08-19 22:21:10 -0400
commitcb7cc0cfb38cf50c902caadee0e0e87fc38490aa (patch)
tree77078cee8f3017af65d2669f339df1497b50ddad /scripts/kernel-doc.py
parent6f4b10226b6b1e7d1ff3cdb006cf0f6da6eed71e (diff)
scsi: ufs: core: Only collect timestamps if monitoring is enabled
Every ktime_get() call in the hot path has a measurable impact on IOPS. Hence, only collect timestamps if the monitoring functionality is enabled. See also commit 1d8613a23f3c ("scsi: ufs: core: Introduce HBA performance monitor sysfs nodes"). Cc: Can Guo <cang@codeaurora.org> Cc: Bean Huo <beanhuo@micron.com> Cc: Daejun Park <daejun7.park@samsung.com> Reviewed-by: Peter Wang <peter.wang@mediatek.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20250819153958.2255907-1-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/kernel-doc.py')
0 files changed, 0 insertions, 0 deletions