lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 15 Jul 2014 10:36:33 -0400 (EDT)
From:	Vince Weaver <vincent.weaver@...ne.edu>
To:	linux-kernel@...r.kernel.org
cc:	Peter Zijlstra <peterz@...radead.org>,
	Ingo Molnar <mingo@...nel.org>,
	Arnaldo Carvalho de Melo <acme@...nel.org>,
	Stephane Eranian <eranian@...gle.com>
Subject: perf: FORMAT_GROUP on attached process stops working in 3.16-rc

Hello

I noticed in the 3.16-rc kernels that one of my regression tests was 
failing, specifically
	https://github.com/deater/perf_event_tests/blob/master/tests/bugs/read_group_attached.c

This test creates an event group with two events and PERF_FORMAT_GROUP
set.

It creates a child process, stops it, attaches the event group to it, 
starts the events and the child, waits for the child to finish, stops the
events, then reads the value.

In theory a subsequent read from the group leader should return values for 
*both* events (due to PERF_FORMAT_GROUP) but this stopped working, it only 
returns the value for the leader.

I've bisected it down to change: 15a2d4de0eab5 
	"perf: Always destroy groups on exit"

So is this expected behavior due to this patch, or is it a regression?

Thanks,

Vince
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ