Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions lttngpy/src/lttngpy/channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Include lttng-error.h before channel.h, otherwise lttng_error_code isn't known
// TODO(mosfet80): order it alphabetically once liblttng-ctl 2.14+ is fixed:
// https://review.lttng.org/c/lttng-tools/+/15165
#include <lttng/lttng-error.h>
#include <lttng/channel.h>
#include <lttng/constant.h>
#include <lttng/domain.h>
#include <lttng/event.h>
#include <lttng/handle.h>
#include <lttng/lttng.h>

#include <optional>
#include <string>
Expand Down
3 changes: 2 additions & 1 deletion lttngpy/src/lttngpy/channel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
#ifndef LTTNGPY__CHANNEL_HPP_
#define LTTNGPY__CHANNEL_HPP_

#include <lttng/domain.h>
#include <lttng/lttng.h>

#include <optional>
#include <string>

namespace lttngpy
Expand Down
2 changes: 1 addition & 1 deletion lttngpy/src/lttngpy/context_app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <lttng/lttng-error.h>
#include <lttng/lttng.h>

#include <string>
#include <variant>
Expand Down
2 changes: 1 addition & 1 deletion lttngpy/src/lttngpy/context_lttng.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <lttng/event.h>
#include <lttng/lttng.h>

#include <map>
#include <optional>
Expand Down
2 changes: 1 addition & 1 deletion lttngpy/src/lttngpy/context_lttng.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef LTTNGPY__CONTEXT_LTTNG_HPP_
#define LTTNGPY__CONTEXT_LTTNG_HPP_

#include <lttng/event.h>
#include <lttng/lttng.h>

#include <optional>
#include <string>
Expand Down
3 changes: 1 addition & 2 deletions lttngpy/src/lttngpy/context_perf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <lttng/event.h>
#include <lttng/lttng-error.h>
#include <lttng/lttng.h>

#include <algorithm>
#include <map>
Expand Down
2 changes: 1 addition & 1 deletion lttngpy/src/lttngpy/context_perf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef LTTNGPY__CONTEXT_PERF_HPP_
#define LTTNGPY__CONTEXT_PERF_HPP_

#include <lttng/event.h>
#include <lttng/lttng.h>

#include <string>
#include <variant>
Expand Down
4 changes: 1 addition & 3 deletions lttngpy/src/lttngpy/event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <lttng/domain.h>
#include <lttng/event.h>
#include <lttng/lttng-error.h>
#include <lttng/lttng.h>
#include <string.h>

#include <map>
Expand Down
3 changes: 1 addition & 2 deletions lttngpy/src/lttngpy/event.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
#ifndef LTTNGPY__EVENT_HPP_
#define LTTNGPY__EVENT_HPP_

#include <lttng/domain.h>
#include <lttng/event.h>
#include <lttng/lttng.h>

#include <set>
#include <string>
Expand Down
3 changes: 1 addition & 2 deletions lttngpy/src/lttngpy/session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <lttng/lttng-error.h>
#include <lttng/session.h>
#include <lttng/lttng.h>

#include <set>
#include <string>
Expand Down
Loading