[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <19008.37301.779108.964118@cargo.ozlabs.ibm.com>
Date: Tue, 23 Jun 2009 18:26:29 +1000
From: Paul Mackerras <paulus@...ba.org>
To: eranian@...il.com
Cc: Ingo Molnar <mingo@...e.hu>, LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
Robert Richter <robert.richter@....com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Andi Kleen <andi@...stfloor.org>,
Maynard Johnson <mpjohn@...ibm.com>,
Carl Love <cel@...ibm.com>,
Corey J Ashford <cjashfor@...ibm.com>,
Philip Mucci <mucci@...s.utk.edu>,
Dan Terpstra <terpstra@...s.utk.edu>,
perfmon2-devel <perfmon2-devel@...ts.sourceforge.net>
Subject: Re: I.2 - Grouping
stephane eranian writes:
> What happens if I do:
> fd0 = perf_counter_open(&hwc1, getpid(), -1, -1, 0);
> fd1 = perf_counter_open(&hwc2, getpid(), -1, fd0, 0);
>
> And then:
> fd2 = perf_counter_open(&hwc2, getpid(), -1, fd1, 0);
That perf_counter_open call will fail with an EINVAL error because fd1
is not a group leader.
Paul.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists