tracing/uprobe: Drop isdigit() check in create_trace_uprobe
authorDmitry Safonov <dsafonov@virtuozzo.com>
Thu, 25 Aug 2016 15:21:09 +0000 (18:21 +0300)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 1 Sep 2016 15:18:09 +0000 (11:18 -0400)
commit5ba8a4a96f6eaa6af88e24c7794f142217aa3b6f
tree030711fc98ed05e5be08a344a1965a28cc6e546b
parent3eab887a55424fc2c27553b7bfe32330df83f7b8
tracing/uprobe: Drop isdigit() check in create_trace_uprobe

It's useless. Before:
  [tracing]# echo 'p:test /a:0x0' >> uprobe_events
  [tracing]# echo 'p:test a:0x0' >> uprobe_events
  -bash: echo: write error: No such file or directory
  [tracing]# echo 'p:test 1:0x0' >> uprobe_events
  -bash: echo: write error: Invalid argument

After:
  [tracing]# echo 'p:test 1:0x0' >> uprobe_events
  -bash: echo: write error: No such file or directory

Link: http://lkml.kernel.org/r/20160825152110.25663-3-dsafonov@virtuozzo.com
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_uprobe.c