• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/tools/perf/util/

Lines Matching defs:format

887 			 * the format: type [] item;
994 if (read_expected_item(EVENT_ITEM, "format") < 0)
1004 ret = event_read_fields(event, &event->format.common_fields);
1007 event->format.nr_common = ret;
1009 ret = event_read_fields(event, &event->format.fields);
1012 event->format.nr_fields = ret;
1824 event->print_fmt.format = token;
1837 cat = malloc_or_die(strlen(event->print_fmt.format) +
1839 strcpy(cat, event->print_fmt.format);
1842 free_token(event->print_fmt.format);
1843 event->print_fmt.format = NULL;
1867 struct format_field *format;
1869 for (format = event->format.common_fields;
1870 format; format = format->next) {
1871 if (strcmp(format->name, name) == 0)
1875 return format;
1881 struct format_field *format;
1883 for (format = event->format.fields;
1884 format; format = format->next) {
1885 if (strcmp(format->name, name) == 0)
1889 return format;
1895 struct format_field *format;
1897 format = find_common_field(event, name);
1898 if (format)
1899 return format;
2201 * Some flags in the format files do not get converted.
2424 char *format;
2430 die("can't find format field for binary printk");
2438 format = malloc_or_die(45);
2439 sprintf(format, "%%pf : (NO FORMAT FOUND at %llx)\n",
2441 return format;
2448 format = malloc_or_die(strlen(p) + 10);
2449 sprintf(format, "%s : %s", "%pf", p);
2451 p = format + strlen(format) - 1;
2459 return format;
2467 const char *ptr = print_fmt->format;
2472 char format[32];
2554 die("bad format!");
2556 memcpy(format, saveptr, len);
2557 format[len] = 0;
2574 printf(format, (int)val);
2577 printf(format, (long)val);
2580 printf(format, (long long)val);
3141 die("failed to read ftrace event format");
3155 for (field = event->format.fields; field; field = field->next) {
3188 warning("failed to read event format for %s", event->name);