lib: graph: remove useless checks, make functions inline on fast path
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 12 Jun 2018 21:47:12 +0000 (17:47 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:34 +0000 (18:19 -0400)
commit371361a1e9399e9dfcb03c0b86a99cfbc2a55f5a
treec7c4f4d498efa5111748943aa5d46c73feaf7b3d
parentc5a24b0a349d9a435ba5382f852c514817da4fff
lib: graph: remove useless checks, make functions inline on fast path

This patch:

* Removes a few useless checks on the fast path for everything related
  to the graph object.

* Makes the "can consume" flag only written and read in developer mode.

* Makes fast path functions `static inline` within `graph.c`.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
include/babeltrace/graph/component-sink-internal.h
include/babeltrace/graph/graph-internal.h
include/babeltrace/graph/graph.h
lib/graph/graph.c
lib/graph/sink.c
tests/lib/test_bt_notification_iterator.c
This page took 0.025488 seconds and 4 git commands to generate.