Fix: ir: make duplicate event classes check smarter
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 19 Mar 2015 19:07:32 +0000 (15:07 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Mar 2015 21:36:00 +0000 (17:36 -0400)
commit0d23acbeeb27ebede2278c50c2c7e0fe0b1ae8d2
tree0b105df874f96a4d97bb7abff12bbfdea4c2db03
parent3b3b162e3dee8ebc5f5d4a99089ce83befff2ab2
Fix: ir: make duplicate event classes check smarter

This patch makes bt_ctf_stream_class_add_event_class()
compare not only event classes pointers when checking
for duplicate, but also equal names and equal IDs.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/ctf/ir/stream-class.c
This page took 0.024437 seconds and 4 git commands to generate.