Re: [PATCH v2 0/3] Initial trace-cmd support for ftrace uprobes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 16 Sep 2020 14:47:06 +0300
"Tzvetomir Stoyanov (VMware)" <tz.stoyanov@xxxxxxxxx> wrote:

> Ftrace supports uprobes - trace events on user space applications.
> Trace-cmd cannot configure uprobes, in order to support it this new
> functionality is introduced: 
>  - Function name to file offset mapping, this information is extracted
>   from the dwarf and ELF headers in the binary file.
>  - New options are added to "trace-cmd record" for setting a uprobe:
>     --uprobe file:function
>     --uprobe-ret file:function

Thanks Tzvetomir,

I'll take a look at this.

-- Steve

> 
> Tzvetomir Stoyanov (VMware) (3):
>   trace-cmd: Internal refactoring of pid address map logic
>   trace-cmd: New internal APIs for reading ELF header
>   trace-cmd: [POC] Add support for uprobes
> 
>  Makefile                       |  10 +
>  include/trace-cmd/trace-cmd.h  |   9 +
>  tracecmd/Makefile              |   2 +
>  tracecmd/include/trace-local.h |  49 +-
>  tracecmd/trace-obj-debug.c     | 823 +++++++++++++++++++++++++++++++++
>  tracecmd/trace-record.c        | 193 ++++----
>  tracecmd/trace-uprobes.c       | 221 +++++++++
>  tracecmd/trace-usage.c         |   4 +
>  8 files changed, 1197 insertions(+), 114 deletions(-)
>  create mode 100644 tracecmd/trace-obj-debug.c
>  create mode 100644 tracecmd/trace-uprobes.c
> 




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux