Project

General

Profile

Actions

Bug #511

closed

lttng-gen-tp file naming restrictions

Added by Simon Marchi over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Yannick Brosseau
Target version:
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

cmd-get.tp (134 Bytes) cmd-get.tp Simon Marchi, 04/27/2013 11:06 AM
cmd-get.h (551 Bytes) cmd-get.h Simon Marchi, 04/27/2013 11:06 AM
cmd-get.c (136 Bytes) cmd-get.c Simon Marchi, 04/27/2013 11:06 AM
Actions

Also available in: Atom PDF