This is the mail archive of the 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

            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],
        source:   comm = kernel_string($p->comm);

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

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

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]