{
struct lfht_mp_node *mp_node =
caa_container_of(node, struct lfht_mp_node, node);
{
struct lfht_mp_node *mp_node =
caa_container_of(node, struct lfht_mp_node, node);
const struct vstack *stack)
{
struct lfht_mp_node *node;
unsigned long hash = lttng_hash_mix((const char *) target_pc,
sizeof(target_pc),
lttng_hash_seed);
const struct vstack *stack)
{
struct lfht_mp_node *node;
unsigned long hash = lttng_hash_mix((const char *) target_pc,
sizeof(target_pc),
lttng_hash_seed);
return -ENOMEM;
node->target_pc = target_pc;
memcpy(&node->stack, stack, sizeof(node->stack));
return -ENOMEM;
node->target_pc = target_pc;
memcpy(&node->stack, stack, sizeof(node->stack));
- ret = cds_lfht_add_unique(ht, hash, lttng_hash_match,
+ ret = lttng_ust_lfht_add_unique(ht, hash, lttng_hash_match,
(const char *) target_pc, &node->node);
if (ret != &node->node) {
struct lfht_mp_node *ret_mp =
(const char *) target_pc, &node->node);
if (ret != &node->node) {
struct lfht_mp_node *ret_mp =
- cds_lfht_for_each_entry(ht, &iter, node, node) {
+ lttng_ust_lfht_for_each_entry(ht, &iter, node, node) {
/* Validate merge points */
hash = lttng_hash_mix((const char *) target_pc, sizeof(target_pc),
lttng_hash_seed);
/* Validate merge points */
hash = lttng_hash_mix((const char *) target_pc, sizeof(target_pc),
lttng_hash_seed);
- cds_lfht_lookup(merge_points, hash, lttng_hash_match,
+ lttng_ust_lfht_lookup(merge_points, hash, lttng_hash_match,
/* Once validated, we can remove the merge point */
dbg_printf("Bytecode: remove merge point at offset %lu\n",
target_pc);
/* Once validated, we can remove the merge point */
dbg_printf("Bytecode: remove merge point at offset %lu\n",
target_pc);