Re: [PATCH v2 2.6.38-rc8-tip 0/20] 0: Inode based uprobes

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

 



On Mon, 14 Mar 2011, Frank Ch. Eigler wrote:
> akpm wrote:
> 
> > [...]  How do you envisage these features actually get used?
> 
> Patch #20/20 in the set includes an ftrace-flavoured debugfs frontend.

And you really think that:

# cd /sys/kernel/debug/tracing/

# cat /proc/`pgrep  zsh`/maps | grep /bin/zsh | grep r-xp
00400000-0048a000 r-xp 00000000 08:03 130904 /bin/zsh

# objdump -T /bin/zsh | grep -w zfree
0000000000446420 g    DF .text  0000000000000012  Base        zfree

# echo 'p /bin/zsh:0x46420 %ip %ax' > uprobe_events

# cat uprobe_events
p:uprobes/p_zsh_0x46420 /bin/zsh:0x0000000000046420

> TODO: Documentation/trace/uprobetrace.txt

without a reasonable documentation how to use that is a brilliant
argument?

> Previous versions of the patchset included perf front-ends too, which
> are probably to be seen again.

Ahh, probably. What does that mean?

     And if that probably happens, what interface is that supposed to
     use?

	The above magic wrapped into perf ?

	Or some sensible implementation ?

Thanks,

	tglx

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]