diff options
| author | Jamie Gennis <jgennis@google.com> | 2013-02-21 17:55:28 -0800 | 
|---|---|---|
| committer | Arve Hjønnevåg <arve@android.com> | 2013-07-01 14:16:21 -0700 | 
| commit | 0085255053e4e0fcebf831fe9765554514c5633f (patch) | |
| tree | 7016a89a025b4e02d9c16e9ff496a5ef2e703bdb /kernel/trace/gpu-traces.c | |
| parent | 06427f3a23590f76dd17d4446463f9e788b1f1d1 (diff) | |
| download | olio-linux-3.10-0085255053e4e0fcebf831fe9765554514c5633f.tar.xz olio-linux-3.10-0085255053e4e0fcebf831fe9765554514c5633f.zip | |
trace/events: add gpu trace events
Change-Id: I0607b9c776acf61cb796b8572cf8cfb8b2dc1377
Signed-off-by: Jamie Gennis <jgennis@google.com>
Diffstat (limited to 'kernel/trace/gpu-traces.c')
| -rw-r--r-- | kernel/trace/gpu-traces.c | 23 | 
1 files changed, 23 insertions, 0 deletions
| diff --git a/kernel/trace/gpu-traces.c b/kernel/trace/gpu-traces.c new file mode 100644 index 00000000000..a4b3f00faee --- /dev/null +++ b/kernel/trace/gpu-traces.c @@ -0,0 +1,23 @@ +/* + * GPU tracepoints + * + * Copyright (C) 2013 Google, Inc. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the + * GNU General Public License for more details. + * + */ + +#include <linux/module.h> + +#define CREATE_TRACE_POINTS +#include <trace/events/gpu.h> + +EXPORT_TRACEPOINT_SYMBOL(gpu_sched_switch); +EXPORT_TRACEPOINT_SYMBOL(gpu_job_enqueue); |