added c function trace samples