All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Senozhatsky <sergey.senozhatsky at gmail.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] [Announce] v2.5-rc2
Date: Wed, 13 Nov 2013 00:08:28 +0300	[thread overview]
Message-ID: <20131112210828.GA5709@swordfish> (raw)
In-Reply-To: 20131105123401.5a80d12a@bluebird.jf.intel.com

[-- Attachment #1: Type: text/plain, Size: 3291 bytes --]

On (11/05/13 12:34), Kristen Carlson Accardi wrote:
> > > Thanks for your report, I bisected this issue down to this commit:
> > > commit 2b980e1b36cf6150308a9db07b958726dad36571
> > > Author: Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
> > > Date:   Tue Oct 8 22:35:53 2013 +0300
> > > 
> > >     traceevent: update libtraceevent code base (3.12)
> > > 
> > > Sergey?  See report below for how to duplicate.
> > 
> > hm... big problem, libtraceevent unable to support hrtimers event at
> > the moment with arg construction in TP_printk()
> > 
> 
> OK, I am thinking that we'll consider this a showstopper and delay the
> release of 2.5 until it is fixed if we need to.
> 

Hello,
sorry it took me so long to get back to this.

after short investigation, I don't think we need to postpone 2.5 release.
yes, libtraceevent does not handle nicely
/** nor trace-cmd does
     kworker/1:0-3925  [001]  1626.266585: hrtimer_cancel:       hrtimer=0xffff880157c8df80
               X-2175  [000]  1626.266585: hrtimer_cancel:       hrtimer=0xffff880157c0df80
               X-2175  [000]  1626.266586: hrtimer_expire_entry: [FAILED TO PARSE] hrtimer=0xffff880157c0df80 now=1625348004324 function=0xffffffff810cadf0
     kworker/1:0-3925  [001]  1626.266586: hrtimer_expire_entry: [FAILED TO PARSE] hrtimer=0xffff880157c8df80 now=1625348004320 function=0xffffffff810cadf0
     kworker/1:0-3925  [001]  1626.266591: hrtimer_expire_exit:  hrtimer=0xffff880157c8df80
     kworker/1:0-3925  [001]  1626.266592: hrtimer_start:        [FAILED TO PARSE] hrtimer=0xffff880157c8df80 function=0xffffffff810cadf0 expires=1625352000000 softexpires=1625352000000
               X-2175  [000]  1626.266593: hrtimer_expire_exit:  hrtimer=0xffff880157c0df80
               X-2175  [000]  1626.266594: hrtimer_start:        [FAILED TO PARSE] hrtimer=0xffff880157c0df80 function=0xffffffff810cadf0 expires=1625352000000 softexpires=1625352000000
     kworker/1:0-3925  [001]  1626.266596: timer_cancel:         timer=0xffff880157c8ff28
**/
some of hrtimer events printk format [e.g. hrtimer_expire_entry]

	print fmt: "hrtimer=%p function=%pf now=%llu", REC->hrtimer, REC->function, (unsigned long long)(((ktime_t) { .tv64 = REC->now }).tv64)

having issues with arg construction { .tv64 = REC->now }.tv64 (and that unknown op '{' warning),
however, we're able to parse hrtimer event and to handle it. /* as far as I understand, correct me if I'm wrong */

debug output from do_process perf_process_bundle::handle_trace_point()

[..]
>> hrtimer_expire_exit: pop_consumer: 0
  >> timer done: 0x8683f90 5941
  >> timer created: 0x8683f90 [timer]
>> hrtimer_expire_entry: push_consumer: 0
  >> timer created: 0x8683f90 [timer]
>> hrtimer_expire_entry: push_consumer: 2
>> hrtimer_expire_exit: pop_consumer: 0
  >> timer done: 0x8683f90 9857
>> hrtimer_expire_exit: pop_consumer: 2
  >> timer done: 0x8683f90 12529
  >> timer created: 0x8683f90 [timer]
>> hrtimer_expire_entry: push_consumer: 0
  >> timer created: 0x8683f90 [timer]
>> hrtimer_expire_entry: push_consumer: 2
>> hrtimer_expire_exit: pop_consumer: 0
  >> timer done: 0x8683f90 4481
>> hrtimer_expire_exit: pop_consumer: 2
  >> timer done: 0x8683f90 6535
[..]

any objections?

	-ss

             reply	other threads:[~2013-11-12 21:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-12 21:08 Sergey Senozhatsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-11-12 22:51 [Powertop] [Announce] v2.5-rc2 Kristen Carlson Accardi
2013-11-12 22:12 Sergey Senozhatsky
2013-11-04 18:25 Kristen Carlson Accardi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131112210828.GA5709@swordfish \
    --to=powertop@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.