ibcamera.org/libcamera/vivid.git' title='libcamera/vivid.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/utils/tracepoints/gen-tp-header.py
blob: bbd472d972d051de26f404162ef794f6f141a0e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2020, Google Inc.
#
# Author: Paul Elder <paul.elder@ideasonboard.com>
#
# gen-tp-header.py - Generate header file to contain lttng tracepoints

import datetime
import jinja2
import os
import sys

def main(argv):
    if len(argv) < 3: