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]
Date:	Fri, 09 Jan 2015 08:06:00 -0700
From:	David Ahern <dsahern@...il.com>
To:	Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>,
	Jiri Olsa <jolsa@...hat.com>
CC:	Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
	Namhyung Kim <namhyung@...nel.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [BUG] perf probe can't insert return kprobe

On 1/9/15 8:03 AM, Arnaldo Carvalho de Melo wrote:
> Em Fri, Jan 09, 2015 at 03:55:39PM +0100, Jiri Olsa escreveu:
>> hi,
>> I couldn't use following perf command to insert return probe:
>>
>>    # perf probe -a fork_exit=do_fork%return
>>    Added new event:
>>    Failed to write event: Invalid argument
>>      Error: Failed to add events.
>
> Wonder if we have any way of forcing 'perf probe' to show what it will
> feed the kernel, perhaps -v?

# strace -e write perf probe -a fork_exit=do_fork%return
write(1, "Added new event:\n", 17Added new event:
)      = 17
write(3, "r:probe/fork_exit do_fork+0", 27) = 27

Would be nice to add the output to perf -v though.

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