Commit 10a43d07 authored by Daniel Xu's avatar Daniel Xu Committed by Dan Xu

Hide -inl.h header from interface

`*-inl.h` files, or inline headers, are an implementation detail. Users
of an interface that is backed by an inline header should not concern
themselves with the details of implementation.

This patch normalizes the interface.
parent 97a53407
......@@ -4,7 +4,7 @@
#include "libbpf.h"
#include "bcc_usdt.h"
#include "arch/arch.h"
#include "utils-inl.h"
#include "utils.h"
#include <llvm/IR/Module.h>
......
......@@ -16,7 +16,7 @@
#include "bcc_usdt.h"
#include "common.h"
#include "libbpf.h"
#include "utils-inl.h"
#include "utils.h"
#include <linux/perf_event.h>
#include <linux/version.h>
......
#pragma once
#include "utils.h"
namespace bpftrace {
inline std::string GetProviderFromPath(std::string path) {
......
......@@ -7,3 +7,5 @@ namespace bpftrace {
inline std::string GetProviderFromPath(std::string path);
} // namespace bpftrace
#include "utils-inl.h"
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