aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorDaisuke Ogino <[email protected]>2011-07-26 16:08:37 -0700
committerLinus Torvalds <[email protected]>2011-07-26 16:49:43 -0700
commitd2857e79a2ba7c155eaa1a7d3581c8d26b31e54e (patch)
tree6e008e65884e991c8696de2862166b7a0d603e06 /tools/perf/util/scripting-engines/trace-event-perl.c
parent5296f6d315bdd8f1dc97348b788638327a6ab192 (diff)
procfs: return ENOENT on opening a being-removed proc entry
Change the return value to ENOENT. This return value is then returned when opening the proc entry that have been removed. For example, open("/proc/bus/pci/XX/YY") when the corresponding device is being hot-removed. Signed-off-by: Daisuke Ogino <[email protected]> Cc: Jesse Barnes <[email protected]> Acked-by: Alexey Dobriyan <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions