lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1262803211.28171.3075.camel@gandalf.stny.rr.com>
Date:	Wed, 06 Jan 2010 13:40:11 -0500
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Masami Hiramatsu <mhiramat@...hat.com>
Cc:	Ingo Molnar <mingo@...e.hu>, lkml <linux-kernel@...r.kernel.org>,
	Frederic Weisbecker <fweisbec@...il.com>,
	Arnaldo Carvalho de Melo <acme@...hat.com>,
	systemtap <systemtap@...rces.redhat.com>,
	DLE <dle-develop@...ts.sourceforge.net>
Subject: Re: [PATCH -tip 1/8] tracing/kprobe: Update example output in
 documentation

On Tue, 2010-01-05 at 17:46 -0500, Masami Hiramatsu wrote:
> Update example output in documentation accroding to current
> implementation.
> 
> Signed-off-by: Masami Hiramatsu <mhiramat@...hat.com>
> Cc: Ingo Molnar <mingo@...e.hu>
> Cc: Steven Rostedt <rostedt@...dmis.org>

Acked-by: Steven Rostedt <rostedt@...dmis.org>

-- Steve

> Cc: Frederic Weisbecker <fweisbec@...il.com>
> ---
> 
>  Documentation/trace/kprobetrace.txt |   33 +++++++++++++++++----------------
>  1 files changed, 17 insertions(+), 16 deletions(-)
> 
> diff --git a/Documentation/trace/kprobetrace.txt b/Documentation/trace/kprobetrace.txt
> index 47aabee..c3eff6f 100644
> --- a/Documentation/trace/kprobetrace.txt
> +++ b/Documentation/trace/kprobetrace.txt
> @@ -97,23 +97,24 @@ recording return value as "myretprobe" event.
>  
>    cat /sys/kernel/debug/tracing/events/kprobes/myprobe/format
>  name: myprobe
> -ID: 75
> +ID: 780
>  format:
> -	field:unsigned short common_type;	offset:0;	size:2;
> -	field:unsigned char common_flags;	offset:2;	size:1;
> -	field:unsigned char common_preempt_count;	offset:3;	size:1;
> -	field:int common_pid;	offset:4;	size:4;
> -	field:int common_tgid;	offset:8;	size:4;
> -
> -	field: unsigned long ip;	offset:16;tsize:8;
> -	field: int nargs;	offset:24;tsize:4;
> -	field: unsigned long dfd;	offset:32;tsize:8;
> -	field: unsigned long filename;	offset:40;tsize:8;
> -	field: unsigned long flags;	offset:48;tsize:8;
> -	field: unsigned long mode;	offset:56;tsize:8;
> -
> -print fmt: "(%lx) dfd=%lx filename=%lx flags=%lx mode=%lx", REC->ip, REC->dfd, REC->filename, REC->flags, REC->mode
> -
> +        field:unsigned short common_type;       offset:0;       size:2; signed:0;
> +        field:unsigned char common_flags;       offset:2;       size:1; signed:0;
> +        field:unsigned char common_preempt_count;       offset:3; size:1;signed:0;
> +        field:int common_pid;   offset:4;       size:4; signed:1;
> +        field:int common_lock_depth;    offset:8;       size:4; signed:1;
> +
> +        field:unsigned long __probe_ip; offset:12;      size:4; signed:0;
> +        field:int __probe_nargs;        offset:16;      size:4; signed:1;
> +        field:unsigned long dfd;        offset:20;      size:4; signed:0;
> +        field:unsigned long filename;   offset:24;      size:4; signed:0;
> +        field:unsigned long flags;      offset:28;      size:4; signed:0;
> +        field:unsigned long mode;       offset:32;      size:4; signed:0;
> +
> +
> +print fmt: "(%lx) dfd=%lx filename=%lx flags=%lx mode=%lx", REC->__probe_ip,
> +REC->dfd, REC->filename, REC->flags, REC->mode
>  
>   You can see that the event has 4 arguments as in the expressions you specified.
>  
> 
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ