Skip to contentSkip to conversation

add utrace

PATCH In review [email protected] 2 participants 4 messages Jun 13, 2011 – Jun 16, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add utrace

From: Tom Zanussi <[email protected]>

This adds support for utrace to linux-yocto, for userspace tracing in systemtap.

Please pull into the yocto/base branch linux-yocto.

Pull URL: git://git.pokylinux.org/linux-yocto-2.6.37-contrib
Branch: tzanussi/yocto/base-utrace
Browse: http://git.pokylinux.org/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/yocto/base-utrace

Tom Zanussi (1):
utrace: support for user space probing/tracing

 Documentation/DocBook/Makefile    |    2 +-
 Documentation/DocBook/utrace.tmpl |  589 +++++++++
 fs/proc/array.c                   |    3 +
 include/linux/ptrace.h            |    1 +
 include/linux/sched.h             |    6 +
 include/linux/tracehook.h         |   97 ++-
 include/linux/utrace.h            |  692 +++++++++++
 init/Kconfig                      |    9 +
 kernel/Makefile                   |    1 +
 kernel/fork.c                     |    3 +
 kernel/ptrace.c                   |   16 +-
 kernel/signal.c                   |    4 +-
 kernel/utrace.c                   | 2440 +++++++++++++++++++++++++++++++++++++
 13 files changed, 3853 insertions(+), 10 deletions(-)
 create mode 100644 Documentation/DocBook/utrace.tmpl
 create mode 100644 include/linux/utrace.h
 create mode 100644 kernel/utrace.c
#1 lore raw

PATCH 1/1 utrace: support for user space probing/tracing

From: Tom Zanussi <[email protected]>

Used by SystemTap.

Patch generated by diff of 2.6.37 base and utrace branches of the official utrace git repo at:

git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-utrace.git

---
 Documentation/DocBook/Makefile    |    2 +-
 Documentation/DocBook/utrace.tmpl |  589 +++++++++
 fs/proc/array.c                   |    3 +
 include/linux/ptrace.h            |    1 +
 include/linux/sched.h             |    6 +
 include/linux/tracehook.h         |   97 ++-
 include/linux/utrace.h            |  692 +++++++++++
 init/Kconfig                      |    9 +
 kernel/Makefile                   |    1 +
 kernel/fork.c                     |    3 +
 kernel/ptrace.c                   |   16 +-
 kernel/signal.c                   |    4 +-
 kernel/utrace.c                   | 2440 +++++++++++++++++++++++++++++++++++++
 13 files changed, 3853 insertions(+), 10 deletions(-)
 create mode 100644 Documentation/DocBook/utrace.tmpl
 create mode 100644 include/linux/utrace.h
 create mode 100644 kernel/utrace.c

Patch too large to post, see git branch for details.

#2 lore raw
In reply to [email protected]
Quoted 10 lines · On 06/13/11 10:35, [email protected] wrote:

From: Tom Zanussi<[email protected]>

This adds support for utrace to linux-yocto, for userspace tracing in systemtap.

Please pull into the yocto/base branch linux-yocto.

Pull URL: git://git.pokylinux.org/linux-yocto-2.6.37-contrib
Branch: tzanussi/yocto/base-utrace
Browse: http://git.pokylinux.org/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/yocto/base-utrace

ack'd. These look good. I'm just finishing up the recipe renames for linux-yocto and will start feature merging into the kernel repo shortly. I'd expect to have this in by end of day.

Bruce

Quoted 26 lines

Tom Zanussi (1):
utrace: support for user space probing/tracing

  Documentation/DocBook/Makefile    |    2 +-
  Documentation/DocBook/utrace.tmpl |  589 +++++++++
  fs/proc/array.c                   |    3 +
  include/linux/ptrace.h            |    1 +
  include/linux/sched.h             |    6 +
  include/linux/tracehook.h         |   97 ++-
  include/linux/utrace.h            |  692 +++++++++++
  init/Kconfig                      |    9 +
  kernel/Makefile                   |    1 +
  kernel/fork.c                     |    3 +
  kernel/ptrace.c                   |   16 +-
  kernel/signal.c                   |    4 +-
  kernel/utrace.c                   | 2440 +++++++++++++++++++++++++++++++++++++
  13 files changed, 3853 insertions(+), 10 deletions(-)

create mode 100644 Documentation/DocBook/utrace.tmpl create mode 100644 include/linux/utrace.h create mode 100644 kernel/utrace.c

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#3 lore raw
In reply to [email protected]
Quoted 10 lines · On 06/13/11 10:35, [email protected] wrote:

From: Tom Zanussi<[email protected]>

This adds support for utrace to linux-yocto, for userspace tracing in systemtap.

Please pull into the yocto/base branch linux-yocto.

Pull URL: git://git.pokylinux.org/linux-yocto-2.6.37-contrib
Branch: tzanussi/yocto/base-utrace
Browse: http://git.pokylinux.org/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/yocto/base-utrace

These are merged, and pushed. I put this in a
common location so all BSPs have the changes.

I'm doing some final build testing now, but I'll have a SRCREV update for this later today.

Cheers,

Bruce

Quoted 26 lines

Tom Zanussi (1):
utrace: support for user space probing/tracing

  Documentation/DocBook/Makefile    |    2 +-
  Documentation/DocBook/utrace.tmpl |  589 +++++++++
  fs/proc/array.c                   |    3 +
  include/linux/ptrace.h            |    1 +
  include/linux/sched.h             |    6 +
  include/linux/tracehook.h         |   97 ++-
  include/linux/utrace.h            |  692 +++++++++++
  init/Kconfig                      |    9 +
  kernel/Makefile                   |    1 +
  kernel/fork.c                     |    3 +
  kernel/ptrace.c                   |   16 +-
  kernel/signal.c                   |    4 +-
  kernel/utrace.c                   | 2440 +++++++++++++++++++++++++++++++++++++
  13 files changed, 3853 insertions(+), 10 deletions(-)

create mode 100644 Documentation/DocBook/utrace.tmpl create mode 100644 include/linux/utrace.h create mode 100644 kernel/utrace.c

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto