Actions
Bug #511
closedlttng-gen-tp file naming restrictions
Start date:
04/27/2013
Due date:
% Done:
100%
Estimated time:
Description
I created a tracepoint in the file "cmd-get.h" and ran lttng-gen-tp on it. It caused the define in the .h to be:
#define CMD-GET_H
Because the "-" is not a valid character in a C identifier, the compilation fails.
Files
Updated by Yannick Brosseau over 11 years ago
Can you provide the template file?
Actions
#2
Updated by Simon Marchi over 11 years ago
- File cmd-get.tp cmd-get.tp added
- File cmd-get.h cmd-get.h added
- File cmd-get.c cmd-get.c added
Attach the tp file and generated header and source files.
Updated by Mathieu Desnoyers over 11 years ago
- Target version set to 2.2
Targetting 2.2, due soon now. Yannick, can we get a patch fixing this ?
Updated by Anonymous over 11 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 8ed6868567de848afc88c2ed28cbd8f4817dc248.
Actions