aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHarsha Sharma <[email protected]>2017-09-22 13:07:03 +0530
committerGreg Kroah-Hartman <[email protected]>2017-09-22 10:53:45 +0200
commita050fe5ceb94524cf20afe62f1ee9f8438aff463 (patch)
tree61dc32b2d0463b50a9624f78ad9c514ddfbb1df4 /tools/perf/scripts/python/export-to-sqlite.py
parentee0dd523bcb98bb58608b7354a321ee28d6f42f0 (diff)
staging: vc04_services: Remove typedef struct
Remove typedef from struct as linux-kernel coding style tends to avoid using typedefs Done using following coccinelle semantic patch @r1@ type T; @@ typedef struct { ... } T; @script:python c1@ T2; T << r1.T; @@ if T[-2:] =="_t" or T[-2:] == "_T": coccinelle.T2 = T[:-2]; else: coccinelle.T2 = T; print T, coccinelle.T2 @r2@ type r1.T; identifier c1.T2; @@ -typedef struct + T2 { ... } -T ; @r3@ type r1.T; identifier c1.T2; @@ -T +struct T2 Signed-off-by: Harsha Sharma <[email protected]> Acked-by: Julia Lawall <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions