LKML Archive mirror
 help / color / mirror / Atom feed
* perf_guest default bug
@ 2012-03-02 19:00 David Ahern
  2012-03-03 14:04 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 4+ messages in thread
From: David Ahern @ 2012-03-02 19:00 UTC (permalink / raw
  To: Arnaldo Carvalho de Melo, LKML; +Cc: Ingo Molnar

Similar to my last email, this patch is not in urgent trees or Linus' 
yet the problem exists in Linus' tree:
https://lkml.org/lkml/2012/2/17/82

$ /tmp/pbuild/perf record -a  -- sleep 1
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.319 MB perf.data (~13935 samples) ]
Segmentation fault

Root cause is the perf_guest setting.

$ /tmp/pbuild/perf --version
perf version 3.3.rc5.60.g203738

David

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: perf_guest default bug
  2012-03-02 19:00 perf_guest default bug David Ahern
@ 2012-03-03 14:04 ` Arnaldo Carvalho de Melo
  2012-03-03 15:19   ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2012-03-03 14:04 UTC (permalink / raw
  To: David Ahern; +Cc: LKML, Ingo Molnar

Em Fri, Mar 02, 2012 at 12:00:01PM -0700, David Ahern escreveu:
> Similar to my last email, this patch is not in urgent trees or
> Linus' yet the problem exists in Linus' tree:
> https://lkml.org/lkml/2012/2/17/82
> 
> $ /tmp/pbuild/perf record -a  -- sleep 1
> [ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 0.319 MB perf.data (~13935 samples) ]
> Segmentation fault
> 
> Root cause is the perf_guest setting.
> 
> $ /tmp/pbuild/perf --version
> perf version 3.3.rc5.60.g203738

This one was tricky, IIRC, weren't follow up patches needed to plug some
extra problems?

- Arnaldo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: perf_guest default bug
  2012-03-03 14:04 ` Arnaldo Carvalho de Melo
@ 2012-03-03 15:19   ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2012-03-03 15:19 UTC (permalink / raw
  To: David Ahern; +Cc: LKML, Ingo Molnar

Em Sat, Mar 03, 2012 at 11:04:05AM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Fri, Mar 02, 2012 at 12:00:01PM -0700, David Ahern escreveu:
> > Similar to my last email, this patch is not in urgent trees or
> > Linus' yet the problem exists in Linus' tree:
> > https://lkml.org/lkml/2012/2/17/82
> > 
> > $ /tmp/pbuild/perf record -a  -- sleep 1
> > [ perf record: Woken up 1 times to write data ]
> > [ perf record: Captured and wrote 0.319 MB perf.data (~13935 samples) ]
> > Segmentation fault
> > 
> > Root cause is the perf_guest setting.
> > 
> > $ /tmp/pbuild/perf --version
> > perf version 3.3.rc5.60.g203738
> 
> This one was tricky, IIRC, weren't follow up patches needed to plug some
> extra problems?

Yeah, just trying cherry picking it and trying it on an RHEL6.2 kernel
and it didn't work because older kernels don't have
attr.exclude_{guest,host}, so I had to also cherrypick:

[acme@sandy linux]$ git cherry-pick
0c9781280fb672ca09c997df3f14ba506bbdb977
Finished one cherry-pick.
[perf/urgent b5f81a4] perf tools: Handle kernels that don't support attr.exclude_{guest,host}

- Arnaldo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: perf_guest default bug
@ 2012-03-03 15:29 David Ahern
  0 siblings, 0 replies; 4+ messages in thread
From: David Ahern @ 2012-03-03 15:29 UTC (permalink / raw
  To: Arnaldo Carvalho de Melo; +Cc: LKML, Ingo Molnar

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1531 bytes --]

Right. And Ingo committed the kernel side patch. I can only recall those 3 fixes at the moment (first sips into the first cup of coffee :-)).

David

Sent from my ASUS Eee Pad

Arnaldo Carvalho de Melo <acme@ghostprotocols.net> wrote:

>Em Sat, Mar 03, 2012 at 11:04:05AM -0300, Arnaldo Carvalho de Melo escreveu:
>> Em Fri, Mar 02, 2012 at 12:00:01PM -0700, David Ahern escreveu:
>> > Similar to my last email, this patch is not in urgent trees or
>> > Linus' yet the problem exists in Linus' tree:
>> > https://lkml.org/lkml/2012/2/17/82
>> > 
>> > $ /tmp/pbuild/perf record -a  -- sleep 1
>> > [ perf record: Woken up 1 times to write data ]
>> > [ perf record: Captured and wrote 0.319 MB perf.data (~13935 samples) ]
>> > Segmentation fault
>> > 
>> > Root cause is the perf_guest setting.
>> > 
>> > $ /tmp/pbuild/perf --version
>> > perf version 3.3.rc5.60.g203738
>> 
>> This one was tricky, IIRC, weren't follow up patches needed to plug some
>> extra problems?
>
>Yeah, just trying cherry picking it and trying it on an RHEL6.2 kernel
>and it didn't work because older kernels don't have
>attr.exclude_{guest,host}, so I had to also cherrypick:
>
>[acme@sandy linux]$ git cherry-pick
>0c9781280fb672ca09c997df3f14ba506bbdb977
>Finished one cherry-pick.
>[perf/urgent b5f81a4] perf tools: Handle kernels that don't support attr.exclude_{guest,host}
>
>- Arnaldo
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-03 15:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-02 19:00 perf_guest default bug David Ahern
2012-03-03 14:04 ` Arnaldo Carvalho de Melo
2012-03-03 15:19   ` Arnaldo Carvalho de Melo
  -- strict thread matches above, loose matches on Subject: below --
2012-03-03 15:29 David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).