Commit efce8553 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Apply clang-format to folly/tracing/

Summary: [Folly] Apply `clang-format` to `folly/tracing/`.

Reviewed By: Orvid

Differential Revision: D5460511

fbshipit-source-id: c7a7d34211044a1b76934f184a8552a96d0bad91
parent af8f1710
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
#pragma once #pragma once
// clang-format off
// Default constraint for the probe arguments as operands. // Default constraint for the probe arguments as operands.
#ifndef FOLLY_SDT_ARG_CONSTRAINT #ifndef FOLLY_SDT_ARG_CONSTRAINT
#define FOLLY_SDT_ARG_CONSTRAINT "nor" #define FOLLY_SDT_ARG_CONSTRAINT "nor"
......
...@@ -19,9 +19,11 @@ ...@@ -19,9 +19,11 @@
#if defined(__ELF__) && (defined(__x86_64__) || defined(__i386__)) #if defined(__ELF__) && (defined(__x86_64__) || defined(__i386__))
#include <folly/tracing/StaticTracepoint-ELFx86.h> #include <folly/tracing/StaticTracepoint-ELFx86.h>
#define FOLLY_SDT(provider, name, ...) \ #define FOLLY_SDT(provider, name, ...) \
FOLLY_SDT_PROBE_N( \ FOLLY_SDT_PROBE_N( \
provider, name, FOLLY_SDT_NARG(0, ##__VA_ARGS__), ##__VA_ARGS__) provider, name, FOLLY_SDT_NARG(0, ##__VA_ARGS__), ##__VA_ARGS__)
#else #else
#define FOLLY_SDT(provider, name, ...) do {} while(0) #define FOLLY_SDT(provider, name, ...) \
do { \
} while (0)
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment