]> git.baikalelectronics.ru Git - kernel.git/commit
perf record: Fix typo in pid_synthesize_comm_event
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 14 Aug 2009 18:26:32 +0000 (15:26 -0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 15 Aug 2009 09:59:06 +0000 (11:59 +0200)
commit81fc52baebb5575b85d4fafd46913049e2356a44
tree589138e23fc1dfb5c1a17d170bc3a4d02493d0fe
parent317627b0d9ff5f72e41b849631b792a267096a79
perf record: Fix typo in pid_synthesize_comm_event

We were using 'fd' locally, but there was a global 'fd' too, so
when converting from open to fopen the test made against fd
should be made against 'fp', but since we have that global
it didnt get discovered ...

Reported-by: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20090814182632.GF3490@ghostprotocols.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c