From: Maynard J. <may...@us...> - 2007-10-18 18:00:32
|
Update of /cvsroot/oprofile/oprofile/libop In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19065/libop Modified Files: Tag: JIT_SUPPORT op_events.c Log Message: Sync JIT_SUPPORT branch with HEAD Index: op_events.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/libop/op_events.c,v retrieving revision 1.83 retrieving revision 1.83.2.1 diff -u -p -d -r1.83 -r1.83.2.1 --- op_events.c 13 Jun 2007 15:04:12 -0000 1.83 +++ op_events.c 18 Oct 2007 17:56:58 -0000 1.83.2.1 @@ -335,6 +335,8 @@ static void read_events(char const * fil seen_name = 1; if (strchr(value, '/') != NULL) parse_error("invalid event name"); + if (strchr(value, '.') != NULL) + parse_error("invalid event name"); event->name = value; } else if (strcmp(name, "event") == 0) { if (seen_event) |