Lines Matching refs:event_name
363 char event_name[512];
369 strncpy(event_name, event_spec, 512);
373 for (i = 0; i < strlen(event_name); i++) {
374 if (event_name[i] == 0) {
377 if (event_name[i] == ':') {
378 strncpy(count_name, event_name+i+1, 512);
379 event_name[i] = 0;
383 event_idx = find_event_idx_from_name(event_name);
385 fprintf(stderr, "Unknown event name: %s\n", event_name);
399 event_name, num_events);