This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/18551] New: the migrate.stp example doesn't work when parameters are inlined


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]