Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199732
b: refs/heads/master
c: 13eb04f
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker committed May 31, 2010
1 parent b729c9e commit c2b6873
Show file tree
Hide file tree
Showing 2 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: 546cf44a1b507c1cbb5cf42bbe6169780567f36f
refs/heads/master: 13eb04fdbeb9d21dfe4696630daefe18ef6a1a84
4 changes: 2 additions & 2 deletions trunk/tools/perf/util/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,9 @@ static int thread__set_comm_adjust(struct thread *self, const char *comm)

int event__process_comm(event_t *self, struct perf_session *session)
{
struct thread *thread = perf_session__findnew(session, self->comm.pid);
struct thread *thread = perf_session__findnew(session, self->comm.tid);

dump_printf(": %s:%d\n", self->comm.comm, self->comm.pid);
dump_printf(": %s:%d\n", self->comm.comm, self->comm.tid);

if (thread == NULL || thread__set_comm_adjust(thread, self->comm.comm)) {
dump_printf("problem processing PERF_RECORD_COMM, skipping event.\n");
Expand Down

0 comments on commit c2b6873

Please sign in to comment.