summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/rtcpu_trace_eventlib_events.h102
1 files changed, 0 insertions, 102 deletions
diff --git a/include/uapi/linux/rtcpu_trace_eventlib_events.h b/include/uapi/linux/rtcpu_trace_eventlib_events.h
deleted file mode 100644
index 42464a88c..000000000
--- a/include/uapi/linux/rtcpu_trace_eventlib_events.h
+++ /dev/null
@@ -1,102 +0,0 @@
1/*
2 * Copyright (c) 2017, NVIDIA Corporation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 */
13
14#ifndef RTCPU_TRACE_EVENTS_H
15#define RTCPU_TRACE_EVENTS_H
16
17enum {
18 RTCPU_TRACE_SCHEMA_VERSION = 1
19};
20
21#define RTCPU_TRACE_EVENT_PROVIDER_NAME "rtcpu_trace_"
22
23// Marks that the task is moving to execution
24struct rtcpu_trace_task_begin {
25
26 // Engine class ID
27 uint32_t class_id;
28
29 // Syncpoint ID
30 uint32_t syncpt_id;
31
32 // Threshold for task completion
33 uint32_t syncpt_thresh;
34} __packed;
35
36// Marks that the task is completed
37struct rtcpu_trace_task_end {
38
39 // Engine class ID
40 uint32_t class_id;
41
42 // Syncpoint ID
43 uint32_t syncpt_id;
44
45 // Threshold for task completion
46 uint32_t syncpt_thresh;
47} __packed;
48
49// VI Notify events
50struct rtcpu_trace_vinotify_event {
51
52 // Engine class ID
53 uint32_t class_id;
54
55 // Syncpoint ID
56 uint32_t syncpt_id;
57
58 // Threshold for task completion
59 uint32_t syncpt_thresh;
60} __packed;
61
62// VI Notify errors
63struct rtcpu_trace_vinotify_error {
64
65 // Engine class ID
66 uint32_t class_id;
67
68 // Syncpoint ID
69 uint32_t syncpt_id;
70
71 // Threshold for task completion
72 uint32_t syncpt_thresh;
73} __packed;
74
75enum {
76 // struct rtcpu_trace_task_begin
77 RTCPU_TRACE_TASK_BEGIN = 0,
78
79 // struct rtcpu_trace_task_end
80 RTCPU_TRACE_TASK_END = 1,
81
82 // struct rtcpu_trace_vinotify_event
83 RTCPU_TRACE_VINOTIFY_EVENT = 2,
84
85 // struct rtcpu_trace_vinotify_error
86 RTCPU_TRACE_VINOTIFY_ERROR = 3,
87
88 RTCPU_TRACE_NUM_EVENT_TYPES = 4
89};
90
91union rtcpu_trace_event_union {
92 struct rtcpu_trace_task_begin task_begin;
93 struct rtcpu_trace_task_end task_end;
94 struct rtcpu_trace_vinotify_event vinotify_event;
95 struct rtcpu_trace_vinotify_error vinotify_error;
96};
97
98enum {
99 RTCPU_TRACE_NUM_CUSTOM_FILTER_FLAGS = 0
100};
101
102#endif // RTCPU_TRACE_EVENTS_H