Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298331
b: refs/heads/master
c: 9fafd98
h: refs/heads/master
i:
  298329: c2f61d2
  298327: c784dfc
v: v3
  • Loading branch information
Jiri Olsa authored and Arnaldo Carvalho de Melo committed Mar 22, 2012
1 parent 7834361 commit f174c88
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: 842f07f6127afa48cca6b2ce9021b985e8eb9068
refs/heads/master: 9fafd98f1bf14276f95b69f0186ad5675f1e1a18
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/header.c
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ static void print_event_desc(struct perf_header *ph, int fd, FILE *fp)
goto error;

msz = sizeof(attr);
if (sz < (ssize_t)msz)
if (sz < msz)
msz = sz;

for (i = 0 ; i < nre; i++) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/parse-events.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ int parse_events_add_breakpoint(struct list_head *list, int *idx,
char name[MAX_NAME_LEN];

memset(&attr, 0, sizeof(attr));
attr.bp_addr = (u64) ptr;
attr.bp_addr = (unsigned long) ptr;

if (parse_breakpoint_type(type, &attr))
return -EINVAL;
Expand Down

0 comments on commit f174c88

Please sign in to comment.