* Hash function for the per UID registry hash table. This XOR the triplet
* together.
*/
-static unsigned long ht_hash_reg_uid(void *_key, unsigned long seed)
+static unsigned long ht_hash_reg_uid(const void *_key, unsigned long seed)
{
uint64_t xored_key;
- struct buffer_reg_uid *key = _key;
+ const struct buffer_reg_uid *key = _key;
assert(key);
*/
int buffer_reg_uid_consumer_channel_key(
struct cds_list_head *buffer_reg_uid_list,
- uint64_t usess_id, uint64_t chan_key,
- uint64_t *consumer_chan_key)
+ uint64_t chan_key, uint64_t *consumer_chan_key)
{
struct lttng_ht_iter iter;
struct buffer_reg_uid *uid_reg = NULL;