Files
linux-nv-oot/drivers/media/platform/tegra/camera/nvcamera_log.h
Matti Ryttylainen f19d5372b4 camera: Switch VI/ISP events to ftrace
* Switch VI frame_begin and frame_end events to produce ftrace traces
instead of eventlib events.
* Switch ISP task_begin and task_end events to produce ftrace traces
instead of eventlib events.
* Add class IDs for VI/ISP
* Switch VI/ISP task_submit events to ftrace

Bug 4080214

Signed-off-by: Matti Ryttylainen <mryttylainen@nvidia.com>
Change-Id: I7776005bb89eaed168c65c62d8aa19c553559fdb
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2911804
Reviewed-by: Semi Malinen <smalinen@nvidia.com>
Reviewed-by: Jukka Kaartinen <jkaartinen@nvidia.com>
Reviewed-by: Oleg Sikorskiy <osikorskiy@nvidia.com>
Reviewed-by: Ajith Kumar <ajithk@nvidia.com>
Reviewed-by: Sudhir Vyas <svyas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-19 12:28:58 -07:00

30 lines
592 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2018-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*/
#ifndef __NVCAMERA_LOG_H
#define __NVCAMERA_LOG_H
#include <linux/types.h>
struct platform_device;
void nv_camera_log_isp_submit(struct platform_device *pdev,
u32 syncpt_id,
u32 syncpt_thresh,
u32 channel_id,
u64 timestamp);
void nv_camera_log_vi_submit(struct platform_device *pdev,
u32 syncpt_id,
u32 syncpt_thresh,
u32 channel_id,
u64 timestamp);
void nv_camera_log(struct platform_device *pdev,
u64 timestamp,
u32 type);
#endif