Skip to content

Commit 4031a40

Browse files
Fixes for newer uncrustify (#101)
Signed-off-by: Christophe Bedard <[email protected]>
1 parent db0c215 commit 4031a40

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

lttngpy/src/lttngpy/context_perf.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ namespace lttngpy
3838
#define CTX_HW(name, counter_id) {name, _CTX_HW(counter_id)}
3939
#define CTX_SW(name, counter_id) {name, _CTX_SW(counter_id)}
4040

41+
// *INDENT-OFF*
4142
/**
4243
* Get 'config' value for a cache/op/result combination.
4344
*
@@ -70,6 +71,7 @@ namespace lttngpy
7071
CTX_HW_CACHE_OP_RESULT( \
7172
name "-prefetch-misses", cache_id, \
7273
PERF_COUNT_HW_CACHE_OP_PREFETCH, PERF_COUNT_HW_CACHE_RESULT_MISS)
74+
// *INDENT-ON*
7375

7476
/**
7577
* LTTng perf counter name to perf counter context struct.

tracetools/include/tracetools/tracetools.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
*/
4545
# define _GET_MACRO(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, NAME, ...) NAME
4646

47+
// *INDENT-OFF*
4748
# define _TRACEPOINT_NOARGS(event_name) \
4849
(ros_trace_ ## event_name)()
4950
# define _TRACEPOINT_ARGS(event_name, ...) \
@@ -152,6 +153,7 @@ _DEPRECATED_MACRO_FUNCTION_DEFINITION(DO_TRACEPOINT)
152153
#define DO_TRACEPOINT(...) \
153154
_deprecated_macro_DO_TRACEPOINT(); \
154155
TRACETOOLS_DO_TRACEPOINT(__VA_ARGS__)
156+
// *INDENT-ON*
155157

156158
#ifdef __cplusplus
157159
extern "C"

tracetools/src/tracetools.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
*/
2525
#ifndef TRACETOOLS_TRACEPOINTS_EXCLUDED
2626
# include "tracetools/tp_call.h"
27+
// *INDENT-OFF*
2728
# define _CONDITIONAL_TP(...) \
2829
tracepoint(TRACEPOINT_PROVIDER, __VA_ARGS__)
2930
# define _CONDITIONAL_TP_ENABLED(event_name) \
@@ -65,6 +66,7 @@
6566
{ \
6667
_CONDITIONAL_DO_TP(event_name); \
6768
}
69+
// *INDENT-ON*
6870

6971
bool ros_trace_compile_status()
7072
{

0 commit comments

Comments
 (0)