Skip to content

Instantly share code, notes, and snippets.

@iori-yja
Created July 11, 2015 13:58
Show Gist options
  • Save iori-yja/ec4170e8ea1a3fa1e356 to your computer and use it in GitHub Desktop.
Save iori-yja/ec4170e8ea1a3fa1e356 to your computer and use it in GitHub Desktop.
$2 = "name: timer_expire_exit\nID: 132\nformat:\n\tfield:unsigned short common_type;\toffset:0;\tsize:2;\tsigned:0;\n\tfield:unsigned char common_flags;\toffset:2;\tsize:1;\tsigned:0;\n\tfield:unsigned char common_preempt_count;\toffset:3;\tsize:1;\tsigned:0;\n\tfield:int common_pid;\toffset:4;\tsize:4;\tsigned:1;\n\n\tfield:void * timer;\toffset:8;\tsize:8;\tsigned:0;\n\nprint fmt: \"timer=%p\", REC->timer\n6;\tsize:8;\tsigned:0;\n\tfield:void * function;\toffset:24;\tsize:8;\tsigned:0;\n\nprint fmt: \"timer=%p function=%pf now=%lu\", REC->timer, REC->function,REC->now\nOFTIRQ, \"BLOCK\" }, { BLOCK_IOPOLL_SOFTIRQ, \"BLOCK_IOPOLL\" }, { TASKLET_SOFTIRQ, \"TASKLET\" }, { SCHED_SOFTIRQ, \"SCHED\" }, { HRTIMER_SOFTIRQ, \"HRTIMER\" }, { RCU_SOFTIRQ, \"RCU\" })\n\nd prev_state=%s%s ==> next_comm=%s next_pid=%d next_prio=%d\", REC->prev_comm, REC->prev_pid, REC->prev_prio, REC->prev_state & (1024-1) ? __print_flags(REC->prev_state & (1024-1), \"|\", { 1, \"S\"} , { 2, \"D\" }, { 4, \"T\" }, { 8, \"t\" }, { 16, \"Z\" }, { 32, \"X\" }, { 64, \"x\" }, { 128, \"K\" }, { 256, \"W\" }, { 512, \"P\" }) : \"R\", REC->prev_state & 1024 ? \"+\" : \"\", REC->next_comm, REC->next_pid, REC->next_prio\n\000\000\000\000\000\020\265\377\377\377\177\000\000\000\000\000\000\377\177\000\000\000\000\000\000\000\000\000\000\021\000\000\000\000\000\000\000\032ք\366\377\177\000\000\220\271\377\377\377\177\000\000\001\000\000\000.", '\000' <repeats 11 times>, "\001\000\000\000\000\000\000\000p\261\377\377\377\177", '\000' <repeats 18 times>, "\377\377\377\377", '\000' <repeats 36 times>, "\177\003", '\000' <repeats 18 times>, "f", '\000' <repeats 11 times>, "@\262\377\377\377\177\000\000\002\000\000\000\000\000\000\000\340\261\377\377\377\177\000\000\000\000\000\000\000\000\000\000\020\262\377\377\377\177\000\000\002", '\000' <repeats 15 times>, "\220\271\377\377\377\177\000\000\000\000\000\000\000\000\000\000\360\272\377\377\377\177\000\000\360\272\377\377\377\177\000\000\200\274\377\377\377\177\000\000\200\271\377\377\377\177\000\000\321\373r\366\377\177\000\000\000\000\000\000\000\000\000\000\020\265\377\377\377\177", '\000' <repeats 82 times>, " ", '\000' <repeats 23 times>, "\340\264\377\377\377\177", '\000' <repeats 26 times>, "\t", '\000' <repeats 15 times>, "g", '\000' <repeats 39 times>, "Z\022s\366\377\177\000\000\000\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377H\271\377\377\377\177", '\000' <repeats 18 times>, "\200\274\377\377\377\177\000\000\000\000\000\000\002", '\000' <repeats 15 times>, "\001\000\000\000\204\274\377\377\377\177", '\000' <repeats 11 times>, "\265\377\377\377\177", '\000' <repeats 26 times>, "\t\000\000\000\000\000\000\000g\000\000\000\000\000\000\000 \000\000\000\000\000\000\000 \000\000\000\060\000\000\000\360\273\377\377\377\177\000\000\020\273\377\377\377\177\000\000\000\000\000\000\000\000\000\000X\274\377\377\377\177\000\000\260\224S\367\377\177\000\000\321\373r\366\377\177\000\000\000\000\000\000\000\000\000\000\260\266\377\377\377\177", '\000' <repeats 82 times>, " ", '\000' <repeats 23 times>, "\200\266\377\377\377\177", '\000' <repeats 26 times>, "\031", '\000' <repeats 15 times>, "\347\377\377\377", '\000' <repeats 36 times>, "Z\022s\366\377\177\000\000\000\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377\031", '\000' <repeats 23 times>, "\027lE", '\000' <repeats 25 times>, "-\000\000\000\031lE", '\000' <repeats 21 times>, ".\316u\366\377\177\000\000\240\274\377\377\377\177\000\000\220\274\377\377\377\177\000\000\356oE\000\000\000\000\000Ƚ\377\377\377\177\000\000\260\274|\000\000\000\000\000\321\373r\366\377\177\000\000\200\273E\000\000\000\000\000 \270\377\377\377\177\000\000\340\274\377\377\377\177\000\000м\377\377\000\000\000\000\345\274E\000\000\000\000\000\000\000\000\000\377\177\000\000\001", '\000' <repeats 11 times>, "\377\177\000\000\000\000\000\000\000\000\000\000`\270\377\377\377\177", '\000' <repeats 18 times>, " ", '\000' <repeats 23 times>, "\360\267\377\377\377\177", '\000' <repeats 11 times>, "\270\377\377\377\177\000\000\000\000\000\000\000\000\000\000\024", '\000' <repeats 15 times>, "\354\377\377\377", '\000' <repeats 12 times>, "\060\270\377\377\377\177", '\000' <repeats 14 times>, "\001\000\000\000Z\022s\366\377\177\000\000\000\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377\024", '\000' <repeats 15 times>, "\004\000\000\000\000\000\000\000\351oE", '\000' <repeats 13 times>, "Z\022s\366\377\177\000\000\000\000\000\000B\000\000\000\365oE\000\000\000\000\000\004\000\000\000\000\000\000\000\020\275E\000\000\000\000\000&\000\000\000\000\000\000\000\343\274E\000\000\000\000\000\304?\336\000\000\000\000\000\306\302E\000\000\000\000\000\000\000\000\000\026\000\000\000\354\274E\000\000\000\000\000\020\000\000\000\060\000\000\000\240\276\377\377\377\177\000\000\340\275\377\377\377\177\000\000\260\276\377\377\377\177\000\000\360\275\377\377\377\177\000\000\330t\373\367\377\177\000\000\370\270\377\377\377\177\000\000\364\270\377\377\377\177\000\000\020\000\000\000\060\000\000\000\340\276\377\377\377\177\000\000 \276\377\377\377\177\000\000\360\276\377\377\377\177\000\000\060\276\377\377\377\177\000\000P\265\250\020\000\000\000\000բB\000\000\000\000\000\020\000\000\000\000\000\000\000й\377\377\377\177\000\000\200Ψ\366\377\177\000\000\364\270\377\377\377\177\000\000\300\271\377\377\377\177\000\000\210f\373\367\377\177\000\000\f", '\000' <repeats 15 times>, "\260\222\036\367", '\000' <repeats 12 times>, "\360\271\377\377\377\177\000\000(\210\373\367\377\177\000\000`\272\377\377\377\177\000\000`S\373\367\377\177\000\000\000\000\000\000\000\000\000\000Є\373\367\377\177\000\000\210\272\377\377\377\177\000\000\017L\336\367\377\177\000\000\b\000\000\000\000\000\000\000`S\373\367\377\177\000\000\001", '\000' <repeats 15 times>, "\001\000\000\000\000\000\000\000Є\373\367\377\177\000\000\005\000\000\000\000\000\000\000\060P\373\367\377\177\000\000\001", '\000' <repeats 15 times>, "(\210\373\367\377\177\000\000й\377\377\377\177\000\000\360\273\377\377\001\000\000\000\300\271\377\377\377\177\000\000P\265\250\020\000\000\000\000\031\306\036\367\377\177\000\000\377\377\377\377\000\000\000\000\000\272\377\377\377\177\000\000\020\267\250\366\377\177\000\000\330t\373\367\377\177\000\000ݝ\331w\000\000\000\000'+\037\367\377\177\000\000\377\377\377\377\000\000\000\000\060P\373\367\377\177\000\000\250\310\035\367\377\177\000\000Є\373\367\377\177\000\000\001\000\000\000\000\000\000\000Є\373\367\377\177\000\000\000\000\000X\266N\255A\022'r\366\377\177\000\000\377\377\377\377\377\377\377\377\370\272\377\377\377\177\000\000\003\000\000\000\000\000\000\000\177\003", '\000' <repeats 14 times>, "\033", '\000' <repeats 15 times>, "\061L{\000\000\000\000\000\340\272\377\377\377\177\000\000\000\273\377\377\377\177\000\000\t\000\000\000\000\000\000\000hKr\366\377\177\000\000`\t\000\000\000\000\000\000\t\000\000\000\000\000\000\000(L{", '\000' <repeats 13 times>, " T\250\366\377\177\000\000\001\000\000\000\000\000\000\000`\t\000\000\000\000\000\000\340\273\377\377\377\177\000\000\004\000\000\000\000\000\000\000\060\000\000\000\000\000\000\000`\000\000\000\000\000\000\000\004\000\000\000\377\177\000\000\001\000\000\000\000\000\000\000P\273\377\377\377\177\000\000\030\274\377\377\377\177\000\000\200A|\000\000\000\000\000P\273\377\377\377\177\000\000\220S{\000\000\000\000\000\340@|\000\000\000\000\000\027\270D\000\000\000\000\000\240A|\000\000\000\000\000\220\324D\000\000\000\000\000\060\000\000\000\000\000\000\000\300<\001\000\000\000\000\000\340A|\000\000\000\000\000\220S{\000\000\000\000\000\340@|\000\000\000\000\000\030\274\377\377\377\177\000\000\220S{\000\000\000\000\000\240A|\000\000\000\000\000\006\000\000\000\000\000\000\000\220S{\000\000\000\000\000\002\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000@\000\000\000\000\000\000\000\002", '\000' <repeats 15 times>, "\060", '\000' <repeats 23 times>, "[\000\000\000n", '\000' <repeats 19 times>, "w\000\000\000|\000\000\000\000B|\000\000\000\000\000 K\250\366\377\177\000\000\002\000\000\000\000\000\000\000x\274\377\377\377\177\000\000\220S{\000\000\000\000\000\260\214\201\000\000\000\000\000ؼ\377\377\377\177\000\000x\274\377\377\377\177\000\000\020\215\201\000\000\000\000\000\304?\336\367\377\177\000\000\220S{\000\000\000\000\000\221\001\000\000\000\000\000\000\260y\373\367\377\177\000\000\240\274\377\377\377\177\000\000\377\377\377\377\377\377\377\377\266\274|\000\000\000\000\000\310oE\000\000\000\000\000Ƚ\377\377\377\177\000\000\260\27---Type <return> to continue, or q <return> to quit---
4|\000\000\000\000\000wqE\000\000\000\000\000\340\274|\000\000\000\000\000\213.u\366\377\177\000\000\001\200\255\373\000\000\000\000\340\274|\000\000\000\000\000\340\274|\000\000\000\000\000\340\274|\000\000\000\000\000\340\274|\000\000\000\000\000\"\275|\000\000\000\000\000\377\377\377\377\377\377\377\377\340\274|\000\000\000\000\000\377\377\377\377\377\377\377\377", '\000' <repeats 40 times>, "r\324E", '\000' <repeats 15 times>, "\377\377\377\177\000\000\000\000\000\000\000\000\000\000\200\276\377\377\377\177\000\000Hg\373\367\377\177\000\000\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000\250\276\377\377\377\177\000\000\017L\336\367\377\177\000\000\377\377\377\377\000\000\000\000Hg\373\367\377\177\000\000\001\000\000\000\000\000\000\000\200\067\250\366\377\177\000\000\000\000\000\000\000\000\000\000\060\341\377\367\377\177\000\000\060w\247\000\000\000\000\000\266\274|\000\000\000\000\000о\377\377\377\177\000\000\340\274|\000\000\000\000\000\260\274|\000\000\000\000\000gos\366\377\177\000\000\000\000\000\000\000\000\000\000 \000\000\000\060\000\000\000\240\276\377\377\377\177\000\000\340\275\377\377\377\177\000\000\005\000\000\000\000\000\000\000E\000\000\000\000\000\000\000\260\274|\000\000\000\000\000\266\274|\000\000\000\000\000\000\376\000\000\000\000\000\000\250\276\377\377\377\177", '\000' <repeats 18 times>, "[\000\000\000n", '\000' <repeats 19 times>, "w\000\000\000|", '\000' <repeats 11 times>, " K\250\366\377\177\000"
@iori-yja
Copy link
Author

(gdb) break __pevent_parse_format
Breakpoint 3 at 0x4510c0: file event-parse.c, line 4948.
(gdb) continue
Continuing.

Breakpoint 3, __pevent_parse_format (eventp=eventp@entry=0x7fffffffbe78, pevent=pevent@entry=0x7b3470,
buf=0xa77810 "name: hrtimer_expire_entry\nID: 128\nformat:\n\tfield:unsigned short common_type;\toffset:0;\tsize:2;\tsigned:0;\n\tfield:unsigned char common_flags;\toffset:2;\tsize:1;\tsigned:0;\n\tfield:unsigned char common_preempt_count;\toffset:3;\tsize:1;\tsigned:0;\n\tfield:int common_pid;\toffset:4;\tsize:4;\tsigned:1;\n\n\tfield:void * hrtimer;\toffset:8;\tsize:8;\tsigned:0;\n\tfield:s64 now;\toffset:16;\tsize:8;\tsigned:1;\n\tfield:void * function;\toffset:24;\tsize:8;\tsigned:0;\n\nprint fmt: "hrtimer=%p function=%pf now=%llu", REC->hrtimer, REC->function, (unsigned long long)(((ktime_t) { .tv64 = REC->now }).tv64)\n", size=578, sys=0x7cbcb0 "timer")
at event-parse.c:4948
4948 {
(gdb) s
4954 eventp = event = alloc_event();
(gdb)
alloc_event () at event-parse.c:654
654 return calloc(1, sizeof(struct event_format));
(gdb)
__pevent_parse_format (eventp=eventp@entry=0x7fffffffbe78, pevent=pevent@entry=0x7b3470,
buf=0xa77810 "name: hrtimer_expire_entry\nID: 128\nformat:\n\tfield:unsigned short common_type;\toffset:0;\tsize:2;\tsigned:0;\n\tfield:unsigned char common_flags;\toffset:2;\tsize:1;\tsigned:0;\n\tfield:unsigned char common_preempt_count;\toffset:3;\tsize:1;\tsigned:0;\n\tfield:int common_pid;\toffset:4;\tsize:4;\tsigned:1;\n\n\tfield:void * hrtimer;\toffset:8;\tsize:8;\tsigned:0;\n\tfield:s64 now;\toffset:16;\tsize:8;\tsigned:1;\n\tfield:void * function;\toffset:24;\tsize:8;\tsigned:0;\n\nprint fmt: "hrtimer=%p function=%pf now=%llu", REC->hrtimer, REC->function, (unsigned long long)(((ktime_t) { .tv64 = REC->now }).tv64)\n", size=578, sys=0x7cbcb0 "timer")
at event-parse.c:4948
4948 {
(gdb)
4952 init_input_buf(buf, size);
(gdb)
init_input_buf (size=578,
buf=0xa77810 "name: hrtimer_expire_entry\nID: 128\nformat:\n\tfield:unsigned short common_type;\toffset:0;\tsize:2;\tsigned:0;\n\tfield:unsigned char common_flags;\toffset:2;\tsize:1;\tsigned:0;\n\tfield:unsigned char common_preempt_count;\toffset:3;\tsize:1;\tsigned:0;\n\tfield:int common_pid;\toffset:4;\tsize:4;\tsigned:1;\n\n\tfield:void * hrtimer;\toffset:8;\tsize:8;\tsigned:0;\n\tfield:s64 now;\toffset:16;\tsize:8;\tsigned:1;\n\tfield:void * function;\toffset:24;\tsize:8;\tsigned:0;\n\nprint fmt: "hrtimer=%p function=%pf now=%llu", REC->hrtimer, REC->function, (unsigned long long)(((ktime_t) { .tv64 = REC->now }).tv64)\n") at event-parse.c:57
57 input_buf = buf;
(gdb)
58 input_buf_siz = size;
(gdb)
59 input_buf_ptr = 0;
(gdb)
__pevent_parse_format (eventp=eventp@entry=0x7fffffffbe78, pevent=pevent@entry=0x7b3470,
buf=0xa77810 "name: hrtimer_expire_entry\nID: 128\nformat:\n\tfield:unsigned short common_type;\toffset:0;\tsize:2;\tsigned:0;\n\tfield:unsigned char common_flags;\toffset:2;\tsize:1;\tsigned:0;\n\tfield:unsigned char common_preempt_count;\toffset:3;\tsize:1;\tsigned:0;\n\tfield:int common_pid;\toffset:4;\tsize:4;\tsigned:1;\n\n\tfield:void * hrtimer;\toffset:8;\tsize:8;\tsigned:0;\n\tfield:s64 now;\toffset:16;\tsize:8;\tsigned:1;\n\tfield:void * function;\toffset:24;\tsize:8;\tsigned:0;\n\nprint fmt: "hrtimer=%p function=%pf now=%llu", REC->hrtimer, REC->function, (unsigned long long)(((ktime_t) { .tv64 = REC->now }).tv64)\n", size=578, sys=0x7cbcb0 "timer")
at event-parse.c:4954
4954 *eventp = event = alloc_event();
(gdb)
alloc_event () at event-parse.c:654
654 return calloc(1, sizeof(struct event_format));
(gdb)
__pevent_parse_format (eventp=eventp@entry=0x7fffffffbe78, pevent=pevent@entry=0x7b3470, buf=, size=, sys=0x7cbcb0 "timer")
at event-parse.c:4955
4955 if (!event)
(gdb)
4954 *eventp = event = alloc_event();
(gdb)
4955 if (!event)
(gdb)
4958 event->name = event_read_name();
(gdb)
event_read_name () at event-parse.c:4958
4958 event->name = event_read_name();
(gdb)
read_expected (str=, expect=) at event-parse.c:1151
1151 return __read_expected(expect, str, 1);
(gdb)
__read_expected (expect=expect@entry=EVENT_ITEM, str=str@entry=0x45b9a6 "name", newline_ok=newline_ok@entry=1) at event-parse.c:1132
1132 {
(gdb)
1137 if (newline_ok)
(gdb)
1138 type = read_token(&token);
(gdb)
1137 if (newline_ok)
(gdb)
1138 type = read_token(&token);
(gdb)
read_token (tok=0x7fffffffbde8) at event-parse.c:1030
1030 {
(gdb)
1034 type = __read_token(tok);
(gdb)
__read_token (tok=tok@entry=0x7fffffffbde8) at event-parse.c:835
835 {
(gdb)
845 ch = __read_char();
(gdb)
__read_char () at event-parse.c:789
789 if (input_buf_ptr >= input_buf_siz)
(gdb)
__read_token (tok=tok@entry=0x7fffffffbde8) at event-parse.c:842
842 *tok = NULL;
(gdb)
845 ch = __read_char();
(gdb)
__read_char () at event-parse.c:789
789 if (input_buf_ptr >= input_buf_siz)
(gdb)
792 return input_buf[input_buf_ptr++];
(gdb)
__read_token (tok=tok@entry=0x7fffffffbde8) at event-parse.c:846
846 if (ch < 0)
(gdb)
845 ch = __read_char();
(gdb)
__read_char () at event-parse.c:792
792 return input_buf[input_buf_ptr++];
(gdb)
846 if (ch < 0)
(gdb)
849 type = get_type(ch);
(gdb)
get_type (ch=110) at event-parse.c:769
769 if (ch == '\n')
(gdb)
770 return EVENT_NEWLINE;
(gdb)
769 if (ch == '\n')
(gdb)
768 {
(gdb)
771 if (isspace(ch))
(gdb)
772 return EVENT_SPACE;
(gdb)
771 if (isspace(ch))
(gdb)
773 if (isalnum(ch) || ch == '
')
(gdb)
774 return EVENT_ITEM;
(gdb)
785 }
(gdb)
__read_token (tok=tok@entry=0x7fffffffbde8) at event-parse.c:850
850 if (type == EVENT_NONE)
(gdb)
849 type = get_type(ch);
(gdb)
850 if (type == EVENT_NONE)
(gdb)
855 switch (type) {
(gdb)
853 buf[i++] = ch;
(gdb)
855 switch (type) {
(gdb)
855 switch (type) {
(gdb)
955 while (get_type(__peek_char()) == type) {
(gdb)
__peek_char () at event-parse.c:797
797 if (input_buf_ptr >= input_buf_siz)
(gdb)
798 return -1;
(gdb)
797 if (input_buf_ptr >= input_buf_siz)
(gdb)
800 return input_buf[input_buf_ptr];
(gdb)
__read_token (tok=tok@entry=0x7fffffffbde8) at event-parse.c:955
955 while (get_type(__peek_char()) == type) {
(gdb)
get_type (ch=97) at event-parse.c:769
769 if (ch == '\n')
(gdb)
770 return EVENT_NEWLINE;
(gdb)
769 if (ch == '\n')
(gdb)
768 {
(gdb)
771 if (isspace(ch))
(gdb)
772 return EVENT_SPACE;
(gdb)
771 if (isspace(ch))
(gdb)
773 if (isalnum(ch) || ch == '_')
(gdb)
774 return EVENT_ITEM;
(gdb)
785 }
(gdb) n
__read_token (tok=tok@entry=0x7fffffffbde8) at event-parse.c:956
956 if (i == (BUFSIZ - 1)) {
(gdb)
964 ch = __read_char();
(gdb)
965 buf[i++] = ch;
(gdb)
955 while (get_type(__peek_char()) == type) {
(gdb)
956 if (i == (BUFSIZ - 1)) {
(gdb)
964 ch = __read_char();
(gdb)
965 buf[i++] = ch;
(gdb)
955 while (get_type(__peek_char()) == type) {
(gdb)
956 if (i == (BUFSIZ - 1)) {
(gdb)
964 ch = __read_char();
(gdb)
965 buf[i++] = ch;
(gdb)
955 while (get_type(__peek_char()) == type) {
(gdb)
970 if (extend_token(tok, buf, tok_size + i + 1) < 0)
(gdb)
969 buf[i] = 0;
(gdb)
970 if (extend_token(tok, buf, tok_size + i + 1) < 0)
(gdb)
973 if (type == EVENT_ITEM) {
(gdb)
982 if (strcmp(_tok, "LOCAL_PR_FMT") == 0) {
(gdb)
986 } else if (strcmp(_tok, "STA_PR_FMT") == 0) {
(gdb)
990 } else if (strcmp(_tok, "VIF_PR_FMT") == 0) {
(gdb)
998 }
(gdb)
read_token (tok=0x7fffffffbde8) at event-parse.c:1035
1035 if (type != EVENT_SPACE)
(gdb)
1044 }
(gdb)
__read_expected (expect=expect@entry=EVENT_ITEM, str=str@entry=0x45b9a6 "name", newline_ok=newline_ok@entry=1) at event-parse.c:1142
1142 ret = test_type_token(type, token, expect, str);
(gdb)
1144 free_token(token);
1142 ret = test_type_token(type, token, expect, str);
(gdb)
1144 free_token(token);
(gdb)
1147 }
(gdb)
event_read_name () at event-parse.c:1163
1163 if (read_expected(EVENT_ITEM, "name") < 0)
(gdb)
1166 if (read_expected(EVENT_OP, ":") < 0)
(gdb)
1169 if (read_expect_type(EVENT_ITEM, &token) < 0)
(gdb)
1172 return token;
(gdb)
__pevent_parse_format (eventp=eventp@entry=0x7fffffffbe78, pevent=pevent@entry=0x7b3470, buf=, size=, sys=0x7cbcb0 "timer")
at event-parse.c:4959
4959 if (!event->name) {
(gdb)
4958 event->name = event_read_name();
(gdb)
4959 if (!event->name) {
(gdb)
4965 if (strcmp(sys, "ftrace") == 0) {
(gdb)
4972 event->id = event_read_id();
(gdb)
4973 if (event->id < 0) {
(gdb)
4972 event->id = event_read_id();
(gdb)
4973 if (event->id < 0) {
(gdb)
4982 event->system = strdup(sys);
(gdb)
4983 if (!event->system) {
(gdb)
4982 event->system = strdup(sys);
(gdb)
4983 if (!event->system) {
(gdb)
4991 ret = event_read_format(event);
(gdb)
4989 event->pevent = pevent;
(gdb)
4991 ret = event_read_format(event);
(gdb)
5001 if (pevent && find_event_handle(pevent, event))
(gdb)
4991 ret = event_read_format(event);
(gdb)
5001 if (pevent && find_event_handle(pevent, event))
(gdb)
5004 ret = event_read_print(event);
(gdb)
unknown op '{'
5005 show_warning = 1;
(gdb)
5008 ret = PEVENT_ERRNO__READ_PRINT_FAILED;
(gdb) p event
$3 =

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment