Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323759
b: refs/heads/master
c: 74ba9e1
h: refs/heads/master
i:
  323757: d2118cc
  323755: 86b67fb
  323751: 1718fa1
  323743: 3356d7f
v: v3
  • Loading branch information
Namhyung Kim authored and Arnaldo Carvalho de Melo committed Sep 5, 2012
1 parent 20692f6 commit c5ba90a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 12046099160e65cddb639f8b3dda2bd0701c09d6
refs/heads/master: 74ba9e11f02a4ce0c7708dc77d1756b93065e440
5 changes: 2 additions & 3 deletions trunk/tools/perf/util/header.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,11 +610,10 @@ static int write_event_desc(int fd, struct perf_header *h __used,
struct perf_evlist *evlist)
{
struct perf_evsel *evsel;
u32 nre = 0, nri, sz;
u32 nre, nri, sz;
int ret;

list_for_each_entry(evsel, &evlist->entries, node)
nre++;
nre = evlist->nr_entries;

/*
* write number of events
Expand Down

0 comments on commit c5ba90a

Please sign in to comment.