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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <928CFBE8E7CB0040959E56B4EA41A77EC1BFF05E@irsmsx504.ger.corp.intel.com>
Date:	Fri, 7 Aug 2009 12:34:46 +0100
From:	"Metzger, Markus T" <markus.t.metzger@...el.com>
To:	Ingo Molnar <mingo@...e.hu>
CC:	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	"tglx@...utronix.de" <tglx@...utronix.de>,
	"hpa@...or.com" <hpa@...or.com>,
	"markus.t.metzger@...il.com" <markus.t.metzger@...il.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [patch] x86, perf_counter, bts: add bts to perf_counter

>-----Original Message-----
>From: Ingo Molnar [mailto:mingo@...e.hu]
>Sent: Friday, August 07, 2009 1:20 PM
>To: Metzger, Markus T
>Cc: Peter Zijlstra; tglx@...utronix.de; hpa@...or.com; markus.t.metzger@...il.com; linux-
>kernel@...r.kernel.org
>Subject: Re: [patch] x86, perf_counter, bts: add bts to perf_counter
>
>
>note, i had this running in the background, as root:
>
>/home/mingo/bin/perf top >/dev/null 2>/dev/null&
>
>that is what interacted most likely.

I'll try that, as well.


> I killed that task and did a
>user-space only recording via:
>
>titan:~> perf record -f -e branches:u -c 1 ./loop_1b_instructions
>
>and that succeeded:
>
>^C[ perf record: Captured and wrote 827.901 MB perf.data (~36171547 samples) ]
>
>to make BTS sampling really practical we need a 'flight data
>recorder' mode for the mmap buffer (overwrite mode), right? Peter
>sent you a patch for that some time ago - did anything good happen
>to that patch?

You mean the patch to find the beginning of the buffer?

Seems that we only get one type of record in those buffers, so a debugger can read
the trace from tail to head.

I had been expecting that we can have multiple counters write into the same mmap
buffer, but when I actually tried to do that, it looked like I would need a separate
mmap buffer per counter.

thanks and regards,
markus.

---------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 Ust.-IdNr.
VAT Registration No.: DE129385895
Citibank Frankfurt (BLZ 502 109 00) 600119052

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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