Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169499
b: refs/heads/master
c: f1d1fee
h: refs/heads/master
i:
  169497: d1e4901
  169495: c9a8d34
v: v3
  • Loading branch information
Steven Rostedt authored and Ingo Molnar committed Oct 15, 2009
1 parent d11497a commit 7a36188
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b99af874829cba2b30d212bc6fd31b56275ee4d2
refs/heads/master: f1d1feecf07261d083859ecfef0d4399036f9683
8 changes: 7 additions & 1 deletion trunk/tools/perf/util/trace-event-parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1716,12 +1716,18 @@ process_arg_token(struct event *event, struct print_arg *arg,

static int event_read_print_args(struct event *event, struct print_arg **list)
{
enum event_type type;
enum event_type type = EVENT_ERROR;
struct print_arg *arg;
char *token;
int args = 0;

do {
if (type == EVENT_NEWLINE) {
free_token(token);
type = read_token_item(&token);
continue;
}

arg = malloc_or_die(sizeof(*arg));
memset(arg, 0, sizeof(*arg));

Expand Down

0 comments on commit 7a36188

Please sign in to comment.