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] [day] [month] [year] [list]
Date:	Sun, 05 Sep 2010 10:08:17 +0300
From:	Avi Kivity <avi@...hat.com>
To:	Steven Rostedt <rostedt@...dmis.org>
CC:	linux-kernel <linux-kernel@...r.kernel.org>,
	KVM list <kvm@...r.kernel.org>
Subject: Re: kernelshark plugins and ftrace array fields

  On 09/02/2010 10:24 PM, Steven Rostedt wrote:
>
> I just pushed out the changes and my new example looks like this:
>
> static int
> kvm_emulate_insn_handler(struct trace_seq *s, struct record *record,
>                           struct event_format *event, void *context)
> {
>          unsigned char *data;
>          int len;
>          int i;
>
>          data = pevent_get_field_raw(s, event, "insn", record,
>                                      &len, 1);
>          if (!data)
>                  return -1;
>
>          trace_seq_puts(s, "insn: ");
>          for (i = 0; i<  len; i++) {
>                  trace_seq_printf(s, "%s%02x",
>                                   i ? "," : "",
>                                   data[i]);
>          }
>
>          return 0;
> }
>

That looks perfect.  But on which branch can I find it?

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
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