public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug testsuite/18551] New: the migrate.stp example doesn't work when parameters are inlined
@ 2015-06-17 16:30 dsmith at redhat dot com
  2015-06-17 16:36 ` [Bug testsuite/18551] " dsmith at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2015-06-17 16:30 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=18551

            Bug ID: 18551
           Summary: the migrate.stp example doesn't work when parameters
                    are inlined
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
  Target Milestone: ---

On some kernels (like 3.10.0-229.el7.ppc64), the
testsuite/systemtap.examples/process/migrate.stp example script can't be
compiled because some of the orguments to the __migrate_task() kernel function
can't be found when the function is inlined:

====
# stap -p4 migrate.stp bash
semantic error: not accessible at this address (pc: 0xc00000000011639c) [man
error::dwarf]: identifier '$p' at migrate.stp:22:24
        dieoffset: 0xb07bbd from unknown debug file for kernel
        function: sched_info_queued at kernel/sched/stats.h:103 inlined by
enqueue_task at kernel/sched/core.c:786 inlined by __migrate_task at
kernel/sched/core.c:5102 inlined by migrate_tasks at kernel/sched/core.c:5252
inlined by migration_call at kernel/sched/core.c:5504
        alternative locations: [0xc000000000116450,0xc000000000116540],
[0xc000000000116740,0xc00000000011696c],
[0xc0000000001169a4,0xc0000000001169c4],
[0xc0000000001169d4,0xc0000000001169e0],
[0xc000000000116a2c,0xc000000000116a70]
        source:   comm = kernel_string($p->comm);
                                       ^

Pass 2: analysis failed.  [man error::pass2]
====

However, there is an equivalent tracepoint, called 'sched_migrate_task'
available.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug testsuite/18551] the migrate.stp example doesn't work when parameters are inlined
  2015-06-17 16:30 [Bug testsuite/18551] New: the migrate.stp example doesn't work when parameters are inlined dsmith at redhat dot com
@ 2015-06-17 16:36 ` dsmith at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2015-06-17 16:36 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=18551

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from David Smith <dsmith at redhat dot com> ---
Fixed in commit 141fdab.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

end of thread, other threads:[~2015-06-17 16:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-17 16:30 [Bug testsuite/18551] New: the migrate.stp example doesn't work when parameters are inlined dsmith at redhat dot com
2015-06-17 16:36 ` [Bug testsuite/18551] " dsmith at redhat dot com

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